News for hackers. Stuff that matters.
Re:Thoughts on Go after writing 3 websites by kkowalczyk on Monday December 31, 2012 @09:07PM (#4991626)
(I wrote the article and 3 web apps on Go).

I would be much more uncomfortable running on uWSGI than on net/http. As far as I can tell (https://github.com/unbit/uwsgi/blob/master/plugins/go/src/uw...) Go's uWSGI implementation is just a small wrapper over C code inside a dll.

It's not portable (support for cgo on Windows is extremely sketchy).

It also goes against common sense. Any code you can write in C, you can write in Go, except it'll be easier (Go is garbage collected, has built-in arrays, strings, hash tables etc.) and there's drastically smaller chance Go will have a security issues due to memory over-write.

It duplicates lots of net/http functionality.

net/http is well documented, well tested, reviewed by extremely knowledgeable people.

Most importantly, it is being used in production by me and many other people.

Finally, net/http gave me everything I needed to write my web applications. Before I would even considering using uWSGI (or anything else) someone would have to explain what exactly does it provide that is so indispensable for writing web apps.

Re:Thoughts on Go after writing 3 websites by unbit on Tuesday January 01, 2013 @04:08AM (#4992241)
If net/http (or whatever http wrapper in whatever language) gives you enough batteries for a web application i am really happy for you.

Sadly me (and a lot of other people) need a lot more.

That is why the uWSGI project exists. Things like logging, clustering, statistics, multi protocol support, alarms, time events, request routing and blah blah are added to your app for free (and the funny thing is that you can tune lot of internals without rebuilding your app).

Obviously if not having windows support is a too much high price for you the discussion ends here :)

Re:Thoughts on Go after writing 3 websites by mitchi on Tuesday January 01, 2013 @12:20AM (#4991938)
You have basically just described the advantages of the D language too. Do you plan on trying D?
Re:Thoughts on Go after writing 3 websites by kkowalczyk on Tuesday January 01, 2013 @02:36AM (#4992113)
I did try D when it was in its early days (i.e. D 1) but at the time I was put off by lack of documentation, the standard library split (phobos vs. D) and general immaturity of the system. I'm sure things have improved since then but I really like Go's simplicity.
Re:Thoughts on Go after writing 3 websites by kaib on Tuesday January 01, 2013 @01:26AM (#4992006)
I've written some hundred thousand lines of production code in Go and D and feel they are very different languages. To sum it up: Go is a better C while D is a better C++.