Rust lacunae
Rust lacunae
Posted Jun 13, 2021 14:10 UTC (Sun) by jezuch (subscriber, #52988)In reply to: Rust lacunae by ncm
Parent article: Rewriting the GNU Coreutils in Rust
Um, excuse me? C++'s type system is based on misunderstanding of object orientedness (which in C++, and just about any other "OO" language, is just an extension of structural programming and a far cry from Simula's design, which we're only now rediscovering). Rust's type system is based on algebraic types, in the ML tradition (not as pure as in Haskell, but still). Traits are first-class citizen in Rust, while in C++ they're a design pattern at best, and everything is centered on classes. Completely different paradigms.
BTW, I know that my interpretation of history of programming language design is un-orthodox, no need to point it out ;)
