News for hackers. Stuff that matters.
Re:Bun 0.3 by adam_arthur on Wednesday December 07, 2022 @01:53PM (#33898495)
What's the target level of compatibility with existing npm modules? 100%? Some lower percentile?

Hate to carry forward baggage of past design choices, but likely essential to really get widespread adoption. I'd definitely start using Bun for my projects today (non-production), if it works seamlessly with existing packages.

Re:Bun 0.3 by Jarred on Wednesday December 07, 2022 @02:18PM (#33898854)
We want Bun to feel more like an upgrade from Node than switching runtimes

Basically everything that doesn’t rely on node’s internal “bindings” C++ stuff should eventually be supported

Re:Bun 0.3 by petre on Wednesday December 07, 2022 @03:29PM (#33899803)
Will bun perpetuate the dependency hell that it prevalent with node? I like the deno approach better in this regard.

Are there any install methods other than piping curl into bash? Like packages.

Re:Bun 0.3 by nine_k on Wednesday December 07, 2022 @02:04PM (#33898664)
I suppose a compatibility shim for features that should not go into the new core could work. It would have a performance cost, but as long as this cost is limited to some deprecated APIs it would be OK.
Re:Bun 0.3 by adam_arthur on Wednesday December 07, 2022 @02:06PM (#33898691)
Yeah, a compatibility branch or a build time cross compatibility compiler would suffice.