3 ms·
> The performance is better and I reckon it's much nicer to write. Unfortunately, the ecosystem isn't there yet. In my preliminary tinkerings, I'm a bit faster
by gtaylor 11y ago
> The performance is better and I reckon it's much nicer to write. Unfortunately, the ecosystem isn't there yet.
In my preliminary tinkerings, I'm a bit faster writing Go than Rust. I'm not super comfortable with either language. Rust's compiler is a lot more picky, and there's a learning curve to understand how ownership works. Go is a comparatively simple language (which can be a positive or a negative depending on your ideals and usage cases).
I think Go will probably always be "faster" to write, but Rust will keep you from making certain mistakes that you may have sunk debugging time into later. Hard to say where the time break-even is. I am keeping a close eye on both camps so that I'm equipped to make the call as soon as some of our components at work need something faster than Python.
- deckiedan 11y agoI think one advantage for me that rust has in this area is that you can very easily write core/computational stuff in rust and use it from your current python codebase, and then if/when you need to switch the entire codebase away from python, you've already got the libs done.