Writing a blog platform in Go
steve-lacey.com
steve-lacey.com
Why write a textile parser in Go? Run the JSON through one that's already written? Store the posts pre-rendered?
I actually have a static site generator that I wrote that uses Go to apply reusable templates (using the built in template package) and generate navigation that outputs static HTML only. The idea is that you store your HTML static documents in Mercurial, run the site through the site generator and rsync it to your web root. I really need to clean it up and chuck it on bitbucket.
His own blog is also very slow. Sometimes you should not reinvent the wheel but optimize it.
I don't know why he needs all the Javascript but when I open his page the whole page kind of rebuilds after 2 seconds.
The bulk of the js is disqus and a code pretty printer.
For actual performance it seems to be doing pretty well for me. See here for a before/after: http://steve-lacey.com/2011/04/perf_improvement
When I read about performance issues I just wondered why you are including all this stuff. That's why I prefer optimizations in the first place before reinventing the wheel ;)