9 comments

  • ngrilly 1 hour ago
    Why use Basel instead of Zig build tools, as it’s all written in Zig anyway?
    • ahoka 37 minutes ago
      That was in the prompt.
  • maxpert 9 hours ago
    I did a similar thing few days back just not with NATS protocol (Made it pure websocket based), and with rust. Couple of questions:

    - Where did you get the machine to test your server on?

    - Why did you end up going with zig?

    • dorianniemiec 45 minutes ago
      I'm also building a network server with thread-per-core and io_uring, except it's a web server, it's written in Rust, and io_uring is provided by a fork of Monoio runtime (I forked it to make it work with Windows and FreeBSD).
    • jbaptiste 3 hours ago
      My personal rig and Zig because I worked with it for a little more than a year. It was a fun test to do.
    • simlevesque 6 hours ago
      Anyone can buy a 9950x on Amazon or any tech store, it's consumer hardware.
      • littlestymaar 4 hours ago
        Given that this entire project is a single[1] vibe-coded commit, I really doubt the author bothered buying hardware to test it.

        [1]: https://github.com/bustermq/bustermq/commits/master/

        • speedgoose 1 hour ago
          Who cares whether it’s vibe coded ? As long as it’s good and well maintained over time of course.

          Maybe there is a niche market for artisanal software engineering where real humans make holes in punchcards, but I would not bet.

          • littlestymaar 29 minutes ago
            > Who cares whether it’s vibe coded ? As long as it’s good and well maintained over time of course

            Maybe 12 hours after the first commit is a bit early to be confident about that…

            > Maybe there is a niche market for artisanal software engineering where real humans make holes in punchcards, but I would not bet

            Or maybe there exist a world between punchcards and evening AI slop “projects”, who knows.

        • steeve 2 hours ago
          it's not vide coded though, that's the second time you're saying it, get lost
          • whilenot-dev 1 hour ago
            You and OP both work for the same "High Performance AI Inference" company, you might want to disclose that.

            EDIT: and while you're at it, you might also want to work on your attitude. "you idiot", "get lost" and "you need to touch grass" are not helping any HN discussions

          • littlestymaar 2 hours ago
            Sure, the author just happened to one-shot a project and a landing page on new year's eve. And their writing style is just coincidentally very similar to Claude's.

            Who's going to buy that?

            • jbaptiste 1 hour ago
              Its an extract of two weeks of work. And yes Claude did the website and rewrote my code that was absolutely without comments and a gigantic mess. It's an extract of the fourth attempt actually. Src4/ was the original folder. But my goal my to test the architecture applied to nats not to say I've done it without ai?
  • spicypixel 10 hours ago
    You should at least try and align the ascii flowchart in the readme on the repo.

    One day Claude will do it correctly but today is not that day.

  • jpgvm 9 hours ago
    Upvote for Bazel. I think these days I place a lot more value on how well an ecosystem slots into Bazel/friends because monorepos are increasingly more useful and relevant.

    So nice to see there are good rules for Zig and that folks are using them.

    Also ironically I think starting with Bazel/Buck/whatever your poison of choice is almost always a good move even if people tell you it's overkill. The easiest time to do it as at the beginning, all times after that is too hard and the marginal cost of building with it from the start is minimal.

    • carverauto 5 hours ago
      agreed, love Bazel + BuildBuddy
    • owyn 9 hours ago
      Downvote for this web site is a horror movie billboard and zig already has a build system which is zig and that's one of it's neat features.
      • fellowmartian 8 hours ago
        People are free to knock themselves out with Bazel if they’re into that kind of masochism, but having it as the ONLY way to build your OSS project is a big no.
        • simlevesque 6 hours ago
          Yeah I'm never touching Bazel again. I value my sanity.
        • steeve 2 hours ago
          well, bazel is by far the most reliable one so I'm not sure why you're complaining
      • synalx 7 hours ago
        The problem with "the language tooling is already a build system" is that cross-language dependency chains are a thing. The moment you need a Rust or Zig file to be regenerated and recompiled when a JSON schema or .proto file is updated, you're outside what most of those language-specific toolchains can support. This is where Bazel absolutely shines.
        • Cloudef 6 hours ago
          Zig build system can do all that just fine though
        • eska 4 hours ago
          If all of your dependencies need to use the same build system as your project then your build system/process is defect anyway. It should be possible to invoke a foreign build system as part of your build.
          • steeve 2 hours ago
            and it would be terrible for hermeticity and reproducibility, nix tries very hard and gets mediocre results

            perhaps, just perhaps, why people go through the trouble not because they are idiots but for actual engineering reasons

        • dlahoda 4 hours ago
          Rust build system can do all that just fine though
  • PaywallBuster 8 hours ago
    Comparison/benchmark to other alternatives?
  • BiteCode_dev 3 hours ago
    Does it have a similar system to Jetstream? If yes, does it address the reliability issues Jetstream has been criticized about lately?
    • jbaptiste 3 hours ago
      Absolutely not and will never have.
  • phplovesong 2 hours ago
    Wow! This entire project seem to be a big ball of AI slop.
    • steeve 2 hours ago
      your lack of skills doesn't mean it is (it's not)
  • mertleee 9 hours ago
    [dead]
  • littlestymaar 4 hours ago
    [flagged]
    • jbaptiste 3 hours ago
      Oh god no. Just having fun with zig and being a little over enthusiast I guess. I'm a big fan of nats, and really wanted to see how far you can push the idea if you do it differently. I was not expecting that tbh but, hpn too!
    • steeve 2 hours ago
      nobody cares about the website being done with AI because the code of the project itself is not AI

      you need to touch grass

      • girvo 2 hours ago
        The code of the project absolutely does look like it was done with AI lol, it’s a single commit…
        • steeve 2 hours ago
          a single commit doesn't mean it's vide coded you idiot

          1/ AIs are terrible at Zig

          2/ I happen to know the author personally

          • NlightNFotis 2 hours ago
            I’d invite you to reconsider the kind of language you’re using to interact with other forum members here.

            Dropping to profanities is not conducive to maintaining an environment that’s facilitating dialogue between its members.

            I’ve seen you at least twice call other members here “you idiot”, “get lost”. Etc. Have a hard think as to whether you could rephrase that without the name calling, and if at worse you can’t manage to, you can always ask an LLM to do it for you.

            • steeve 2 hours ago
              the way he came barging through the door doesn’t invite sympathy
          • littlestymaar 1 hour ago
            > 1/ AIs are terrible at Zig

            Claude isn't, and the zig subreddit is actually full of AI slop projects unfortunately.

            And yesterday's front page Zig project was also vibe coded (though in that case the author acknowledged it: https://news.ycombinator.com/item?id=46442792)

            • messe 1 hour ago
              > zig subreddit

              Is the only zig community that Andrew Kelley "anti-endorses"[1]:

              > I don’t have the time or energy to evaluate most Zig communities so I can neither endorse nor anti-endorse them, however, the Zig subreddit is an exception.

              > It’s an awful place and I stand by my decision to permanently close it. I am unhappy that it was reopened against my will.

              [1]: https://ziglang.org/community/

              • littlestymaar 33 minutes ago
                That doesn't change the fact that Claude code is definitely good enough at Zig to make vibe-coded projects.
        • jbaptiste 1 hour ago
          Claude did rewrote lots of my original messy code. No shame in that? But in the end the interest was in the underlying architecture, applied to nats protocol. Anyway.
        • throw-qqqqq 1 hour ago
          Dude, when I move projects to GitHub I also often collapse everything into a single commit.

          I do this to avoid having to check e-mail addresses and names in commits - maybe I mistakenly made a commit from my work account etc.

          After the “initial” commit making it all public, I start to work “in the open”. I see many others doing it the same way.

          That is NOT a reliable indicator of slop!

          • cbzbc 43 minutes ago
            And the author has admitted at least some assistance here:

            https://news.ycombinator.com/item?id=46452907 https://news.ycombinator.com/item?id=46452841

            There may have been less pushback if this had been expressed up front. But also, what is it ? Is it to "test the architecture applied to nats" or is it to be a fully fledged NATs replacement (as per the impression given by table at the bottom of the website) - which becomes much harder if AI has significantly re-written the authors original code (and commented it badly).

            The website being AI coded I can take or leave.

            • jbaptiste 28 minutes ago
              Fair point. And as what it is, not a nats replacement, certainly dont have the time to maintain that this way, a test/tech demo/fun side project that yielded super interesting results is probably the answer. As usual I'm probably way too enthusiast when I see some nice results like that and the goal here was to talk about that, but it shifted super fast. So yes Claude rewrote lots of parts, and that's what I love about it. Testing an idea happens in way less time than before, and I find that super cool.
          • littlestymaar 1 hour ago
            Nothing individually is a good indicator of slop in itself, a human could also have written this readme full of Claud-isms and a borked ASCII schema or the code littered with idiosyncratic comments.

            It's the convergent set of clues that makes the case.