I don't know how different it is, but my guess is mostly that Node.js uses v8 and bun uses JavascriptCore.
Am I misinterpreting or does it sound a bit arrogant as a response?
Re:Bun v0.7.0
by kissgyorgy on Saturday July 22, 2023 @06:16AM
(#36824979)
Yes, you are misinterpreting it.
The heap size grows faster & stays larger in the default configuration, adjusted for the amount of memory the computer has
We might enable —smol by default though.
The garbage collector configuration in JavaScriptCore is still kind of a mystery to me. I think we would ideally have something in-between —smol and default. I expect we will fiddle with this more shortly before or after 1.0
OK thanks. Is that noted on the Bun site? Sounds like an FAQ.
Re:Bun v0.7.0
by foo_bar_2000 on Saturday July 22, 2023 @08:13AM
(#36825560)
Use v8 (node/deno) if JSC (bun) doesn't suit you
https://medium.com/walmartglobaltech/react-native-memory-pro...
Using more memory to increase performance is a good thing. All software should be doing it, especially one that is meant to run server-side. Who cares if Bun takes a couple hundred MBs extra? It is also like 5-20x faster than Node for basic tasks.
> Who cares if Bun takes a couple hundred MBs extra (which is worth like $0.20)?
Users of a software whose author decided to use tool that only cares about server side.
I'm also wondering if some old benchmarks could now be irrelevant.