Oren Shani wrote:
> Jörg W Mittag wrote:
>> Oren Shani wrote:
>>> Have anyone tried the Red Sun Flash Ruby VM?
>>> 
>>> http://github.com/jonathanbranam/redsun/tree/master
>>> 
>>> It looks like a great concept, does anyone here have any experience with
>>> it?
>> 
>> Judging by the commit history, it looks rather dead, unfortunately.
>> 
>> jwm
> 
> Yea, I thought so too... Shame...
> 
> Do you happen to know of any other way to use Ruby with a Flash-based 
> gui?
> 
> Thanks,
> 
> Oren

Yes, unfortunately I had very little interest in Red Sun either from the 
Ruby and Flash communities or from a standpoint of having sponsorship of 
my work on it. It was a good project that I did when I had free time, 
but that is not sustainable in the long run.

The main drawback of it is that there is no interpreter or compiler, so 
you have to either precompile or have a server running to do your 
compilation.

The state of the code is also very much in infancy. There is little 
accurate garbage collection of the stack due to a few calls in the Ruby 
VM where it actually makes a method call with data beneath the current 
stack on it as valid. I mean the internal Ruby stack, not the program 
call stack. These could be fixed, I'm sure, but I ran into complications 
with my attempt to make the VM stackless.

The other issue is that the Ruby core library is written almost entirely 
in C and requires porting for even the most basic functionality. It 
would be possible to use some of Rubinius' core library, but even 
Rubinius has stopped implementing most of it in Ruby and does it in C++ 
now.

I have a hope to implement a lighter and smaller dynamic language in 
ActionScript and I have implemented a subset of Lisp already, but again 
this is just something I do in my free time and it is difficult to 
sustain.

Thanks for the interest, however!
-Jonathan
-- 
Posted via http://www.ruby-forum.com/.