DEV Community

Discussion on: Rust or Go for web development?

 
krusenas profile image
Karolis
  1. Problems with installation/deployment were mostly pre-docker behind corporate proxy which didn't allow pip :) So it was an interesting ceremony of bundling dependencies and then installing them from that cache.
  2. I heavily used Tornado and Twisted frameworks, but it's single single core, you always feel like there's so much more you could do but you can't without additional plumbing.
  3. That Golang image is a compiler toolchain, Golang binaries do not actually need anything else, you can use Scratch or alpine image, resulting image is usually ~10MB.
  4. Some people think that Go is still lacking in ecosystem, in my ~4 years of professional work, I have never missed a single library :)
  5. Regarding code quality - static types really increase code quality and Go applications are easier to read/understand than many other languages. What's important is that if you want to see how some std lib is implemented, you just click on that function on dive into it. With Python it's often not the case.
  6. Just high performance is one thing but another thing that's quite important and often overlooked - how cheap will it be to run your side project? With Go you can use just ~10MB of RAM and 0-1% CPU, this makes it a good language to write services that can be cheaply deployed :)

I still like Python but with my current projects that I work on, it wouldn't be a good fit.

Thread Thread
 
yaser profile image
Yaser Al-Najjar

I can see how it fits pretty much into what you're doing.

Many many business don't care about resources (cuz the price is very negligible).