原帖地址:Using Rust for an Undergraduate OS Course 里边详细描述 rust 的优缺点,以及与其它语言的对比。
课程结束后的总结:
In summary, I really enjoyed using Rust and think it is a very promising language with a lot of potential for teaching, as well as for industrial systems programming.
It is irresponsible for universities to continue to teach students to write C code riddled with security vulnerabilities, memory leaks, and race conditions. There are good alternatives available, and Rust appears to be the most promising to me, but I hope others will explore both ways to teach students to write safe C code as well as different languages for teaching systems programming that don't suffer from the legacy flaws of C.
翻译: 总的来说,我很享受 rust, 它是一门非常有前途的语言。它在教学方面很有潜力,在商业程序设计上也一样。
在大学里继续教学生写充满了安全问题/内存泄漏/竞争状态的 c 代码是不负责任的。有很多编程语言可以替代 c, 而 rust 在我看来是最有前途的。但是我希望其他认在教学生去写安全的代码的同时也用其它语言去教学生操作系统编程而不必忍受 c 的缺陷。