Live data from Hacker News

Zig ELF Linker Improvements Devlog

ziglang.org

1–10 of 105 posts

Re: Zig ELF Linker Improvements Devlog

#4

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

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/

Re: Zig ELF Linker Improvements Devlog

#5
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.

Re: Zig ELF Linker Improvements Devlog

#9

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

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 wo…

I'm very glad to see the work, thank you for all of the efforts.

Re: Zig ELF Linker Improvements Devlog

#10
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?

Post reply on HN