DEV Community

[Comment from a deleted post]
Collapse
 
autoferrit profile image
Shawn McElroy • Edited

I am caught between 2.

Go: because there is a lot of great libraries for web development. And the fact I can compile a static binary and deploy onto a scratch docker container is amazing. There are things I know I would miss in the language compared to python, but there are some great benefits. Packaging has always been a bit of a headache in python.

Rust: Has awesome package management, but the libraries for web development are still young. It is also much more complex of a language. But it does a lot of things for a low-level language I think will be really big in the future. They are rebuilding Linux components in rust, making a Linux OS, compiling to WASM, etc. Though other than banging my head on Rust for web dev, there's not much I really need rust for as a language for the complexity trade-off (from python).

Collapse
 
sendilkumarn profile image
Sendil Kumar

I do agree. Go is simple and easy to learn and has a lot of web development libraries. Rust is still growing in that space.

Collapse
 
autoferrit profile image
Shawn McElroy

Yea, Rust is one that I really really want to learn. It's just not practical. I don't really do any systems-level stuff. And it's web frameworks still need work. Having to learn Rust AND then learn the frameworks would take some significant time to start being effective.

Whereas Go, you can learn the language in a day. That has a lot of benefits.

 
sendilkumarn profile image
Sendil Kumar

Yeah agree. Go on the other hand makes it easier to learn the concurrency and channels (especially CSP). But Rust in general makes you a better programmer, you will think more in terms of safety, making your program efficient and compiler will be your best friend. If you master the ownership model then everything will fall in its own place.