News for hackers. Stuff that matters.
Re:Taking ML to production with Rust by eden_h on Monday December 02, 2019 @06:41AM (#21681591)
I've heard this suggestion fairly frequently - that people use Rust as a wrapper over C++ bindings to add in safety to the C++ underneath.

Mostly regarding using BLAS etc in Rust rather than C++. It seems a little pointless as the unsafe nature is within the underlying code, so it only santises input/output.

Re:Taking ML to production with Rust by pjmlp on Monday December 02, 2019 @06:45AM (#21681612)
For that use case it is more productive to actually use static analysis tooling for C++.
Re:Taking ML to production with Rust by blub on Monday December 02, 2019 @08:52AM (#21682262)
"people use Rust as a wrapper over C++ bindings to add in safety to the C++ underneath."

Adding a thin wrapper over an insecure library won't magically make it secure. That's why pure Rust or pure Swift versions of various algorithms and functionalities are worth so much - guaranteed memory-usage correctness.