From: Matthias Georgi Date: 2004-05-14T08:52:50+09:00 Subject: Re: Rite implementation in C++? (Objective C?) On Fri, 14 May 2004 08:23:51 +0900, Phil Tomson wrote: > I've been thinking lately that it might be easier to do a Ruby > implementation in Objective-C. Seems like it could make life a bit > easier > because Objective-C and Ruby have some things in common philosophically. > Also you could take advantage of Obj-C's collection classes where needed. > Since Objective-C is just an add-on to C it probably wouldn't be too hard > to build on existing code. Also, Objective C is supported by GCC. But you have to ship also the Objective-C runtime lib, so you have either the dependancy or it will blow up the interpreter in static builds. Recently, I was looking into ocaml and was impressed by the type inference system, proving that c++ templating is the wrong way, also the pattern matching is a nice concept. And concerning speed, ocamlc is unbeatable. Just for fun I looked at the great language shootout page and there is a nice score matrix. I typed in for CPU 1, Memory 2 and Lines of Code 3 as factors and voila, ocaml at the first two ranks and ruby at rank 5. Finally it depends on matz's language skills, impementing the interpeter is hard enough and I think, a reasonable fast implementation is possible in all of the common languages (non interpreted). -- Matthias Georgi matti_g@gmx.de