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
Tue, 26.08.2008 15:46
On a Decwriter IV, the print h ead usually obscures the last couple of characters before th e text. There is a speci [...]
Tue, 26.08.2008 11:29
I should have warned you. It only works on wheat.
Tue, 26.08.2008 07:31
John, the comment I left on th e previous post belongs up her e. Sorry.
Tue, 26.08.2008 07:28
John, I tried your 'TERM=escpt erm telnet localhost > /dev/lp 0' trick and I still have wee ds in my corn field.
Mon, 25.08.2008 11:23
One of the mailing lists I'm o n was looking for one too[0]. Lord only knows what evil they want it for ;-) When I [...]
Mon, 25.08.2008 08:46
On a teletype the typebar move s out of the way immediately a fter each character is printer . You can see what you a [...]
Sun, 24.08.2008 23:12
Ah, the AB1 is probably the be st single best piece of machin ery I've ever owned. It has b een reliably waking me u [...]
Sun, 24.08.2008 20:48
In classic ribbon type printer s the print head would jump up , print, return down, such tha t if typing slowly you c [...]