logoalt Hacker News

Buttons840 • today at 2:26 PM • 4 replies • view on HN

Bun always seemed weird because they decided to build it with Zig. I want Zig to succeed, but it's not stable yet.

It reminds me of game engines. If you want to make a game engine, there's nothing wrong with that, but you should acknowledge that you're building a game engine, not a game--or rather, if your goal is to make a game, starting by making a game engine probably isn't optimal.

It's the same for Bun. It's clear that they wanted to build a JavaScript runtime, and also they wanted to use Zig. They are doing both of these things, but when push comes to shove, their desire to use Zig was more important than their desire to make a JavaScript runtime, I believe.


Replies

neuronexmachina • today at 3:18 PM

As of bun 1.4, it's all rewritten in rust instead of zig: https://bun.com/blog/bun-v1.4

kaliqt • today at 2:30 PM

Bun was converted fully into Rust overnight, works fine so far.

croes • today at 2:29 PM

Didn’t they switch to Rust?