News for hackers. Stuff that matters.
Re:Candle: Torch Replacement in Rust by 0cf8612b2e1e on Tuesday August 08, 2023 @11:18AM (#37050309)
A lot of science/engineering/ML/data analysis happens from hacking around with only a vague idea of what to expect. Appeasing a type checker simultaneously is an enormous blow to productivity. Obviously possible, but challenging to get into a flow state when you cannot quickly iterate on ideas.
Re:Candle: Torch Replacement in Rust by lnxg33k1 on Tuesday August 08, 2023 @11:25AM (#37050403)
I mean you can still hold data in hashmaps no?

Or even serde::Value(s)? Its not that everything has to be a type

Re:Candle: Torch Replacement in Rust by ArrowH3ad on Tuesday August 08, 2023 @01:41PM (#37052776)
If we're going to bypass the type system entirely then why are we using Rust at all? Might as well just use Python at this point
Re:Candle: Torch Replacement in Rust by lnxg33k1 on Tuesday August 08, 2023 @01:44PM (#37052811)
Who said entirely? I’ve used hashmaps prototyping my code, still used types in other areas, then converting dynamic maps to types too, Was just suggesting ways to handle types during prototyping