News for hackers. Stuff that matters.
Re:Rust can be difficult to learn and frustrating, but it's ... by ilovecaching on Tuesday October 23, 2018 @12:03AM (#18280637)
Rust is based on ADTs, typeclasses, and type parameters. C++s toolkit for abstraction is templates and OOP. They're completely different, and it sounds like you're just trolling anyway.
Re:Rust can be difficult to learn and frustrating, but it's ... by MarkovUnchained on Tuesday October 23, 2018 @01:26AM (#18280911)
C++ has ADTs from C++17 and will have typeclasses from C++20. Templates with type traits are effectively a superclass of type parameters anyway.
Re:Rust can be difficult to learn and frustrating, but it's ... by Rusky on Tuesday October 23, 2018 @08:04PM (#18288569)
C++'s ADTs are std::variant, which is horrific.

C++'s type classes are concepts, which are hardly more than syntactic sugar over SFINAE.

Neither can really compare to Rust's enums or traits.

Re:Rust can be difficult to learn and frustrating, but it's ... by iopq on Tuesday October 23, 2018 @04:43AM (#18281771)
Templates generate bad error messages because they are duck-typed. Rust is better at this.