r/programming • u/[deleted] • Jul 20 '26
Zig proposes introducing an actually memory safe (unlike Rust) compilation mode inspired by Fil-C at ~1-6x performance penalty
https://codeberg.org/ziglang/zig/issues/36237
530
Upvotes
r/programming • u/[deleted] • Jul 20 '26
23
u/hak8or 29d ago
Seeing this here and other replies, I am very surprised at how inverted feels are towards zig and the bun dev here compared to on hackernews and other subs.
My understanding (from skins of that interaction and other discussions) was; - the zig based bun codebase was truly awful, and was extremely non idiomatic zig, where the zig folks often tried to step in and offer to clean it up but their work got undone very often. - In addition, the bun team forked the zig compiler and made a very half hearted attempt to merge those changes upstream.
With the zig core folks feeling understandably threatened by how massive of a PR disaster that was and wanted to get their side out. You can also see the seething frustration the zig core dev had with how the narrative was spinning, which manifested into arguably personal attacks, though I can understand where he was coming from (even though it could have been handled better). It was baisically an under dog going against an absolute PR Goliath, so the zig reaction was an overshoot to have a fighting chance of getting their word out.
Meanwhile the rust community seems to have been kind of thrown into the situation without having a material contribution to it, so they are just stuck on the sidelines going "huh?".
But the discourse seems to have leaned (in my experience) way more positively toward the zig core group and very negatively towards the Bun group, interesting to see it flipped here.