From: Aredridel Date: 2004-05-15T00:51:48+09:00 Subject: Re: Rite implementation in C++? (Objective C?) > > Have you tried RIGS or ruby-cocoa? > > No, but those don't affect the way the backend runs, right? I'm thinking > that a pure ObjC backend would support native threads and be relatively fast, > things desired out of Rite. Well, things written in ObjC appear as Ruby classes -- it becomes a second backend of sorts. Ruby code is still run by the C interpeter, but it can call ObjC classes. > I could be talking out of something other than my mouth, but I'd like to see > someone who knows what their talking about give an informed opinion :-> Rite or another implementation -could- be written in ObjC, and I'd love to see it happen. Portability to Windows is an issue, but I'm content there. There are some things in Ruby that don't map to ObjC, so a backend that simply compiled Ruby to ObjC can't happen: things like eval would have to invoke the compiler, and Ruby allows a few things (like adding member variables to classes at any time) that ObjC doesn't. Ari