From: Dan Sugalski Date: 2002-07-21T10:49:06+09:00 Subject: Re: Objective C backend for Ruby? At 9:22 AM +0900 7/21/02, Phil Tomson wrote: >In article , >Dan Sugalski wrote: >>At 6:04 PM -0400 7/20/02, Brad Cox wrote: >>>At 5:45 AM +0900 7/21/02, Dan Sugalski wrote: >>>>I was looking at the translator aspect, translating Ruby to >>>>Objective-C. That was the part that was the real non-starter, >>>>courtesy of continuations. (I've got a paper or two kicking around >>>>about some of the interesting things that the Scheme folks had to >>>>do to get continuations going with what's essentially a C >>>>environment. It's... interesting) >>> >>>If I might throw out a suggestion, if its not broke, don't fix it. >>>Ruby's written in C so its ALREADY written in Objective-C. Leave >>>that alone. >> >>I'd agree. If folks want to toss the interpreter, you might as well >>go all out and generate machine code directly. It turns out not to be >>nearly as tricky to do semi-portably as most people think. (Well, at >>least as much as I thought) >> > >OR, target Parrot which we certainly hope will offer some speed ehancement >over the current Ruby implementation... Right, but that's not tossing the interpreter--you're just substituting one for another. (Which isn't to say that there's no advantage to Parrot, of course... :) -- Dan --------------------------------------"it's like this"------------------- Dan Sugalski even samurai dan@sidhe.org have teddy bears and even teddy bears get drunk