scala
Python to Scala 2.7: Check Your Spelling
Last time out, I talked about the benefits of Scala, and why I'm looking at Scala and Lift.
In that spirit, I spent some time last weekend converting Peter Norvig's simple Python spell-checker to Scala. I didn't do this conversion alone; I got some great answers from Daniel Sobral, Daniel Spiewak and finally David Winslow on Stack Overflow. David provided the answer I needed for the best way to implement the matching function in Scala 2.7.
Read on to see the conversion.
Scala, Lift, and the Future
I've been spending a decent amount of my after-hours time investigating a combination that I think will be part of the future of web programming: the Scala programming language, and the Lift web framework on top of it.
A number of high-scale, distributed systems have recently adopted Scala. Twitter's messaging queues are now handled by Scala and its Actors library. Another high-scale social game, Foursquare, uses Scala for its backend, and Lift for its web tier. (I'm excited to see a presentation about Foursquare's use of Lift at the New York Scala Enthusiasts meetup this weekend.
Rasmus Lerdorf is the inventor of PHP and author of a famous presentation at OSCMS 2007 that exposed flaws in PHP CMSs (although it showed Drupal to be light-years ahead of its open-source brethren in terms of security.) He recently cast a critical eye on Foursquare:
There are many articles about Scala on the internet, but read on to see why I'm excited.