4 ms·
Thanks for the feedback! You're right - Astra is technically a bundler-to-executable tool, not a source-level compiler like Babel or TypeScript. I called it a
by qwertycodepl 1y ago
Thanks for the feedback! You're right - Astra is technically a bundler-to-executable tool, not a source-level compiler like Babel or TypeScript.
I called it a “compiler” in the sense that it transforms a JS project into a standalone .exe, similar to how tools like pkg or nexe are often described. That said, I’ll consider clarifying that in the description to avoid confusion. Appreciate the comment!
- ymsodev 1y agoHonestly, I would drop calling compiler altogether -- it's just not a compiler. It doesn't make it any less cool though!
- qwertycodepl 1y agoyeah it's not but i don't know how to call it. if i say it's bundler it will be more confusing in my opinion. waiting for your suggestions!
- zamadatix 1y agoSometimes the term "packager" is used instead of "bundler". Honestly though, "compiler" is the term most likely to cause any confusion. Even if one is not familiar with packagers/bundlers "js to exe ${unknown phrase}" still conveys things more clearly than "js to exe ${misleading phrase}".
- belmarca 1y agoBut it's definitely not a compiler! I think "Astra - a new js2exe bundler" is much less ambiguous because it's... a bundler!
- qwertycodepl 1y agohttps://astra-js.netlify.app/cli/faq/#thats-not-a-compiler-thats-a-bundler https://astra-js.netlify.app/cli/faq/#thats-not-a-compiler-t...
- quotemstr 1y agoBlame bun's --compile flag: https://bun.sh/docs/bundler/executables https://bun.sh/docs/bundler/executables We're probably going to have to live with "compiler" meaning "bundler" as an ongoing JavaScript-world neologism.