News for hackers. Stuff that matters.
Re:Is C++ Doomed? by lazypenguin on Wednesday February 23, 2022 @04:11PM (#30446496)
It's fine, works well enough. Challenges are passing data across the boundaries as the data types need to conform to both sides. E.g. using a string in both languages without doing copies means using a C-style string and now you've lost some expressiveness in both languages.

Second challenge is smoothness of integration in build systems. In C++ you might use CMake, in Rust you use Cargo, so now who is authoritative? Do you use Cargo to build the C++ code? Do you build your Rust projects in CMake?

There are no comments on this comment yet.