3 ms·
If you're familiar with systems programming in C++ then learning Rust is like having an automated code reviewer when you run `cargo check`. That said the bigge
by duped 2y ago
If you're familiar with systems programming in C++ then learning Rust is like having an automated code reviewer when you run `cargo check`.
That said the biggest obstacle I've seen has come from C++ programmers traumatized by heavily templated codebases or dependencies equating Rust generics to templates. To which I say:
C++ templates are a bastard product of preprocessors and macro systems more than proper generic programming. The errors you get from Rust generics are much higher up the chain than template errors and while both impact compile times, with Rust it's less pronounced.
- alecco 2y agoI remember a long time ago when the Java crowd had a similar attitude towards C++ and C. Fascinating.