3 ms·
> But the reality is that there are very few code bases written in Rust and an uncountable amount written in C++ Most libraries use a C ABI due to it being sta
by kllrnohj 11y ago
> But the reality is that there are very few code bases written in Rust and an uncountable amount written in C++
Most libraries use a C ABI due to it being stable, and Rust has fantastic FFI support for C (although tools to take in a .h and spit out the FFI in Rust are definitely needed). There's no performance cost to FFI in Rust, either, it's just a function call. As someone that spends a lot of time in an existing C++ codebase, FFI with zero overhead offers a very enticing migration path.
But as you were asking about making a new language, I was just pointing out the language you were starting to design has already been built.