Re:Taking ML to production with Rust
by saagarjha on Monday December 02, 2019 @06:11AM
(#21681470)
What’s wrong with being compiled?
[ Parent
| on HN ]
Re:Taking ML to production with Rust
by username90 on Monday December 02, 2019 @06:19AM
(#21681500)
In python I can write code one line at a time and they are executed immediately. This means that I can write code to print the data if I want, or try different things etc without ever rerunning the program from scratch which can be very slow for training data.
Here, have a go at it with C++.
https://blog.jupyter.org/interactive-workflows-for-c-with-ju...
Being compiled doesn't mean anything, it is a matter of tooling.
Re:Taking ML to production with Rust
by throwlaplace on Monday December 02, 2019 @11:23AM
(#21683845)
pretty cool. i wonder how well it works though
I use the evcxr repl all the time. It has some rough edges but it's incredible to finally have a rust repl that's functional. I had been using rusti on an ancient rustc. One thing I really like is that you can add a crate with one line (`:dep rand = "0.7"`).