The Zig Programming Language
ziglang.org
ziglang.org
To my eyes, it's the best of both worlds. It doesn't require a GC like Go's "contiguous stacks" approach [1] or Loom's approach [2]. It also doesn't require coloring like Javascript/Rust's async/await approach, which can sometimes seem like a viral leaky abstraction, causing incidental complexity in the presence of certain patterns.
The main catch is around recursion, but that's not so bad, as Zig as a whole seems to steer users away from recursion anyway, with another interesting feature that detects it at compile time.
I think new languages should be going this direction: focus on making things easier for the user, avoid causing incidental complexity, and keep abstractions zero-cost.
Just my two cents!
[0] https://kristoff.it/blog/zig-colorblind-async-await/
[1] https://medium.com/a-journey-with-go/go-how-does-the-gorouti...
Very interesting language.
This blew my mind:
https://github.com/ziglang/zig/blob/master/lib/std/multi_arr...
Most of my work colleagues haven't heard of HN and therefore wouldn't have frequent opportunities to hear about Zig.
For these newer languages, they need to distinguish themselves, in terms of reasons why people would turn to them. In a world of established languages like C, Rust, Golang, Object Pascal, etc... Why use Zig? The argument to use it over what they already know, might not be there for a lot of people.
Although I think HN is probably aware of this lang by now...
I've used it for linux-based embedded platforms to both debug and build switches.