2 comments

  • flooow16 minutes ago
    I imagine it&#x27;s a difficult time to be a Zig developer.<p>In the near term, Bun choosing to switch from Zig to Rust specifically to fix all the memory errors seems to have done the Zig community some psychological damage.<p>But more significantly, in the medium term it looks likely that AI coding is going to overtake the industry before Zig gets properly established. And it is going to be very hard to justify choosing Zig for your sloppy-but-functional AI-written code - why open yourself up to memory unsafety on top of everything else? Further, the Zig community appears to value a hand-crafted, &#x27;artisanal&#x27; approach to software development, which is the very antithesis of vibecoding.<p>I have no particular interest in Zig as a language but definitely feel some empathy here. The industry is changing in ways that many of us are struggling to process.
    • dnautics13 minutes ago
      &gt; before Zig gets properly established.<p>zig is reasonably established. the llms write pretty good zig. see project linked below which is almost entirely llm-written<p>&gt; And it is going to be very hard to justify choosing Zig for your sloppy-but-functional AI-written code<p>why? because one project that was shipping fast made a dog&#x27;s breakfast of it?<p>&gt; why open yourself up to memory unsafety on top of everything else?<p>this can be addressed by third parties in the reasonable near-term. for example:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;ityonemo&#x2F;clr" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ityonemo&#x2F;clr</a><p>the zig team says that in the future stabilizing the IR and providing an API will happen.<p>fwiw in the process of building this project the llms have never once written a memory safety error in the &quot;lib&quot; section (in the src section there was a lot of tripping over segfaults since memory mapping datatypes accessed by a dylib can get hairy)
  • randypewick3 days ago
    Damn this person&#x27;s obviously is so bitter towards Rust... I wonder why he&#x27;s so obsessed with it?<p>I mean, if they really care about software correctness, I wonder why take a very discutibile position and say that &quot;safety doesn&#x27;t matter if you don&#x27;t use the correct process&quot;. Yeah, I mean, having some guardrails is better than none, right? If they really cared about correctness, they would really strive to put all the possible guardrails in place, wouldn&#x27;t they? Maybe they are bitter because their fav language is not as popular as the other?<p>But there are so many languages, I wonder why picking on Rust specifically.
    • raincole20 minutes ago
      I don&#x27;t get it. Are we reading the same article? This article is so generic that it reads like vacuous truth to me. But I don&#x27;t see their bitterness towards Rust (or anything, really. It&#x27;s just vacuous.) from it. Is this person a famous anti-rust&#x27;er or something?
      • darkwater5 minutes ago
        But it links to this post<p><a href="https:&#x2F;&#x2F;joshlf.com&#x2F;posts&#x2F;memory-safety-life-and-death&#x2F;" rel="nofollow">https:&#x2F;&#x2F;joshlf.com&#x2F;posts&#x2F;memory-safety-life-and-death&#x2F;</a><p>Under a &quot;it doesn&#x27;t matter it&#x27;s memory-safe if...&quot;
      • bigyabai12 minutes ago
        &gt; It doesn’t matter that the language you use is memory-safe<p>&gt; nobody can trick me into mistaking lesser stars for my true destination<p>The author seems to be in some level of denial around compile-time safety checks. They&#x27;re right that runtime safety errors are an issue, but it feels wrong to discount compile time checkers when it can save a lot of yak shaving.
    • mobelkh1 hour ago
      the piece didn&#x27;t really seem very targeted at Rust as much as it&#x27;s targeted at projects claiming to be secure just because they&#x27;re written in Rust
    • ares6231 hour ago
      from his about page: &quot;I&#x27;m VP of Community at the Zig Software Foundation&quot;<p>EDIT: doesn&#x27;t really answer your question. Just reminds me of a good ol&#x27; flamewar.
    • worik1 hour ago
      &gt; Damn this person&#x27;s obviously is so bitter towards Rust<p>What makes you think that?<p>&gt; I wonder why picking on Rust specifically.<p>I did not see that. What did I miss?