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

Pardon the stupid question, but at this point why not just use Rust? It interoperates with C++ fairly well.


It interoperates with a tiny subset of the C++ language, it is miles away to interoperate with libraries, SDKs, IDEs, GPGPU, FPGAs and tons of other tooling used in C++ ecosystem.


C++ developers tend to be very conservative. I still meet shops that genuinely are discussing if they should use c++98 or try this new modern thing c++11. Lately that’s getting more and more rare fortunately.

Even if your team is more progressive, there is likely a huge mountain of still active legacy code that nobody wants to rewrite. There a more incremental approach is still the way to go.

Otherwise yes, for a greenfield project, rust is likely superior in many other ways. Not just in this area of borrowing but also build, syntax and lots of other features.




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

Search: