4 ms·
Rust is a lot simpler than C++ or Scala. It has some upfront complexity wrt. C or Zig, but that pays off when dealing with larger programs, where avoiding subt
by zozbot234 4y ago
Rust is a lot simpler than C++ or Scala. It has some upfront complexity wrt. C or Zig, but that pays off when dealing with larger programs, where avoiding subtle bugs becomes much harder.
- pjmlp 4y agoTwo macro systems, async/await runtime puzzle, pin, references to const values, build scripts, eventually its own GADT equivalency,.... It isn't there yet, but wait for 40 years industry adoption will make to it.
- IshKebab 4y agoNow do C++! He didn't say it is simple; he said it is simpler than C++. Now, I'd say they're on the same order of magnitude for simplicity. The huge advantage Rust has is that it tells you when you got it wrong, whereas C++ says "OK, I will put the toast in the fridge."
- pjmlp 4y agoA language with 10 years history is simpler than one with 40 year of legacy.... While Rust is definitely an improvement over C++, it remains to be seen how those 40 years of legacy will look like.