Re:Bun: Fast JavaScript runtime, transpiler, and NPM client ...
by deepstack on Wednesday July 06, 2022 @06:33AM
(#31999036)
however that fact that it is NOT using V8 is quite refreshing change. We need diversity in the JS eco system other than google v8. Didn't realize JavascriptCore is faster than v8.
[ Parent
| on HN ]
Re:Bun: Fast JavaScript runtime, transpiler, and NPM client ...
by 3836293648 on Wednesday July 06, 2022 @09:20AM
(#32000426)
To be fair they only said it starts faster than V8, nothing was said on runtime performance
Re:Bun: Fast JavaScript runtime, transpiler, and NPM client ...
by speed_spread on Wednesday July 06, 2022 @10:36AM
(#32001645)
This is the same weak argument that's being used to sell native compilation on Java. Tons of graphics showing startup time improvement, never a word on what happens after. But the only cases where this metric makes a real difference are CLI utilities and Serverless (if you know others, please tell me)
Re:Bun: Fast JavaScript runtime, transpiler, and NPM client ...
by stolsvik on Wednesday July 06, 2022 @05:18PM
(#32006947)
That’s not true, as far as I've read. I feel it is spelled out pretty thoroughly: Startup time and memory footprint are way lower, but peak performance is also lower: JIT outperforms static compilation due to it having more information. There are some tools to gather such information by running the program for a while, gathering stats, but JIT still outperforms.