Wouldn't Zig be more suitable than rust? In the Linux kernel
Jeffrey Walton
noloader at gmail.com
Mon Sep 23 20:58:07 EDT 2024
On Mon, Sep 23, 2024 at 5:08 PM Manuel Quintero Fonseca
<manuel at uas.edu.mx> wrote:
>
> The Zig compiler is compatible with C, Zig code is cleaner than Rust,
> and they are both equally secure.
>
> What do you think?
The kernel needs more than Rust's incomplete x86_64 and i686 support.
Rust would actually have to have Tier 1 support for armel, armv7,
aarch64, loongarch64, mips{64}, powerpc{64}, riscv{64}, sparc{64},
s390x, and a wheelbarrow full of other minor architectures. See
<https://doc.rust-lang.org/nightly/rustc/platform-support.html>.
Zig would have to provide similar support.
I don't believe Rust or Zig would be much help at the moment.
Jeff
More information about the Kernelnewbies
mailing list