News for hackers. Stuff that matters.
Re:Taking ML to production with Rust by k__ on Monday December 02, 2019 @07:47AM (#21681892)
Good!

I think Rust will eat more and more of the stack.

It has similar performance as C/C++, but feels more higher level. It's a drop-in replacement for C and is developed by a company that devs like.

Re:Taking ML to production with Rust by zabzonk on Monday December 02, 2019 @12:27PM (#21684511)
If it is a "drop-in replacement" the rust compiler should be able to compile C code - it can't.
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%...