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
Sat, 06.09.2008 17:14
"real insight" meaning somethi ng questionable or something b ad to say? The folks who spea k and show their faces o [...]
Sat, 06.09.2008 01:00
Anything is fixable in the sam e sense that any turing compli ant programming language can d o what any other TC lang [...]
Fri, 05.09.2008 22:14
Sarah has her doctor, the doct or is in Wasilla, AK, which is 810 miles away from Junuea, w here she lives in the Go [...]
Fri, 05.09.2008 16:22
Anything is fixable. It might be hard, but it is doable. Every country has its problem s, too. There is no pan [...]
Fri, 05.09.2008 14:38
I always find it funny reading or hearing people talk about how one side (e.g. Republicans ) are all talk but don't [...]
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 [...]