Does anyone know how Zig solves the memory-safety and concurrency questions? I tried Googling it and according to this blog post:
https://mikefsn.github.io/2022/10/18/goodbye-zig.html
it doesn't look like it offers solutions. The only thing I could find in the docs was about concurrency where they say "[concurrency] is an area of active research":
https://ziglang.org/learn/overview/#concurrency-via-async-fu...
Re:C Minus Minus
by AndyKelley on Wednesday October 19, 2022 @11:14AM
(#33263426)
This guy has been doing "concern trolling" about once a day for a week now: https://gist.github.com/andrewrk/9aed922a6210e57243af8be8d10...
There's plenty of things to criticize about Zig. Just do it honestly instead of pretending that you're "just asking questions".
1: Forth. I've seen Forth on things that I didn't even realize were computers. Since an interpreter can run in a few hundred bytes of ROM, that's not too surprising.
2: Rust. Rust can run on 8/16 bit micros, client side web (WASM), and on iOS, along with all of the more conventional and easier targets. Probably the only popular universal language for 2022 targets, although there are Rust competitors like Zig that may falsify that statement.
And in a nice coincidence, both languages are fun.