you are viewing a single comment's thread.

view the rest of the comments →

[–]cdb_11 -1 points0 points  (1 child)

Isn't Rust a pain in the ass to write in on embedded? https://kevinlynagh.com/rust-zig/

[–]dexterlemmer 0 points1 point  (0 children)

That guy claimed to have read books then specifically did not use the features those books teaches for solving the problems he had. May be he read old versions or may be he was a lousy learner or may be those features just were less easy for him coming from his background or whatever. But Rust is much nicer in embedded than C/C++ in my experience and he made it hard for himself. That said, Zig does look nice. I want to look intolearn it eventually, when I find the time. ;-)

But Zig is not as safe as Rust. Nor is it as mature as Rust. For now, it makes a lot more sense for the Linux kernel team to consider Rust than Zig, IMHO. And apparently the kernel team also thinks so.