logoalt Hacker News

outpost_mystic2today at 1:03 PM1 replyview on HN

I think I'm missing something; neither zig nor rust are GC languages. Did bun originally start off in javascript or something, and the rewrite you're referring to is from JS to zig?


Replies

JurassicTylertoday at 1:18 PM

First line of the original article (not including the disclosure)

> Bun started as a line-for-line port of esbuild's JavaScript & TypeScript transpiler from Go to Zig

Then proceeded to talk about use after free bugs, leaks, and other things that wouldn't exist in GC written programs. Ironically, my friend jared lowballed is an expert in C, runtimes and threading