Autrijus Tang is well-known for developing the first working Perl 6 interpreter,
Pugs. Pugs is written in Haskell, my new favorite language. Perl.com has an interview with Autrijus, and
page 2 of that interview gets particularly interesting. Here are some quotes from Autrijus:
Haskell . . . is faster than C++, more concise than Perl, more regular than Python, more flexible than Ruby, more typeful than C#, more robust than Java, and has absolutely nothing in common with PHP.
(If it has nothing in common with PHP, it must be great, right?)
Haskell is a pure functional language optimised for conciseness and clarity. It handles infinite data structures natively, and offers rich types and function abstractions that give Haskell programs a strong declarative flavor--the entire Pugs compiler and runtime is under 3000 lines of code.
Most languages require you to pay a "language tax": code that does nothing with the main algorithm, placed there only to make the computer happy. [Java, anyone? -- jgoerzen]
On the other end of spectrum, we often shy away from abstracting huge legacy code because we are afraid of breaking the complex interplay of flow control and global and mutable variables. Besides, the paths leading to common targets of refactoring--those Design Patterns--are often non-obvious.
Because Haskell makes all side effects explicit, code can be refactored in a safe and automatic way. Indeed, you can ask a bot on #haskell to turn programs to its most abstracted form for you.
Go check out the interview (
page 2) for more, including a demo program that Autrijus wrote to show off Haskell.
Thanks to
metaperl for the link.
Comments
Fri, 05.09.2008 02:07
Republicans give lip service t o freedom and liberty but usua lly deliver a fascist form of socialism. Democrats tal [...]
Fri, 05.09.2008 00:43
First off, you mentioned "the Republicans know that their po licies aren't working" which i sn't actually true. The [...]
Fri, 05.09.2008 00:00
Though I ride to work in nothi ng like hurricane winds, I hav e been using an electric bike and it really helps figh [...]
Thu, 04.09.2008 21:23
Except that the Democrats aren 't talking about ending war, t hey are just looking to shift focus from Iraq to Afgha [...]
Thu, 04.09.2008 10:14
At least he didn't say, "A kan garoo!" http://forest.compl ete.org/posts/395-Kangaroos.ht ml
Wed, 03.09.2008 13:24
This sort of frustration comes into play when people don't u nderstand information manageme nt. Dell, being quite l [...]
Wed, 03.09.2008 12:20
I can't speak for John, and I (happily) haven't seen a recen t Dell catalog, but: I hav e yet to see a computer [...]
Wed, 03.09.2008 11:31
You falsely claimed that you f ound the materials sexually pr ovocative. That the supreme co urt ruled that the gover [...]