Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

>freedom to work at the lowest level when we need to, while also giving us plenty of higher level APIs for most day to day situations,

Mixing of these two is why nobody really takes C++ seriously anymore.

If C++ dissalowed C style memory accessors, removed <reinterpret_cast> and everything was done through stdlib and smart pointers, it would probably be above Rust right now. A good portion of Rust borrow semantics were already built to the smart pointer system.

But with mixing, you not only have to deal with all the typing syntax, you also have no idea if you are just going to segfault because there is a C style dereference somewhere to a null pointer.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: