# Has anyoune tried Red Sun

**URL:** <https://www.ruby-forum.com/t/has-anyoune-tried-red-sun/173196>\
**Category:** Ruby\
**Created:** [August 4, 2009, 8:05pm UTC](https://www.ruby-forum.com/t/has-anyoune-tried-red-sun/173196 "2009-08-04T20:05:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![orenshani](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/e47c2d/32.png) [@orenshani](https://www.ruby-forum.com/u/orenshani)\
**Post date:** [August 4, 2009, 8:05pm UTC](https://www.ruby-forum.com/t/has-anyoune-tried-red-sun/173196/1 "2009-08-04T20:05:18Z")

</div>

Hi All,

Have anyone tried the Red Sun Flash Ruby VM?

> **[GitHub - jonathanbranam/redsun: Red Sun - Ruby to Flash compiler and framework](https://github.com/jonathanbranam/redsun/tree/master)**
>
> master

It looks like a great concept, does anyone here have any experience with  
it?

Thanks,

Oren

---

<div class="post-metadata">

**Author:** ![orenshani](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/e47c2d/32.png) [@orenshani](https://www.ruby-forum.com/u/orenshani)\
**Post date:** [August 5, 2009, 1:20am UTC](https://www.ruby-forum.com/t/has-anyoune-tried-red-sun/173196/2 "2009-08-05T01:20:40Z")

</div>

Oren S. wrote:

> Have anyone tried the Red Sun Flash Ruby VM?
> 
> [GitHub - jonathanbranam/redsun: Red Sun - Ruby to Flash compiler and framework](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

---

<div class="post-metadata">

**Author:** ![orenshani](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/e47c2d/32.png) [@orenshani](https://www.ruby-forum.com/u/orenshani)\
**Post date:** [August 5, 2009, 11:57am UTC](https://www.ruby-forum.com/t/has-anyoune-tried-red-sun/173196/3 "2009-08-05T11:57:11Z")

</div>

JÃ¶rg W Mittag wrote:

> Oren S. wrote:
> 
> > Have anyone tried the Red Sun Flash Ruby VM?
> > 
> > [GitHub - jonathanbranam/redsun: Red Sun - Ruby to Flash compiler and framework](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

---

<div class="post-metadata">

**Author:** ![orenshani](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/e47c2d/32.png) [@orenshani](https://www.ruby-forum.com/u/orenshani)\
**Post date:** [August 5, 2009, 8:30pm UTC](https://www.ruby-forum.com/t/has-anyoune-tried-red-sun/173196/4 "2009-08-05T20:30:49Z")

</div>

Oren S. wrote:

> JÃ¶rg W Mittag wrote:
> 
> > Oren S. wrote:
> > 
> > > Have anyone tried the Red Sun Flash Ruby VM?
> > > 
> > > [GitHub - jonathanbranam/redsun: Red Sun - Ruby to Flash compiler and framework](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

---

<div class="post-metadata">

**Author:** ![orenshani](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/e47c2d/32.png) [@orenshani](https://www.ruby-forum.com/u/orenshani)\
**Post date:** [August 5, 2009, 12:43pm UTC](https://www.ruby-forum.com/t/has-anyoune-tried-red-sun/173196/5 "2009-08-05T12:43:50Z")

</div>

Oren S. wrote:

> Do you happen to know of any other way to use Ruby with a Flash-based  
> gui?

Project Sprouts might be of interest to you:  
[http://rubyforge.org/projects/sprout](http://rubyforge.org/projects/sprout)
