Hacker News new | ask | show | jobs
by qwertycodepl 391 days 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!

1 comments

Honestly, I would drop calling compiler altogether -- it's just not a compiler. It doesn't make it any less cool though!
Blame bun's --compile flag: https://bun.sh/docs/bundler/executables

We're probably going to have to live with "compiler" meaning "bundler" as an ongoing JavaScript-world neologism.

yeah 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!
Sometimes 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}".
But it's definitely not a compiler! I think "Astra - a new js2exe bundler" is much less ambiguous because it's... a bundler!