Rust isn't great for prototyping?
I disagree, but I'd love to hear people's thoughts.
https://corrode.dev/blog/prototyping/
[#]rustlang #rust
=> More informations about this toot | More toots from mre@mastodon.social
@mre
I've been doing some prototyping in Rust recently and I mostly agree.
One challenge is that it just feels wrong having a bunch of Clone, unwrap, Arc etc. that I know could be avoided. Of course rationally, this is no less efficient than its Python alternative.
=> More informations about this toot | More toots from tschundler@leds.social
@tschundler yeah, exactly, but that's the point: since all of these can be grepped for (i.e. they are explicit), you can later go and clean them up. I do that all the time.
In Python, I would have to know when a function throws an exception; I cannot grep for that. The result is a false sense of security because nothing screams "danger".
=> More informations about this toot | More toots from mre@mastodon.social This content has been proxied by September (3851b).Proxy Information
text/gemini