3 ms·
Bun is such a great runtime. If you haven't tried it, try it. It's got bells and whistles. This will make sure Bun is around for many, many, years to come. Tha
by reactordev 11mo ago
Bun is such a great runtime. If you haven't tried it, try it. It's got bells and whistles.
This will make sure Bun is around for many, many, years to come. Thanks Anthropic.
Why Bun?
Easy to setup and go. bun run <something.ts>
Bells and whistles. (SQL, Router, SPA, JSX, Bundling, Binaries, Streams, Sockets, S3)
Typescript Supported. (No need to tsc, bun can transpile for you)
Binary builds. (single executables for easy deployment)
Full Node.js Support. (The whole API)
Full NPM Support. (All the packages)
Native modules. (90% and getting better thanks to Zig's interop)
S3 File / SQL Builtin. (Blazingly Fast!)
You should try it. Yes, others do these things too, but we're talking about Bun.
- dawnerd 11mo ago> This will make sure Bun is around for many, many, years to come. Well, until the bubble bursts and Anthropic fizzles out or gets acquired themselves.
- croes 11mo agoDoes it have permission flags yet like deno has?
- johncolanduoni 11mo agoI’ve never understood the security utility of the Deno flags. What practical attack would they protect you from? Supply chain seems to be the idea, but how many npm packages do people use that neither: * Get run by devs with filesystem permissions * Get bundled into production
- croes 11mo agoNot all applications need file system access during runtime.
- mtoner23 11mo agoIt'll be around until they realize it makes 0$, and costs them millions per year in salaries/stock. then it will quietly die
- oheyadam 11mo agoYou think they wouldn't have done that napkin math before deciding to acquire it?
- reactordev 11mo agoAnthropic uses a lot of bun. In fact, they bet the farm on it.
- tpetry 11mo agoIts not 100% nodejs compatible. I see enough non-green dots in their own official report https://bun.com/docs/runtime/nodejs-compat https://bun.com/docs/runtime/nodejs-compat And even in packages with full support you can find many github issues that bun behaves directly which leads to some bugs.
- reactordev 11mo agoNot saying it’s 100%, there’s still the repl missing but all of node’s API is available in the sense that it’s ABI compatible (or will be very near term).