3 ms·
How is rust higher level than C++? It has powerful memory safety features, but that's not what I'd call "high level".
by lupire 4y ago
How is rust higher level than C++?
It has powerful memory safety features, but that's not what I'd call "high level".
- Koshkin 4y agoIndeed, my impression has been that C++ is as high-level as you want it to be.
- codedokode 4y agoMy impression of C++ is that you have to write multiple constructors before you can implement any logic.
- hoseja 4y agoThat's ... not even wrong. Or severely misguided. It's like saying "My impression of cooking is that you have to make several hotdogs before you can start frying things."
- Jensson 4y agoThe level of a language depends on what idiomatic code looks like. Idiomatic C is lower level than idiomatic C++ which is lower level than idiomatic Rust. Just because you can write things at a lower level doesn't mean that people do so, or even are allowed to do so. Most places where you write C++ you aren't allowed to write it like C, and similarly most places where you write Rust doesn't allow you to write large unsafe blocks.
- newobj 4y agoPattern matching is arguably one higher level feature/capability.