24 ms·
/s ? Bun is not yet (ever?) compatible with Node. I'm sure if Node JS could trim the fat with breaking changes they'd be fast too
by HatchedLake721 5mo ago
/s ? Bun is not yet (ever?) compatible with Node. I'm sure if Node JS could trim the fat with breaking changes they'd be fast too
- bel8 5mo agoI expect bun to run almost everything that node runs these days. They have an extensive test suit to ensure that. Even the complicated NextJS runs with Bun: https://nextjs.org/conf/session/nextjs-bun https://nextjs.org/conf/session/nextjs-bun Do you have a source for your claim?
- vichle 5mo agoMaybe if you start from scratch with a new project, but when migrating an old project it's definitely not a drop-in replacement. I try once or twice per year, but it's not worth the effort when the upside isn't that big.
- deleted 5mo ago[deleted]
- notnullorvoid 5mo agoIn my testing Bun wasn't much faster most of the time, usually on par for all non-IO related stuff, and there were some cases with scheduling where Bun was noticable slower.
- xkcd-sucks 5mo agoHonest question, what isn't compatible? Where I work we've simply replaced node with bun across a lot of overcomplicated + crappy projects, and on my work+personal computers I alias bun/bunx to node/npx with seemingly no issues at all