From: "Grzegorz Chrupała" Date: 2004-07-19T22:52:10+09:00 Subject: Re: Which compiled language is closest to Ruby? Gully Foyle wrote: > I am currently using C++ as my compiled language but fell in love with > Ruby recently :) > > Which compiled language is the closest to ruby? Are there any that are > object-oriented and have support for blocks/closures? Apart from ML dialects such as SML or Ocaml, there are Lisp variants. These are also closer to Ruby than ML in that they dynamically typed. Eg: Common Lisp (supports closures and generic OO with CLOS, most implementations compile to native code). Some Schemes, such as Chicken or Bigloo. Both have object systems and compile to C (and Java in Bigloo's case). And a less well known Lisp, Dylan. -- Grzegorz Chrupała | http://pithekos.net | grzegorzc@jabber.org To describe religions as mind viruses is sometimes interpreted as contemptuous or even hostile. It is both. -- Richard Dawkins, A Devil's Chaplain