Re:Which language has the brightest future for replacing C: ...
by cLeEOGPw on Wednesday November 11, 2015 @05:40AM
(#10545903)
Could you rewrite linux kernel in Rust?
Re:Which language has the brightest future for replacing C: ...
by kibwen on Wednesday November 11, 2015 @06:18AM
(#10546032)
Sure, but it probably wouldn't make sense to. Instead, you'd be better off doing like the Redox folks and designing your own Rust-based OS, with plans for a Linux-compatible userspace: http://www.redox-os.org/
As in a Rust compiler will generate equivalent assembly as C in equivalent cases. With practically for now some places where Rust will win and some where C will win performance wise. But there are no practical reasons for Rust to be slower than C or C++.