RubyInline C

For general discussion related FlowStone
Post Reply
User avatar
TheAudiophileDutchman
Posts: 46
Joined: Tue Jul 13, 2010 1:36 pm
Location: Apeldoorn, The Netherlands

RubyInline C

Post by TheAudiophileDutchman »

Would it be possible to use RubyInline with the FS Ruby module for loop optimization in C?

Here's a RubyInline example claiming a 100x speed-up, after some Ruby profiling that is: :o
http://segment7.net/projects/ruby/inline_optimization.html#4
T A D - since 2005
infuzion
Posts: 109
Joined: Tue Jul 13, 2010 11:55 am
Location: Kansas City, USA, Earth, Sol

Re: RubyInline C

Post by infuzion »

Why do it 1/2 way, why not ask for full on C++ then? Or at least C++ interpreter?
User avatar
TheAudiophileDutchman
Posts: 46
Joined: Tue Jul 13, 2010 1:36 pm
Location: Apeldoorn, The Netherlands

Re: RubyInline C

Post by TheAudiophileDutchman »

TheAudiophileDutchman wrote:Would it be possible to use RubyInline with the FS Ruby module for loop optimization in C?

Just looking for an answer to this question, as the Devs have already decided to integrate Ruby in FS 2.0 and the current FS 3.0 (in the past they also have experimented with LUA IIRC).
T A D - since 2005
User avatar
support
Posts: 151
Joined: Fri Sep 07, 2012 2:10 pm

Re: RubyInline C

Post by support »

Looks interesting we'll have a look.
User avatar
TheAudiophileDutchman
Posts: 46
Joined: Tue Jul 13, 2010 1:36 pm
Location: Apeldoorn, The Netherlands

Re: RubyInline C

Post by TheAudiophileDutchman »

support wrote:Looks interesting we'll have a look.

Much appreciated.
T A D - since 2005
Post Reply