New
The latest blog posts to take off on Hacker News. 3,709 posts.
Visualization of the Grammars of Ruby, Java and Javascript
As part of the momentum surrounding the Ruby implementer’s summit , I have decided to take on a pet project to understand Ruby’s grammar better, with the goal of contributing to an implementation-independent specification of the grammar. Matz mentioned during his keynote how parse.y was one of the uglier parts of Ruby…
Next permutation: When C++ gets it right
An investigation into a classic algorithm for generating the distinct permutations of a sequence in lexicographical order. A Word Aligned article posted 2009-11-19, tagged Puzzles, C++, Algorithms, Python, Google.
Idiomatic Clojure
I’m starting to wind down my Clojure research, but I’m feeling a little guilty about having exposed people to my klunky Lisp-newbie code, perhaps giving a false impression of how the language feels. So I’d like to show you what it looks like when it’s created by someone who’s actually part of the tribe and thinks in…
Secret Perl Operators
I love Perl because of its expressiveness. You can write incredible code and it feels just so natural compared to other languages. Here are 8 secret Perl operators that I often use. Only one of them is a real operator (first one). The others are syntactic tricks that make them look like operators but they are not…
Bram Cohen: Comments on Go
Here are my preliminary thoughts on the Go programming language. The most interesting feature for me personally is the built-in threading. Aside from its superb support for multi-core, it's just plain a good set of ways of doing networking. The lack of a decent built-in networking library (and…
Haskell is beautiful in practice
I’ve been writing a bit of Haskell lately (see my GitHub page ), and it’s an absolutely beautiful experience. And I mean that in every way: The language itself of course, but also the community, the documentation, the package system and the Haskell platform ultimately help make the practice of writing Haskell more…
Japanese Teenage Boy Improved Ruby 1.9 Performance By Up To 63%
Japanese online magazine, @IT Jibun Senryaku Lab. (information site for IT engineers to educate and/or develop oneself), published an interv...
Clojure N00b Tips from Tim Bray
Clojure is the new hotness among people who think the JVM is an interesting platform for post-Java languages, and for people who think there’s still life in that ol’ Lisp beast, and for people who worry about concurrency and state in the context of the multicore future. Over the last few days I’ve been severely…
You Could Have Invented Monads! (And Maybe You Already Have.)
A more permanent version of this article is stored at GitHub . Please link to that rather than to here. If you hadn't guessed, this is about...