3 ms·
> To mitigate the sunk costs, Linux needs to compete on memory safety. C has no viable solution so Rust is the only option. Isn't Zig designed as a viable solu
by ChocolateGod 2y ago
> To mitigate the sunk costs, Linux needs to compete on memory safety. C has no viable solution so Rust is the only option.
Isn't Zig designed as a viable solution? IIRC being easily compatible with C is one of its features.
- aw1621107 2y agoProbably depends on what exactly you're looking for in a viable solution. Zig does not provide the same level of memory safety as Rust does (IIRC it doesn't protect against data races and doesn't offer (complete?) temporal memory safety), so if what Rust provides is the bare minimum you want Zig won't cut it.