20 ms·
I an a Rails dev and want to try something new for web development. Tempted to try Node/express or Go with one of the given frameworks. How do they compare?
by fluorid 14y ago
I an a Rails dev and want to try something new for web development. Tempted to try Node/express or Go with one of the given frameworks. How do they compare?
- dagw 14y agoHonestly by far the biggest difference between the two is the difference in underlying language. Assuming you already know JavaScript the big question you should be asking yourself (depending slightly on what other languages you already know) is, "do I want to learn a completely new language, with a rather different way of doing things". The answer to this question is far more relevant than any differences or similarities in frameworks.
- luriel 14y agoOther differences include: Go actually scales in multi-core systems and completely avoids callback-hell. Also learning to is much simpler than learning JavaScript, there are fewer pitfalls and reading the spec is easy.
- tuxychandru 14y agoAll network IO in go is non-blocking. Channels and goroutines avoid the nested callback mess. Go is also a better designed language than JS. Gorilla[1] provides nice libraries for web development in Go. [1]http://gorilla-web.appspot.com/ http://gorilla-web.appspot.com/
- tferris 14y agoSounds good—I had this feeling too about Go vs Node