Program your next server in Go
31–40 of 384 posts
Re: Program your next server in Go
#32I'd love to see Nim on this diagram: https://talks.golang.org/2016/applicative.slide#13 - it could be close to the top right corner.
I'd also add D (above C++, level with Java) and Rust (above C++, close to Go).
Re: Program your next server in Go
#33What are some cases where I would choose to write a server in Go instead of in Erlang?
Erlang is bad at that.
Re: Program your next server in Go
#34What are some cases where I would choose to write a server in Go instead of in Erlang?
Re: Program your next server in Go
#35What are some cases where I would choose to write a server in Go instead of in Erlang?
First thing on duckduckgo when you search for how to write a server in erlang: http://20bits.com/article/erlang-a-generic-server-tutorial That's just ridiculous. Erlang looks like php and python had an unholy child.
Re: Program your next server in Go
#36What are some cases where I would choose to write a server in Go instead of in Erlang?
When you want to hire developers.
It is indeed hard to hire mediocre developers for Erlang: they stay away from FP.
Re: Program your next server in Go
#37Solution: design the language for large code bases
This seems crazy but whatever works. I would assume that would only buy you some wiggle room inside whatever order of magnitude of committers you have. It seems like eventually you would need to split up the code base if you are having contention issues.
Re: Program your next server in Go
#38What about debugging? This is the major pain point for me. I've tried using GDB, but... > GDB does not understand Go programs well. The stack management, threading, and runtime contain aspects that differ enough from the execution model GDB expects that they can confuse the debugger, even when the program is compiled with gccgo. As a consequence, although GDB can be useful in some situations, it is not a reliable deb…
The reality is that I don't miss it any more, for two reasons.
1. I have been forced to write solid comprehensive testing. Its a pain, but the pay off has made it worth while.
2. Because you never find all the bugs anyway, instrumentation and logging has become part of everything I do. A framework like go kit can do this out of the box for you or function as a guide for you.
Re: Program your next server in Go
#39What are some cases where I would choose to write a server in Go instead of in Erlang?
First thing on duckduckgo when you search for how to write a server in erlang: http://20bits.com/article/erlang-a-generic-server-tutorial That's just ridiculous. Erlang looks like php and python had an unholy child.
Re: Program your next server in Go
#40What are some cases where I would choose to write a server in Go instead of in Erlang?
First thing on duckduckgo when you search for how to write a server in erlang: http://20bits.com/article/erlang-a-generic-server-tutorial That's just ridiculous. Erlang looks like php and python had an unholy child.