Zig ELF Linker Improvements Devlog
41 points by kristoff_it 51 minutes ago | 4 comments

bpavuk 36 seconds ago
I am so used to thinking that Zig, Rust, and the likes are only viable in niches where C is viable, but no. not anymore at least - once this linker and incremental compilation on other targets land, Zig will become THE C replacement and that will let me iterate at the speed of JS or Python with performance of C or Rust.

I am still a little salty about `@cImport` removal, though! without it, I can't confidently call it "Kotlin of C" anymore.

reply
teabee89 23 minutes ago
This is the promise that blew my mind the first time I heard about Zig years ago. So happy to see this become reality!
reply
bcardarella 10 minutes ago
I wonder how much this work being pushed forward right now is a response to the Bun drama.
reply
kristoff_it 2 minutes ago
None of it, we've been working on this stuff for a long time already, scroll the devlog backwards, you will find plenty of entries on that topic.

It's the opposite: people have become more receptive to communication about this work now that there's "drama" attached to it.

This post I co-authored with Andrew is from 2020. In it we announce the idea of getting rid of LLVM from the debug build pipeline and since then work has been steadily going forward, it's just not trivial to bootstrap a full compiler pipeline for all major targets, but we're finally getting there.

https://kristoff.it/blog/zig-new-relationship-llvm/

reply