Live data from Hacker News

Go-powered web-services with Rails

areyoufuckingcoding.me

21–27 of 27 posts

Re: Go-powered web-services with Rails

#21
post #12

Earlier quoted context omitted.

Meme-based blogging style != in a well written, multi-page article he added 2 meme pictures for fun.

It's 3 three meme pictures. And "hater" or "motherfucker" are words that I expect from children, but not from a grown-up writing a blog post.

>It's 3 three meme pictures. And "hater" or "motherfucker" are words that I expect from children, but not from a grown-up writing a blog post.

If you are over 60 or new to this Information Superhighway, maybe...

Re: Go-powered web-services with Rails

#22
post #3

His basic point seems to be "use the right tool for the right job", which I think we all can agree with. I've been programming stuff in Go for about half a year now and I'd have to agree with the author - building a website in Go doesn't make much sense, for many of the same reasons building a website in c or java (for me the java process is too slow) doesn't make much sense. On the other hand, the concurrency model…

My experience is the opposite. I build websites in Go. I find it about as easy as building in Python. Web programming is mostly about filling html templates with data and Go's built-in html template is excellent (on par with Django templates). Comparing Go to C for web dev is ridiculous - no sane person would write the whole thing in C. Even compared to Java Go wins by a huge margin when it comes to speed of developm…

I'd be interested reading further on this. Can I encourage you to post a blog about it.

Re: Go-powered web-services with Rails

#23
> I stubbornly believe that efforts to clone Rails in any other programming language (Go included) are just ridiculous.

Why? There are other languages that are just as powerful. From a social/community standpoint, Rails does have a big advantage of a large established community with very good dynamics and practices. Neither Ruby nor Ruby on Rails is the be-all or end-all of computation, however. Maybe cloning Rails is ridiculous. What people should strive to do is surpass it.

Re: Go-powered web-services with Rails

#24
post #3

His basic point seems to be "use the right tool for the right job", which I think we all can agree with. I've been programming stuff in Go for about half a year now and I'd have to agree with the author - building a website in Go doesn't make much sense, for many of the same reasons building a website in c or java (for me the java process is too slow) doesn't make much sense. On the other hand, the concurrency model…

My experience is the opposite. I build websites in Go. I find it about as easy as building in Python. Web programming is mostly about filling html templates with data and Go's built-in html template is excellent (on par with Django templates). Comparing Go to C for web dev is ridiculous - no sane person would write the whole thing in C. Even compared to Java Go wins by a huge margin when it comes to speed of developm…

What frameworks do you use for this?

Re: Go-powered web-services with Rails

#25

I've been writing a web app with Go for the past weeks, and for what I can say is that yes, Go has less magic in it, and if you don't do it right, you'll get a lot of duplicated code. It's not designed from the ground up as a web language so it might not be as suitable to write web apps using Go as other languages, but it's a real pleasure to write in Go.

> It's not designed from the ground up as a web language so it might not be as suitable to write web apps using Go as other languages

By that logic, Ruby shouldn't be suitable to write web apps either.

Re: Go-powered web-services with Rails

#26
post #20
post #17

Earlier quoted context omitted.

As a rule of thumb, I just assume I'm reading the English writings of a Russian when I see vocabulary like that :)

I beg your pardon? This kind of language is prevalent in the writing of US/English teens and young people. Absolutely nothing "Russian" specific about it.

Russian language speakers tend to use strong language more frequently and with even less intent than US teens.

http://www.itar-tass.com/en/c39/176798.html

I'm not trying to be derogatory in any way; that's just how language is used there.

Re: Go-powered web-services with Rails

#27

So, in nutshell: Build your web apps in something hyper productive like rails to proof of concept them, then find the high load bits and replace them with a go service. Seems like reasonable, if generic advice: prototype quickly, then go back and rebuild in something performant if its successful. Iterate quickly, etc. etc.

This has been the practice in Ruby for quite a long time (albeit without Go). Usually high load/slow areas are rewritten as a C module.

So yeah, sound advice but nothing revolutionary. Go looks nice though.

Post reply on HN