Hi 4tH-ers!
I bumped into a discussion on YARV, which has made Ruby 4x times faster, so I decided to make a tiny benchmark. Just calculate FIB(34). Now, I got an ancient Ruby on my system (never use it) so, the Ruby on you machine will probably do better. Still, I was ready to get my backside whipped. Here it comes:
habe@linux-471m:~/
4th.dev> time 4th cxq fib.4th
real 0m0.656s
user 0m0.632s
sys 0m0.004s
habe@linux-471m:~/
4th.dev> time ruby fib.rb
real 0m7.869s
user 0m7.864s
sys 0m0.004s
Wow! Now I understand why some people find it so fast!