2 ms·
> But I wish there were a language that solved the two-languages problem (fast vs. easy to work with). I find Rust quite verbose. Rust itself can be made "easy
by zozbot234 4y ago
> But I wish there were a language that solved the two-languages problem (fast vs. easy to work with). I find Rust quite verbose.
Rust itself can be made "easy to work with" at the cost of boilerplate. You end up with code that's littered with idiomatically superfluous uses of things like .clone(), interior mutability, Cow<>, perhaps even such exotic features as the Any trait for encoding "dynamic" behavior.
The flip side is that it's easier to refactor this code and make it more correct and performant; "simply" replace the boilerplate with proper Rustic code and deal with the resulting compile errors. It's a very viable strategy that has no direct equivalents in other languages, not even in C/C++.