Re: Wouldn't Zig be more suitable than rust? In the Linux kernel

Joshua Rose <[email protected]> Tue, 24 Sep 2024 10:11:46 +1000
Newsgroups org.kernelnewbies.kernelnewbies
Message-ID <phlydl3vwyfnhwit7ibq7lwxjg4ol3zsma7wlnbug65ec2ewl2@phj5mra62742>
> The Zig compiler is compatible with C
So is Rust.

> Zig code is cleaner than Rust,
The standard library is a bit more readable, sure, but the overall 'cleanliness'
of either language is up for debate.

> and they are both equally secure.
If by 'secure' you mean safer, I believe Rust outshines Zig in memory safety.

Again, this is just from my research; I have only ever experimented with Rust so
I may be a bit biased.

--
- Joshua.

_______________________________________________
Kernelnewbies mailing list
[email protected]
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies