5 ms·
I feel like Rust was designed to fully replace old languages, and is now facing the same issue as every language before it - C and C++ interop (both ways). Zig
by lionkor 3y ago
I feel like Rust was designed to fully replace old languages, and is now facing the same issue as every language before it - C and C++ interop (both ways).
Zig nailed it, Rust fucked it up. Time will tell if thats big enough of an issue to warrant some bigger changes to fix it.
- zokier 3y agoThat is mischaracterization. Rust has been intended to be able to incrementally integrate to C/C++ codebases, of course most significantly integrating Rust/Servo components to Firefox/Gecko. See for example this rsvg presentation[1] and gstreamer blog post[2] for examples of the interop [1] https://viruta.org/docs/fmq-porting-c-to-rust.pdf https://viruta.org/docs/fmq-porting-c-to-rust.pdf [2] https://coaxion.net/blog/2016/05/writing-gstreamer-plugins-and-elements-in-rust/ https://coaxion.net/blog/2016/05/writing-gstreamer-plugins-a...