Live data from Hacker News

Go as an alternative to Node.js for very fast servers

bbs.studygolang.com

151–160 of 168 posts

Re: Go as an alternative to Node.js for very fast servers

#151
post #106

Earlier quoted context omitted.

Maybe because a lot of choice has been removed from the system? I've worked with a bunch of people from different countries and find that the more strict the gov't, the less they like choice, in general. All anecdotal of course... Giving one guy from the Ukraine the typical choices at a restaurant here in the US would freeze him in place. What would you like to drink? Tea Sweetened or Unsweetened? Sweet. frustration…

> My brain requires braces to line up in the left column, > anything else slows me down. Maybe I'm just old? One amazing property of humans is our ability to re-shape ourselves in new environments; to literally learn new tricks. The handicap you identify here is only serving to diminish your potential.

I'm not sure it's a handicap...

I've been paid for work in roughly 12 different programming languages over a 28+ year career, among them python (no braces at all, significant white-space), Rexx (keywords as braces), C, C++, Perl, Pascal, Bourne shell, Awk, C#, (braces braces and more braces), x86 assembler and several employer specific scripting tools.

Guess which ones are most comfortable? Certainly not python though it is the most bang for the buck of the languages I use and I'd rather eat hospital food for the rest of my life than write (or, deity forbid read) one more line of x86 assembler.

What was it we were talking about again?

Re: Go as an alternative to Node.js for very fast servers

#152

Earlier quoted context omitted.

Maybe because a lot of choice has been removed from the system? I've worked with a bunch of people from different countries and find that the more strict the gov't, the less they like choice, in general. All anecdotal of course... Giving one guy from the Ukraine the typical choices at a restaurant here in the US would freeze him in place. What would you like to drink? Tea Sweetened or Unsweetened? Sweet. frustration…

It does not make sense to group peoples reaction to choice like this. As a counter example Apple products are very popular in the USA and other Western Countries, and Apple does not give you many choices.

I used a lot of weasel words in my comment to avoid follow up comments like this.

Maybe, anecdotal etc...

It was simply something I noticed from lots of years working with lots of people from lots of different countries. No offense was intended.

Re: Go as an alternative to Node.js for very fast servers

#153

Earlier quoted context omitted.

> My only gripe is its intended use as a systems programming language. It's not. It's a new Java, not a new C++. > ie: hard to bind other languages to it through an FFI. More or less impossible: GC and goroutines are not optional so you'd need to cleanly setup and shutdown the Go runtime. You'd have to embed Go as you do Lua or Python.

> > My only gripe is its intended use as a systems programming language. > It's not. It's a new Java, not a new C++. Not according to the Go developers. "Go is a general-purpose language designed with systems programming in mind." http://golang.org/ref/spec#Introduction

It's not the first time they could be quoted with completely off-their-rocker statements.

Re: Go as an alternative to Node.js for very fast servers

#154
post #113

Earlier quoted context omitted.

What's easier about deploying Go vs with the JVM? Deploying stuff I've written in Clojure has been pretty easy.

It's more your 'typical' Java app. Which is often the huge array of JARs and folder structure you typically need to bootstrap.

My understanding is you can just build an uberjar that contains all that, then just drop that jar on your sever and run it (java -jar myuberjar.jar).

Re: Go as an alternative to Node.js for very fast servers

#155
post #34

Earlier quoted context omitted.

I'm really uncertain about node being judged more "mature". Being developed by Thompson and Pike makes you gain something like 30 years of "maturity". Plus, running in production in the Google infrastructure is far more of a proof of maturity than running the chat service of every hackathon project for 2 years.

Two smart guys writing a programming language instantly gets you 30 years of maturity. Did I just wake up in some bizarro universe or something ? And nobody cares if Go is being used for some tiny, insignificant part of the Google infrastructure. Get back to me when it is used for a stock exchange, betting site or complex web app.

What stock exchange is powered by node.js?

Re: Go as an alternative to Node.js for very fast servers

#156

Earlier quoted context omitted.

> Go really isn't that young either. It's been what at least 4 years now? There's no excuse. It's not like the language is 6 months old. 1.5 if you count from the first stable release. Which IMHO is what matters, before was just a experiment with a lot of uncertainties. It took ruby 9 years to arrive from 1.0 to Rails. They were other times, sure, but still. I still consider it very young, or at least I don't know of…

I'll believe it when I see it. Almost nothing has changed since I went through my Go adventure which was like 9 months ago I think. 9 months to me is a huge amount of time. I don't want to have to wait years to be super productive. I want to be super productive right now and by using other platforms I can be. For a new viable web platform to be accepted it needs to really explode in popularity. It has to offer MASSIV…

> but I think you would at least agree with me that node's popularity and growth has been unmatched.

Of course I agree. But node is an unique case, since javascript is not exactly new, and had a trillion people using it when node appeared. You can not expect that to happen again any time soon, unless all main browsers start supporting client-side PHP or something crazy like that.

Go is not 'there' yet, sure, and maybe it'll never be. But its growth can not be judged by node's standards, no really new language could compete then.

For a new language is growing quite good: http://www.google.com/trends/explore?q=golang#q=golang&cmpt=...

Of course this doesn't mean you have to use it, but IMHO it can not be regarded as a failure in anyway.

Re: Go as an alternative to Node.js for very fast servers

#157
post #140

Earlier quoted context omitted.

There is no significant difference in this benchmark. Do you measure something different?

I didn't measure, no. I suppose maybe it uses the optimized compiled packages code, and the main code doesn't really do anything, so -O2 doesn't matter. However, I would still expect "-threaded" to have an effect.

Yes, a negative one for this benchmark :)

Re: Go as an alternative to Node.js for very fast servers

#158

Earlier quoted context omitted.

>> wrk > ab Can you please expand on why? I recently bumped on wrk and am in process of evaluating switch from ab, thank you

daemon13, you might also be interested in reading this thread: https://news.ycombinator.com/item?id=6114282

thank you!

Re: Go as an alternative to Node.js for very fast servers

#160
post #34

Earlier quoted context omitted.

I'm really uncertain about node being judged more "mature". Being developed by Thompson and Pike makes you gain something like 30 years of "maturity". Plus, running in production in the Google infrastructure is far more of a proof of maturity than running the chat service of every hackathon project for 2 years.

Two smart guys writing a programming language instantly gets you 30 years of maturity. Did I just wake up in some bizarro universe or something ? And nobody cares if Go is being used for some tiny, insignificant part of the Google infrastructure. Get back to me when it is used for a stock exchange, betting site or complex web app.

dl.google.com handles all the downloads for google chrome, factory images for android, eclipse.. not exactly tiny and especially not insignificant

complex web app: Cloudfare https://www.cloudflare.com/railgun BBC http://www.quora.com/Go-programming-language/Is-Google-Go-re... Soundcloud http://backstage.soundcloud.com/2012/07/go-at-soundcloud/

Post reply on HN