11 ms·
> If I had to come up with a case where Python is better than Rust, I would say with rapid prototyping and scientific computing. Scripting? I'm not gonna write
by ggregoire 7y ago
> If I had to come up with a case where Python is better than Rust, I would say with rapid prototyping and scientific computing.
Scripting? I'm not gonna write a 50 LOC single-use script in Rust.
- estebank 7y agoI've found that a lot of scripts end up not being single use. In my case they usually do end up rewritten in Rust, with the benefits of having a proper --help command from the bother. Once you know enough Rust the obtuse parts of the language that must exist to cater for the performance critical crowd cease to be a problem.
- oconnor663 7y agoI do write a lot of Python and Bash scripts, even in my Rust projects. They're perfect for gluing together a build. But I'd add that as soon as I want an external dependency (often a more featureful command line flag parsing library), I usually RIIR.