From: Richard Dale Date: 2005-02-07T06:55:11+09:00 Subject: Re: Benchmark Mono - Ruby Eric Hodel wrote: >> I've read that the Iron Python guy that Microsoft hired, is pleased >> with the >> progress he has made, and last I heard he was tackling the problem of >> static methods, being static. But to me, that doesn't mean that the >> CLI was >> designed for dynamic languages, or that it's a particularly good place >> to >> start. > > If that guy is having so many problems, porting Ruby to C to interact > with C libraries will be impossible! There are different ways of interfacing languages to each other. You can certainly define a procedural api in C, such as the ruby one, to interface to an OO language. And a very nice easy to use api it is too. It doesn't mean you can define a common object oriented type system between ruby and C (or C#), embodied in something like the CLR, so you don't need that procedural api to interface between languages. You might have a common string type used in both ruby and C, and then you wouldn't need to use rb_str_new() and StringValuePtr() anymore. -- Richard