DigiNews

Tech Watch by Johan Denoyer

← Back to articles

Rust: When Empty Isn't Bottom

Quality: 8/10 Relevance: 9/10

Summary

The article explains the difference between Rust's never type (!) and the empty/bottom types, and how Rust handles coercion involving !. It compares Rust with Scala, demonstrates with code examples, and clarifies common misconceptions about subtyping and type coercion.

🚀 Service construit par Johan Denoyer