4 ms·
> dependency outside of pip, literally never seen one before. You don't know Anaconda? > Cargo is great, I agree it's approaching the usability of running a P
by tcfhgj 2y ago
> dependency outside of pip, literally never seen one before.
You don't know Anaconda?
> Cargo is great, I agree it's approaching the usability of running a Python script there
I think it's clear that the usability of cargo run is much higher than "prepare everything yourself, then python script.py"
> which is going to take orders of magnitude longer than any time you'd save from the script itself running faster.
In this case: no, otherwise obv. depends on the code and dependencies
- xelamonster 2y agoI thought of conda after I made the post, I've used it a handful of times. But still it's just another package manager, has a GUI installer and env setup usually takes max two commands that will be in the README. My point essentially is that the extra friction in running a script in Python vs Rust is minor relative to extra friction in learning and writing Rust vs Python, so the comparison in some ways misses the purpose of a scripting language. Personally I write a lot of Rust lately and very little Python, I'd absolutely choose it for a script but I understand why it doesn't always make sense.