I'm looking for a language with the performance of C++ and the ease of Python, and I've been constantly told that Rust fits that spec.
I'll look into Zig, but I'm hesitant about using languages that nobody has ever heard of. Especially for a project that I might release as open-source.
There is no language that fits that bill perfectly afaik.
As someone who used to write a lot of Python, Rust feels easier for larger projects and for long-term maintenance. It’s also (for me) substantially easier in Rust to write anything with concurrency or parallelism, whether async or threads. The learning curve is significantly higher than Python. For my day to day coding, now past the learning curve, it does feel ~as easy as Python, most of the time.
I'll look into Zig, but I'm hesitant about using languages that nobody has ever heard of. Especially for a project that I might release as open-source.
As someone who used to write a lot of Python, Rust feels easier for larger projects and for long-term maintenance. It’s also (for me) substantially easier in Rust to write anything with concurrency or parallelism, whether async or threads. The learning curve is significantly higher than Python. For my day to day coding, now past the learning curve, it does feel ~as easy as Python, most of the time.
Optimized Rust is as fast as optimized C++.
Both of those are lies about rust.