3 ms·
> and it has started supporting TypeScript out of the box Node only does type stripping though. If you want proper TS support you still need a compiler. > I d
by pier25 6mo ago
> and it has started supporting TypeScript out of the box
Node only does type stripping though. If you want proper TS support you still need a compiler.
> I don’t think Bun will have many advantages after Node 26
There are tons of advantages. For instance, Bun includes a lot of features that would need a third party dependency in Node: db driver, S3 client, watch mode, bundler, JSX support, etc.
- dgellow 6mo agoWhy would you want DB drivers and S3 clients in your runtime? That’s exactly what 3rd parties are for, you don’t want to have to update your runtime for a new version of your drivers
- tpetry 6mo agoAnd a bug in a dependency you can fix easily. One in the runtime is much harder to fix and you then must compile new versions.
- NetMageSCW 6mo agoAnd a supply chain attack is much easier with too many dependencies as well.
- pier25 6mo agoEvery approach has its pros and cons. OTOH the less you rely on third party deps, the less attack surface.