I like this tech "fights" (evolutions). Even if bun will not overtake node, it will make node better. We see this many times with other projects (js/coffeescript/typescript/..., php/HHVM/HPHPc, webpack/vite/...)
> Even if bun will not overtake node... Why wouldn't bun , if it keeps its performance promises on its way to 100% node compatibility? I am intently keeping tabs on bun 's progress because a better-engineered, faster, and leaner node-compatible runtime means $$ saved in server costs. Besides, from the effort going into bun , it looks like the node community has its work cut out.
Bun 0.3
51–60 of 64 posts
Re: Bun 0.3
#52Looks awesome. Gotta say, the built in testing, websockets, and file system router are exciting to see. Is anyone using bun in production? Would love to hear your experience.
It’s early days, so I definitely miss some things— like a REPL.
I gotta say, though, it’s a good feeling when you deploy a zero-dependency TypeScript application complete with tests.
Re: Bun 0.3
#53I work on Bun happy to answer any questions or feedback
import { inflate } from "https://www.example.org/libs/zlib.ts"
with bun downloading all dependencies in the background. Like Deno does.[1][1] https://deno.land/manual@v1.28.3/basics/modules#remote-impor...
Re: Bun 0.3
#54I work on Bun happy to answer any questions or feedback
How has Zig been for you in this regard? Do you have any regrets building your company’s flagship software around it at this stage?
Re: Bun 0.3
#55Does anyone know if there's a TypeScript runtime that compiles/runs TypeScript directly instead of going through the JS/ECMAScript intermediary?
And if the type hints aren't useful for the runtime, then there's no real reason to enforce that they be present. A Typescript runtime that ignores types is just a Javascript runtime with a more pedantic syntax, and if you're going to that effort, you may as well support both.
Re: Bun 0.3
#56Earlier quoted context omitted.
Happened with node via io.js back in the day too
Hadn't heard of io.js before but from reading up on it it seems to be a unique case since they had the explicit goal of merging back into node eventually. Can't really find what the main benefits of io.js are though...
Re: Bun 0.3
#57I work on Bun happy to answer any questions or feedback
- Compiling to a single binary
- WASM
Re: Bun 0.3
#58I work on Bun happy to answer any questions or feedback
I’m starting a project that requires a lower level language. Ideally I have tighter control of memory and no GC. I want to move fast and be safe. Go gives me the speed of development I desire, but is a little higher level than this project calls for. Rust is in theory the right choice, but my development speed is like molasses. Given I hope for this project to turn into a company I seek VC backing for, I’m uncomforta…
I was seriously looking at Zig, but I'm always getting faster in Rust and it feels like the downsides of extra complexity is well worth the upsides for larger projects.
Re: Bun 0.3
#59Re: Bun 0.3
#60I work on Bun happy to answer any questions or feedback
Thanks for all you do to make the ecosystem better, btw.