3 ms·
The advantage of nodejs over go for web apps is the live reload / recompile tool chain. golang has some really nice apis for back end servers, single binary,
by rad_gruchalski 6y ago
The advantage of nodejs over go for web apps is the live reload / recompile tool chain. golang has some really nice apis for back end servers, single binary, no runtime deployment is really great. But golang lacks in that live reload feedback loop.
I do a lot of golang but whenever I want to do something web browser facing, I cave in for nodejs. Especially in the exploratory phase when building front / back end together.
- domano 6y agoWith the compile speed of go i mostly could get into that same style of development as with dynamic languages. I think with generics this will get even closer, because of the plethora of libraries that will be released when generics land.
- laxk 6y agoYou can try to use https://github.com/githubnemo/CompileDaemon https://github.com/githubnemo/CompileDaemon, it is pretty stable and just works at least on Linux/OSX.
- matwood 6y agoHaving used both go and node, the go compile speed is fast enough that I don't really notice a difference.