Hacker News new | ask | show | jobs
by steveklabnik 940 days ago
I think this is amusing because both directions completely work:

In C++, you can do whatever. Rust forces you do to some things. No discipline required by C++, absolutely required by Rust.

In C++, you can do whatever. Rust forces you to do some things. This means you must have discipline in C++, or you will do bad things. But in Rust, you can do whatever you want, the compiler has your back.

1 comments

Good point, I was imprecise.

I should have said that no discipline is required in C++ to obtain a binary.