News for hackers. Stuff that matters.
Re:Bun v1.0.0 by silverwind on Saturday September 09, 2023 @04:36PM (#37450027)
Why go to such lengths to support a legacy module system?

All three patches mentioned will lead to modules that work only in bun and not work in node/deno/browsers, further fragmentating the ecosystem.

Re:Bun v1.0.0 by The_Colonel on Sunday September 10, 2023 @10:52AM (#37456354)
It's a legacy module system with a lot of code written in it. Without mixed support, you can't rewrite code incrementally to use the ES modules. As a consequence, many projects still stay with CommonJS, since the migrating everythin in one go is a big hurdle.