| ▲ | geon 2 hours ago | |||||||
Comparing Rust to C++ feels strange to me. It’s like people do it just because Zig is very comparable to C. So the more complex Rust must be like something else that is also complex, right? And C++ is complex, so… But that is a bit nonsensical. Rust isn’t very close to C++ at all. | ||||||||
| ▲ | lionkor 2 hours ago | parent [-] | |||||||
I wrote lots of C++ before learning Rust, and I enjoyed it. Since learning Rust, I write no more C++. I found no place in which C++ is a better fit than Rust, and so it's my "new C++". For example, high performance servers (voltlane.net), programming languages (https://github.com/HF-Foundation, https://github.com/lionkor/mcl-rs, and one private one), webservers (beampaint.com) and lots of other domains. Rust is close to C++ in that it is a systems language that allows a reasonable level of zero-cost abstractions. | ||||||||
| ||||||||