5 ms·
Bun v1.1.22
- ibash 2y agoThank you for bun! Makes it much easier to add small focused typescript tools to a production monorepo, because there’s no dance and shake to start developing. Phenomenal!
- abetusk 2y ago[flagged]
- deleted 2y ago[deleted]
- vlovich123 2y agoNo, it's a JS runtime based on WebKit's JavaScriptCore JS engine. Performance claims should be taken with a grain of salt and are less likely to be the result of the JS engine itself and more likely to be with some specific architectural choices (e.g. implementing certain things in native code instead of JS, better parallelism, more efficient event loop, etc etc). JS Platform = all the bits that make up the capabilities the JS code can access when it calls various APIs provided by the "platform" that connects to the OS. JS engine = the thing that implements parsing & executing the JS code as defined by various standards (e.g. ECMA2022) and implements a very small subset of APIs those standards define (e.g. how String and ByteArray work).
- ben-schaaf 2y agoNote Bun is a runtime environment using the JavaScriptCore engine from WebKit/Safari. Node uses V8 (chrome) which was a little faster in benchmarks last I checked. Where Bun claims performance is in all the system APIs like reading a file, running a http server, etc.
- Jarred 2y agoBun is a JavaScript runtime, bundler, transpiler, npm package manager, and test runner all-in-one. It isn't accurate to say Bun is a JavaScript engine. We use JavaScriptCore as the engine, which is the same engine used by Safari (WebKit). The engine is responsible for running the code and a number of language APIs (Array, Object, Number, RegExp, etc). The runtime is responsible for things like I/O, filesystem access, the event loop, and implementing a very large number of non-language APIs and modules
- deleted 2y ago[deleted]
- Jarred 2y agoI work on Bun. Happy to answer any questions
- hu3 2y agoBun is great! What is Bun team next big goal? I mean, what is the team cooking up?
- casper14 2y agoWhat would a Bun v2 look like in your view?
- rglover 2y agoWhat's the long-term plan for a business model? The only hesitation I have for buying into Bun is not knowing whether it's on a long-term track (i.e., is there a post-funding reality for Bun or is that TBD).
- hsavit1 2y agowhen will bun officially catch up to node?
- Scryptonite 2y agoNo question, just want to say Bun is awesome and thank you. (minor nit: release article says "Uint8Array.prototype.fromBase64()" when it's actually "Uint8Array.fromBase64()" per the code sample. Same for .fromHex)
- atonse 2y agoI’ve been using bun with NextJS 14 and it’s worked really well the last few months. So well in fact that I forgot that the lack of stack traces was due to Bun. I forgot NextJS even gives you stack traces in the browser, it’s been that long. I’m going to upgrade ASAP just for that feature. I still have to run npm run build for nextjs to ensure it’ll work in Vercel because there are the occasional errors that were only caught during a deploy.
- deleted 2y ago[deleted]