UMBC ebiquity research group Building intelligent systems in open, heterogeneous, dynamic, distributed environments
16 May 2008, 06:22:52 EDT  
Ruby and Lisp and the Web

Ruby and Lisp and the Web

By Tim Finin on Sunday, December 4th, 2005 at 9:37 am.

I promised my programming languages class that we’d look at Ruby before the semester is over and now it’s time to deliver. I made this promise partly to force myself to learn more about Ruby and Rails. As it’s often the case, the instructor ends up learning much more than the students. Ruby sure looks interesting, fun and useful. We have a highly functional, semantic-web enabled site built with php and mysql, but the innards are complex and hard to understand. I’m sure that a rails implementation would be much simpler and easier to maintain and extend. I found a long and thoughtful blog post by Eric Kidd comparing Ruby and Lisp.

“Years ago, I looked at Ruby and decided to ignore it. Ruby wasn’t as popular as Python, and it wasn’t as powerful as LISP. So why should I bother?

Of course, we could turn those criteria around. What if Ruby were more popular than LISP, and more powerful than Python? Would that be enough to make Ruby interesting?

Before answering this question, we should decide what makes LISP so powerful. Paul Graham has written eloquently about LISP’s virtues. But, for the sake of argument, I’d like to boil them down to two things:

  1. LISP is a dense functional language.
  2. LISP has programmatic macros.

As it turns out, Ruby compares well as a functional language, and it fakes macros better than I’d thought.”

Ruby even has continuations, which, as Mikael Brockman shows in his entertaining post continuations on the web, simplify web programming.

Finally, if you want to check out Ruby for the first time, try why the luck stiff’s Interactive Ruby tutorial.

Related posts: • Learn LISP from a comic book!?!;  • Lisp in 500 lines of C;  • Overcoming addiction to Lisp;  

 

 

Leave a Reply

Recent posts

  • Students: brand yourself with a blog
  • Social Data on the Web workshop at ISWC 2008
  • Petrini: Streaming Applications on the Cell BE Processor, 3pm 5/13 UMBC
  • Gossip-Based Outlier Detection for Mobile Ad Hoc Networks
  • Int. Conf. Semantic Web deadlines this week and next (ISWC 2008)

  • Ebiquity community

  • Fieldmarking data blog
  • Geospatial Semantic Web
  • Harry Chen thinks aloud
  • Planet social media research
  • Social media research blog
  • TrackForward by Kolari
  • UMBC GAIM

  • UMBC