Zig Looked Like the Future – Until We Tried Multithreading

(freedium-mirror.cfd)

5 points | by RustSupremacist 15 hours ago ago

3 comments

  • keyle 11 hours ago

    Seems like there have been two approaches to languages.

    The very high level languages, fun and slow, with async built in pretty much from the start, and good ergonomics.

    And then the grindy and fast low level languages, with async shoehorned in later, way after simd and other things, and terrible ergonomics.

    The key, I imagine, is that doing multi-threading or green threads or whatever "SAFELY" is extremely complicated, because it is. And so to remain fast and safe, a ton of complexity has to be pushed onto the user/programmer.

    • vga42 4 hours ago

      Rust safe multi-threading is pretty simple, though. Async, perhaps not so much.

      But they are two different things.

  • signa11 15 hours ago

    no code, just a wall-of-text. quite unfortunate really.