by lambda · 10y ago · 0 comments
Of course, once you do, you find that some of the traits you would like to be able to use aren't expressible without "higher kinded types" (https://github.com/rust-lang/rfcs/issues/324), so there are still some big features that everyone kind of hopes will happen soon but there's no current plan for. But the existing trait system gets you pretty far for a lot of what you want to do.
Also, can we have a C++ article where the comment section doesn't turn into a Rust ad?
Devil's Advocate: C++ may be complicated, but try comparing hello worlds in each language. Maybe Rust still isn't the holy grail either.
fn main() {
println!("Hello, world!");
}
C++: #include <iostream>
int main() {
std::cout << "Hello, world!";
}