Ray Linn wrote:
> Martin Smith wrote:
> > Hey Guys,
> >
> > Now that IronRuby 1.0 has shipped (congrats!!), what's next on the
> > docket? :) I'm not trying to pressure you guys! Just excited about the
> > future.
> > The feature i'd love to see most would be pre-compilation...
> >
> > Thanks for such a great product,
> > Martin
>
> 1. Speed up for performance (as fast as JRuby).
According to the ruby-benchmark-suite and other startup performance benchmarks
(Rails and such), we're on par with JRuby performance. Are you using the MSI
installer? If not, you'll have to NGEN the binaries yourself, which increase
performance significantly (ngen install DLLS+EXE); the MSI does this for you
(as long as you haven't unchecked the option). If you are NGEN-ing, then please
let us know where you see a significant performance difference (as Tomas just
said =P).
> 2. Pre-Compilation for easy transfering ruby components to .net (I like
> ActiveRecord!)
I'd like some more clarification on what you need to be easier. Today you can
use ActiveRecord from C# with something like this (not entirely accurate at all
but you get the idea):
// Host IronRuby
var ruby = IronRuby.Ruby.CreateEngine();
var scope = ruby.CreateScope();
// Load ActiveRecord and a ActiveRecord Model
ruby.RequireFile("rubygems", scope);
ruby.Execute("require 'active_record'", scope);
ruby.RequireFile("posts", scope);
dynamic Post = ruby.Runtime.Globals.MyModel;
// Call a very dynamic method =)
var val = Post.find_by_title_and_published("My Post", true);
Pre-compilation wouldn't help with this, as any pre-compilation support
wouldn't generate actual CLI-compliant types ... it would just take the IL that
we generate at runtime and store it in a DLL. As I mentioned before, we'd only
support producing actual CLI types through a clr-type feature, enabling of
annotating your Ruby code, and you wouldn't want to annotate all of
ActiveRecord. =)
> 3. Asp.Net MVC Ruby ext as an offical supports.
You want both MVC *AND* Rails? Geesh =P The be very frank, we'll need a lot of
community help to make IronRuby.AspNetMvc integration really good, as we're not
web-framework experts. So, please contribute -- just like Ivan has. =) I might
spend more time on it for a talk here and there, but I'd really like the
community to get much more involved, actually being a crucial force in building
out parts of IronRuby.
~Jimmy
_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core