Preferences

I just use Rust to do any "scripting" work. I stopped using Python and write it in Rust instead, and I'm more productive than before.

What do you need a scripting language for that's different than using Rust?


How do you deal with slow compilation times?
It's not that slow?

Cargo only recompiles the crates that you edit, after the first build of the dependent crates it's quick to iterate.

Compilation is not the bottleneck, it's the human (me) in the loop that's doing the thinking and typing.

The productivity boost comes from Rust's strong type system and ownership (much better than MyPy) which practically ensures that if it compiles, it will work. There's a lot less troubleshooting/debugging of my Rust "scripts" than when I wrote Python.

This item has no comments currently.

Keyboard Shortcuts

Story Lists

j
Next story
k
Previous story
Shift+j
Last story
Shift+k
First story
o Enter
Go to story URL
c
Go to comments
u
Go to author

Navigation

Shift+t
Go to top stories
Shift+n
Go to new stories
Shift+b
Go to best stories
Shift+a
Go to Ask HN
Shift+s
Go to Show HN

Miscellaneous

?
Show this modal