4 ms·
How so? You can extend Python with Rust but you can't with Go. Go requires a complete rewrite or independent service.
by Dowwie 9y ago
How so? You can extend Python with Rust but you can't with Go. Go requires a complete rewrite or independent service.
- 0xCMP 9y agoYou can write go with the same loose nature of Python. Conceptually you can write programs the same and get some speed boost + type checking while you're at it. It's like a more intense form of adding annotations in theory. So while it requires a rewrite, a cost which you should not write off either, it can feel similar to Python but more verbose. Where Rust feels like Haskell and C++ had a child together and can be more jarring to switch to (in my experience as primarily Python/Django who uses Go in many side projects and tried Rust up-to and around 1.0).
- Dowwie 9y agoThanks for commenting. I think I took the statement too literally. If I understand you correctly, the transition from Python to Go is easier because learning/using Go requires less cognitive overhead than what is required of Python to Rust.