Zig ELF Linker Improvements Devlog

ziglang.org

75 points by kristoff_it 2 hours ago


bpavuk - an hour 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. even Andrew's initial dream - to create a DAW with uncompromising UX - will become much easier to create. once someone creates a Zig-native immediate-mode or reactive UI framework, that is.

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

teabee89 - an hour 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!

derefr - 38 minutes ago

So, this linker does fast incremental linking, which is great for development iteration speed.

But I assume that any kind of incremental linking, is mutually exclusive with link-time optimization? I.e. you'd never want to use this option for a release build?

quikoa - an hour ago

These improvements are quite promising and I'm looking forward to giving that a spin once it is released.

Will the Windows side for 0.17.x get some compiler improvements as well or is this Linux only?

bcardarella - an hour ago

I wonder how much this work being pushed forward right now is a response to the Bun drama.