Re: [MacRuby-devel] Using compiled MacRuby objects from an Objective-C application

2010-12-27 Thread Justin Schumacher
Laurent, I've added a ticket for the RBO loading API method. The 0.9 seconds does not include the sharedRuntime initialization.I just clocked that initialization at 0.6 seconds. It looks like there's some WebKit stuff going on during initialization, as I always see these warnings (I use MacR

Re: [MacRuby-devel] Using compiled MacRuby objects from an Objective-C application

2010-12-26 Thread Laurent Sansonetti
Hi Justin, On Dec 23, 2010, at 2:27 PM, Justin Schumacher wrote: > Laurent, > > I made the switch to rbo files. The load time was 3.6 seconds with .rb files > and 0.9 seconds with .rbo files. That's a good improvement and is acceptable > for my project for the time being. Does the 0.9 sec

Re: [MacRuby-devel] Using compiled MacRuby objects from an Objective-C application

2010-12-23 Thread Mario Steele
Hello Justin, On Thu, Dec 23, 2010 at 5:27 PM, Justin Schumacher < jus...@sweetspotdiabetes.com> wrote: > Laurent, > > I made the switch to rbo files. The load time was 3.6 seconds with .rb > files and 0.9 seconds with .rbo files. That's a good improvement and is > acceptable for my project for

Re: [MacRuby-devel] Using compiled MacRuby objects from an Objective-C application

2010-12-23 Thread Justin Schumacher
Laurent, I made the switch to rbo files. The load time was 3.6 seconds with .rb files and 0.9 seconds with .rbo files. That's a good improvement and is acceptable for my project for the time being. I did notice that the Objective-C API method 'evaluateFileAtPath' cannot accept rbo files. To lo

Re: [MacRuby-devel] Using compiled MacRuby objects from an Objective-C application

2010-12-21 Thread Laurent Sansonetti
Hi Justin, Linking MacRuby object files into a pure Objective-C program is still tricky to do, and it has not been tested very well. I will look at writing some use case tests for macrubyc and see if we can get everything in good shape for the next release. I recommend to stick to .rbo compila

[MacRuby-devel] Using compiled MacRuby objects from an Objective-C application

2010-12-20 Thread Justin Schumacher
I'm working on an application that is primarily Objective-C but uses MacRuby as a plugin language (the application also has a C# / IronRuby counterpart on Windows, allowing for the plugins to be cross-platform). I've been loading the ruby files at runtime using the Objective-C MacRuby API's shared