|
|
|
|
|
by knorker
887 days ago
|
|
1. It's interesting that Rust is not just viable in some less important kernel code, but possible in core components.
2. C isn't necessarily the best language for performance. Specifically it's not very good about letting the compiler make assumptions about aliasing. Same reason some CPU-heavy stuff tended to use (ugh) Fortran[1]. Rust is better than C in giving the compiler access to this information for optimization. But I think you read the article and the post wrong. It's not "ha ha, C suxx", it's just... interesting. [1] I say "tended", because presumably nowadays it's optimized for GPUs, and I've not been keeping up. |
|