Live data from Hacker News

I rewrote my blog in Go

ironzebra.com

31–40 of 77 posts

Re: I rewrote my blog in Go

#31
post #10

It seems that people on hn just fell in love with go. So many new articles lately. It's like the node.js fever all over again.

I thought the flavor this week was Julia. or Elixir. We are so fickle.

Neither has had many posts on HN. Nothing compared to Go or Node or RoR back in the day, anyway.

Re: I rewrote my blog in Go

#32
post #30
post #15

Earlier quoted context omitted.

Or Ruby on Rails, Arc, or whatever is the flavour of the year. Additionally it is funny to see the usual comparisons of young developers discovering execution and compilation speeds already possible in 16 bit systems.

Hey, you forgot to mention Oberon! :-)

You get an upvote :)

Re: I rewrote my blog in Go

#33
"I am now loading less static assets. I removed the Disqus comments and the many many lines of CSS from the old site and replaced it with only a couple of lines of CSS alongside a CDN-hosted copy of Twitter Bootstrap. Finally, the Go site is deployed to a free instance of Heroku and the MongoDB hosted on a developer version of Mongolab, while the old Django site was hosted on a Webfaction shared server."

So...the Python/Django to Go/Revel comparison is basically worthless then? These are huge changes that completely invalidate any speed improvement the author is trying to prove are a result of using Go.

A lot of upvotes for an article with an obviously flawed conclusion.

Re: I rewrote my blog in Go

#34
I think the comparison is a little misleading as the author admitted that the newer version is slimmer and tighter. Django is heavy. It'd be interesting if somehow the author could have used Bottle (Python) and compare it to Revel (Go).

Re: I rewrote my blog in Go

#35
post #21

OT but please don't put the solutions for Project Euler problems on GitHub, it is directly against the rules ( http://projecteuler.net/about , section "I learned so much solving problem XXX so is it okay to publish my solution elsewhere?"). You can put the solutions in the dedicated thread on the site though if you want to share :)

First, just a note, you can only see that section if you're logged in. Second, I disagree that it is 'directly against the rules' - no where there does it say specifically that you must not post solutions elsewhere. I think the intent is there - but if someone simply cribs off another answer somewhere, they're not really learning anyway and are really robbing themselves. Project Euler is altruistic anyway and there's…

Ok, it may not be "directly against the rules", but it is definitely dicouraged:

    > I learned so much solving problem XXX so is it okay to publish 
    > my solution elsewhere?

    It appears that you have answered your own question. 
    There is nothing quite like that "Aha!" moment when you finally
    beat a problem which you have been working on for some time.
    It is often through the best of intentions in wishing to share our 
    insights so that others can enjoy that moment too. Sadly, 
    however, that will not be the case for your readers. Real 
    learning is an active process and seeing how it is done is a 
    long way from experiencing that epiphany of discovery. 
    Please do not deny others what you have so richly valued yourself.

Re: I rewrote my blog in Go

#36
post #23
post #15

Earlier quoted context omitted.

Or Ruby on Rails, Arc, or whatever is the flavour of the year. Additionally it is funny to see the usual comparisons of young developers discovering execution and compilation speeds already possible in 16 bit systems.

I was surprised at how amazed people on one of the recent Go threads was with Go compilation speeds, given that gcc delivers similar compilation speeds for C code per line of code for me on my old, slow home server. As for 16 bit systems, I'd love to see a comparison with the Turbo Pascal compiler, for example, on modern hardware. Maybe my memory is deceiving me and the program sizes just weren't comparable, but it s…

That was also my experience with Turbo Pascal, having used all MS-DOS versions and the 1.5 Windows version.

Other languages with module systems also compile quite fast.

It would be interesting to see a table of compilation speed comparisons of compilers for languages with module systems for applications of an considerable size.

Re: I rewrote my blog in Go

#37
post #6

How did you achieve a 16 second response time for your blog ? What the heck were you doing?

On my site I figured out abnormally high load time is caused by under powered mobile devices accessing the site.

Re: I rewrote my blog in Go

#38
~15 secs to load a blog post??? Sorry - that's not a problem w/ Django. Something else goofy going on here. Whether or not Go/Revel is ninjarockstar faster than Python/Django, I don't think this is the benchmark to prove it.

Re: I rewrote my blog in Go

#39

After playing around with an Arduino in my spare time, I've realized how important it is to start thinking in multi-threaded concepts in programming. Nothing makes a better example than watching delay(); physical prevent your sketch from taking the next step. Golang (Still can't believe Google would release a language so piss poor for SEO) WILL be the language I pursue when I start down this path, but right now I don…

Save yourself the pain and go with Scala and the JVM ... mature platform with battle tested GCs, all the libraries and concurrency idioms you'll ever need and a modern FP language designed for scale.

The problem is the Mobius strip of reasoning you go through when you start to punish yourself into picking the 'best' language. Different tools for this and that sure...but I think ultimately Golang in the long run will see a more widespread adoption rate.

There will always be better tools, you just can't beat yourself up trying to pre-optimize for each one per project.

Re: I rewrote my blog in Go

#40
post #33

"I am now loading less static assets. I removed the Disqus comments and the many many lines of CSS from the old site and replaced it with only a couple of lines of CSS alongside a CDN-hosted copy of Twitter Bootstrap. Finally, the Go site is deployed to a free instance of Heroku and the MongoDB hosted on a developer version of Mongolab, while the old Django site was hosted on a Webfaction shared server." So...the Pyt…

Did you read the next sentence?

"All these things influence the validity of a direct speed comparison between the two versions, but the speed improvement is nevertheless too overwhelming to attribute only to these small changes. And in fact, many of these changes might even have negatively impacted the speed of the new version in exchange for saving on the monthly bills."

Post reply on HN