DEV Community

Discussion on: What Does C++ Do That Rust Doesn't?

Collapse
 
deciduously profile image
Ben Lovy

This was a fun read!

After all, Linux is still written in Rust, and it works great despite that language's terrible error handling.

Just curious - is this an actual commentary on your thoughts about Rust error handling in today's context, or merely a commentary on how our understanding should be expected to evolve? At least comparing to C++, Rust's Result is a solid win over try/catch for me.

Collapse
 
codemouse92 profile image
Jason C. McDonald • Edited

It's more of an ironic statement. Since Rust's error handling is reputed to be so cutting-edge now, like try/catch was in its day, I'm imagining that it could be considered "clunky" and "terrible" in 30 years.