What is Nostr?
npub1dem…thv4
2025-02-01 07:30:13
in reply to nevent1q…jr6f

npub1de…nthv4 on Nostr: Rust is C++ done right. C++ has a ton of problems stemming from how different ...

Rust is C++ done right. C++ has a ton of problems stemming from how different features interact. E.g. function overloading and implicit casting. It's riddled with potential to get memory vulnerabilities.

Rust fixes all this and keeps many of the good aspects of C++. I loved C++ too but after years of coding in it I started to get annoyed by the bugs. Rust was a salvation. It may sound crazy but the type system also prevents many non-memory bugs to the point that compiled programs often work correctly the first time. You don't get this in any other popular language.
Author Public Key
npub1demlfu7fn90q3p7s9hy4kwtf9avxg8k4kpeewthcdnttv8kvdwhq8nthv4