Skip to content
Rust Primer
  • Course
  • Articles

Articles

Notes on learning, writing and reviewing Rust when AI assistants can produce code faster than anyone can read it.

  • Option is not a nullable: sentinels, defaults and missing data

    24 November 2026 · 8 min read

    Replacing every unwrap() with a made-up value stops the panics and quietly corrupts the data. Sentinels, defaults and nested Options, and how to tell a default that is true from one that is merely convenient.

  • Read the compiler error before you paste it into a chat

    10 November 2026 · 7 min read

    Rust’s compiler errors often contain the fix, the reason for it, and a hint about whether its own suggestion is the right one. How to read an error label by label, and when to doubt its suggestions.

  • When is a clone the right answer?

    27 October 2026 · 6 min read

    Not every clone is a mistake. What a clone costs, when it is the correct choice, and how to tell the difference when you review Rust.

  • Reviewing AI-written Rust: six things to check

    10 October 2026 · 5 min read

    Six patterns that coding assistants produce to keep the compiler happy, why each one matters, and what to ask for instead.

  • Why learn Rust when an AI can write it?

    10 October 2026 · 5 min read

    Coding assistants can now produce Rust that compiles. That changes what is worth learning, not whether it is worth learning.

Article feed · GitHub · Licence · Privacy

No cookies, no tracking and no JavaScript.

© 2026 Chantler Solutions Ltd. Code examples are free to use under the MIT No Attribution licence.

Rust Primer is a trading name of Chantler Solutions Ltd. Registered in England and Wales, company number 06177916. Registered office: 167–169 Great Portland Street, 5th Floor, London W1W 5PF.

Rust is a trademark of the Rust Foundation. Rust Primer is an independent project. It is not affiliated with or endorsed by the Rust Project or the Rust Foundation.