2 ms·
But that it does not bind well with the memory model of a certain wayland implementation does not mean that it cannot bind well with C generally. It also does n
by erk__ 5y ago
But that it does not bind well with the memory model of a certain wayland implementation does not mean that it cannot bind well with C generally. It also does not mean you cannot use it for Wayland since there is a native Wayland implementation. [0]
And for the systems level programming there is stuff like the current work to make use of Rust and the guarantees it gives in large C based systems like the Linux kernel.
That said that Zig is not a worthy endeavour, it does just not give as strong guarantees about memory safety as Rust works to give. (at least if this article is up to date [1])
[0]: https://github.com/Smithay/smithay https://github.com/Smithay/smithay
[1]: https://www.scattered-thoughts.net/writing/how-safe-is-zig/ https://www.scattered-thoughts.net/writing/how-safe-is-zig/