From: Christian Neukirchen Date: 2006-05-25T06:08:20+09:00 Subject: Re: Zed and Luis drop the bomb on Ruby's poor performance "Douglas Livingstone" writes: >> How about we rewrite the ruby runtime as a combination of macros and >> functions in Lisp, use ParseTree to get the S-Exp representation of a >> ruby program and then feed that into our Lisp compiler? Instant >> speedy ruby! ;) > ((defn > sum > (scope > (block > (args a b) > (return (call (lvar a) + (array (lvar b))))))) > (lasgn a (lit 3)) > (lasgn b (lit 4)) > (lasgn c (fcall pythag (array (lvar a) (lvar b)))) > (fcall puts (array (lvar c)))) > > So, it looks like Lisp to me! Now, some macros? Now try to port the Ruby object system to CL so it will have reasonable runtime performance. Good luck. > Douglas -- Christian Neukirchen http://chneukirchen.org