I was about to say "it depends" but on reflection it's gotta be Rust. Memory unsafety is a deal-breaker for me. Too much left-over trauma from years and years of debugging C: I don't wish to go back to that.
I write a lot of low level software, so Zig was just it, it doesn’t mean that Rust is bad in fact with nostd, works well. But Zig have implicitly with C style & interop, but what it made a C++ successor for me are builtin libraries, they are just awesome. OOP can be rebuilt effortlessly.
Also memory safety is a not big concern either since sometimes Rust and its notorious “borrow checker” is being misunderstood, due to influencers. Both languages are great and can be fine tuned. What can make Rust winner is project for c++ interop sponsored by google, looking forward it.
Comments