|
|
|
|
|
by omn1
2094 days ago
|
|
You're right about the massive amounts of C/C++ code out there.
I'd disagree that the integration is harder than with C++, though. Calling Rust from C and vice versa is fairly straightforward and there are automatic code generators for doing so. Things just get wrapped into an `unsafe` block and that gives you the same guarantees you'd have with C++ (none, basically). From there you can start to gradually rewrite critical parts in safe Rust and profit from the cargo ecosystem along the way.
In that sense there's even an advantage for Rust over C++ in my book. |
|