News for hackers. Stuff that matters.
Re:Taking ML to production with Rust by madmax96 on Monday December 02, 2019 @11:33AM (#21683951)
Rust is not a drop-in replacement for C, it’s a drop-in replacement for C++.
Re:Taking ML to production with Rust by pnako on Monday December 02, 2019 @11:41AM (#21684050)
It's a drop-in replacement for neither since it's an entirely different language. C++ went to some great pain to be a drop-in replacement for C; you can "drop in" a C++ compiler in your toolchain and still compile your C code (mostly).
Re:Taking ML to production with Rust by littlestymaar on Tuesday December 03, 2019 @01:56AM (#21690502)
This was kind of true till C99, but not so much anymore. restrict is the most obvious offender but far from the only one[1].

[1]: https://en.m.wikipedia.org/wiki/Compatibility_of_C_and_C%2B%...