3 ms·
I switched from Python to Go for API development and never looked back. Performance is great, deployment is a breeze and the compiler and type system are good e
by potta_coffee 4y ago
I switched from Python to Go for API development and never looked back. Performance is great, deployment is a breeze and the compiler and type system are good enough that my code normally works on the first try. I've also been building AWS Lambda backends and Go is great in that role as well. Workloads complete much more quickly than equivalent Python code and use a fraction of the memory.
- upupandup 4y agoi call BS on this. It's not python's fault and the change in performance due to language itself is minimal.
- potta_coffee 4y agoIt's no BS, go is much more performant. There are a lot of benchmarks out there. In the context of Lambda, it probably helps that I'm just shipping a compiled Go binary rather than a Python environment + dependencies. Regardless, there are Lambda workloads that are trivial with Go that are pretty much impossible with Python because of run time limits etc.