Re:Show HN: Getting started with Go and Martini
by gtrubetskoy on Monday April 27, 2015 @01:59PM
(#9447996)
Yes, services is where Go has a huge advantage over Python and Ruby in particular because of their inability to leverage SMP due to the GIL. With Go you don't need to run a whole bunch of processes behind haproxy or whatever which makes life much easier.
Re:Show HN: Getting started with Go and Martini
by dragonwriter on Monday April 27, 2015 @05:43PM
(#9449289)
> Yes, services is where Go has a huge advantage over Python and Ruby in particular because of their inability to leverage SMP due to the GIL.
That would be an advantage of Go-as-a-language over Ruby-as-a-language in a world where JRuby didn't exist.
And of course, it's totally valid to prefer the different paradigm that these provide! Hasn't been ideal for me, though.
Services though? Totally an appropriate time to fire up Go, in my opinion.
And, even then, Python (which I'm most familiar with) has downsides for JSON services. Translating from an ORM (sqlalchemy) to formatted JSON is something you have to relegate to some magical methods or do one by one, neither is a great solution.