news.volyx.in

Welcome to Comprehensive Rust (google.github.io)

568 points by eecc · 1354 days ago · 198 comments on HN

Article summary

The article introduces Comprehensive Rust, a free Rust course developed by the Android team at Google, covering the full spectrum of Rust from basic syntax to advanced topics. The course is available in multiple languages and formats, including a PDF version. The goal of the course is to teach Rust to those who are new to the language, assuming prior programming knowledge. The course covers various topics, including Rust fundamentals, Android, Chromium, bare-metal development, and concurrency.

Main themes

  • Rust programming language
  • Compilation speed
  • Memory safety
  • Language choice
  • Productivity
  • Alternative languages

What commenters say

  • Rust's compilation speed is slow compared to C and C++, which can be a significant issue for large projects.
  • The trade-off for Rust's memory safety features is slower compilation times, but this is a worthwhile compromise for many developers.
  • Some developers argue that Rust's compilation speed is not a significant issue, especially with modern hardware and proper project structure.
  • Others believe that Rust's compilation speed can reduce productivity, especially when compared to languages with faster compilation times.
  • The choice of programming language depends on specific needs and priorities, and Rust may not be the best choice for every project.
  • Rust is not a direct replacement for C++, but rather a distinct language with its own strengths and weaknesses.
  • Alternative languages, such as Go or Zig, may offer similar benefits to Rust without its drawbacks.
  • The importance of memory safety features in Rust is a key factor in choosing the language, but it may not be the only consideration.