News for hackers. Stuff that matters.
Re:Leaving Rust gamedev after 3 years by eterevsky on Saturday April 27, 2024 @03:49AM (#40178151)
> Rust's strength in ML

Most of ML frameworks that I know are implemented in Python and C++. I tried looking at ML in Rust a few years ago and didn't find anything useful. Has it changed?

Re:Leaving Rust gamedev after 3 years by pc2g4d on Saturday April 27, 2024 @04:41PM (#40183314)
You can use libtorch directly via `tch-rs`, and at present I'm porting over to Burn (see https://burn.dev) which appears incredibly promising. My impression is it's in a good place, if of course not close to the ecosystem of Python/C++. At very least I've gotten my nn models training and running without too much difficulty. (I'm moving to Burn for the thread safety - their `Tensor` impl is `Sync` - libtorch doesn't have such a guarantee.)

Burn has Candle as one of its backends, which I understand is also quite popular.