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.
I rewrote my blog in Go
31–40 of 77 posts
Re: I rewrote my blog in Go
#32Earlier 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! :-)
Re: I rewrote my blog in Go
#33So...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
#34Re: I rewrote my blog in Go
#35OT 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…
> 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
#36Earlier 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…
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
#37How did you achieve a 16 second response time for your blog ? What the heck were you doing?
Re: I rewrote my blog in Go
#38Re: I rewrote my blog in Go
#39After 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.
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"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…
"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."