News for hackers. Stuff that matters.
Re:Google App Engine for Go by bjg on Tuesday May 10, 2011 @04:17PM (#2533940)
While I agree that go on appengine might not take off, in no way is node.js "taking over that scene". If by scene you mean the "web app" scene. Just because node.js articles are constantly blowing up hn, reddit does not necessarily correspond to real world deployments of node.js apps.

An admittedly hastily prepared google trends graph: http://www.google.com/trends?q=node.js%2C+python+django%2C+r...

I am a node fan, I subscribe to the node-dev list and have worked on a few applications my self. However I am in no way delusional about the current blog popularity vs actual projects deploying with it.

Also you state that you are able to gain the same concurrency and speed with node that you are with Go. May I ask how you achieve this? Go usually comparable to C code in terms of performance [1]. Go also has amazing concurrency tools for efficient communication between two concurrent goroutines, for example the channel interface[2]. To my knowledge their is no way to run concurrent node processes. You can launch multiple instances of the same program but their is no way to let them communicate without sending data over a socket. You can of course use a reverse proxy to present a single entry point in which multiple node backends can take requests. However you can not claim this as concurrency in the same sense that is available with go.

[1] http://golang.org/doc/go_faq.html#Performance

[2] http://golang.org/doc/effective_go.html#concurrency

Re:Google App Engine for Go by rgbrgb on Tuesday May 10, 2011 @07:42PM (#2534525)
Go looks really nice and I'd really like to learn it especially if I can make a web app or something with it this summer.

Is there something comparable to npm or pip for go? I've seen a few go micro web frameworks but I'd really like to see a list of things like database adapters and the like which have been produced so far. The thing I find amazing about node is just how many great modules have been put out in it's short lifespan (https://github.com/joyent/node/wiki/modules). I suppose Go is a brand new language though.

Thanks!

Re:Google App Engine for Go by bjg on Tuesday May 10, 2011 @08:09PM (#2534583)
Go has a surprisingly large package list: http://godashboard.appspot.com/project

Like pip or npm, their is goinstall http://golang.org/cmd/goinstall/

Re:Google App Engine for Go by rgbrgb on Monday May 16, 2011 @03:41AM (#2551927)
Amazing, thanks!
Re:Google App Engine for Go by robfig on Tuesday May 10, 2011 @04:26PM (#2533962)
But with Go can you write your client code and your server code in the same language?
Re:Google App Engine for Go by KirinDave on Tuesday May 10, 2011 @05:03PM (#2534073)
People keep touting this, but the actual number of cases where you really want this is actually pretty limited.
Re:Google App Engine for Go by rjurney on Tuesday May 10, 2011 @05:15PM (#2534114)
With robust server-side javascript... its not hard to see the application of this. It is easier to generate executable javascript for the client on the server in javascript itself. Certainly in Web2+ you want this for increasingly dynamic behavior?
Re:Google App Engine for Go by KirinDave on Tuesday May 10, 2011 @05:40PM (#2534199)
I do want more dynamism, but I don't see why you should be passing and executing arbitrary code from a source you can only verify with the greatest of difficulty. And having executable code be your communications protocol seems like an absolute nightmare if anything goes wrong. Hell, just versioning it will be hard. It might work for some simple demo apps, but I seriously question the wisdom of such an approach with a team who's size is >1.

Why not pass Json, and write your client code. It's not like Node is so expressive that it's a big win on server side code (especially with the flood of great altjvm & altclr languages these days).

Re:Google App Engine for Go by edsrzf on Tuesday May 10, 2011 @07:28PM (#2534491)
Maybe some day: http://code.google.com/p/go/issues/detail?id=498

(Native Client is also a possibility.)

Re:Google App Engine for Go by robfig on Wednesday May 11, 2011 @12:33AM (#2535192)
Sorry, this was actually a tongue-in-cheek comment. :)
Re:Google App Engine for Go by rjurney on Tuesday May 10, 2011 @04:40PM (#2534006)
I'd like to see more server-side XLST.