4 ms·
Bun is not a JavaScript interpreter, it's "only" a reimplementation of the NodeJS library + various other libraries. Bun uses JavaScriptCore as its JS engine. S
by mort96 5mo ago
Bun is not a JavaScript interpreter, it's "only" a reimplementation of the NodeJS library + various other libraries. Bun uses JavaScriptCore as its JS engine. So Bun itself does (or at least should do) no JavaScript parsing, interpreting or JITing.
EDIT: I misread, sorry! You said "JavaScript interpreter wrapper", which is correct.
- iainmerrick 5mo agoThat’s what they said - “JavaScript interpreter wrapper”.
- mort96 5mo agoYou're right, sorry! I completely missed the word "wrapper" somehow.
- vitaminCPP 5mo agoNo worries. :)
- runjake 5mo agoNo, it does parsing and a bunch more. The Bun founder says it best in this comment: "Bun is a batteries-included JavaScript & CSS transpiler (parser), minifier, bundler, npm-like package manager, Jest-like test runner, as well as runtime APIs like a builtin Postgres, MySQL and Redis client. This is naturally a ton of code." https://news.ycombinator.com/item?id=48140921 https://news.ycombinator.com/item?id=48140921
- easterncalculus 5mo agoBun is now almost twice the size of JavaScriptCore, too, by linecount after this. This is the 'world class' engineering that Jarred claims he can't hire Americans to do, by the way https://x.com/jarredsumner/status/1969751721737077247 https://x.com/jarredsumner/status/1969751721737077247. This company is parasitic to its literal (javascript) core.