[MacRuby-devel] a modest request

2009-04-04 Thread Rich Morin
I realize that Laurent and company have their hands full with simply trying to make JIT (etc) work on Intel hardware. So, I don't expect anyone to make this work on PPC hardware, as well (at least in the short run :-). However, it occurs to me that it might be possible to "guard" the Intel-specif

Re: [MacRuby-devel] Running the experimental branch

2009-04-04 Thread Charles Oliver Nutter
Laurent Sansonetti wrote: On Apr 4, 2009, at 7:57 PM, Charles Oliver Nutter wrote: The interesting thing about many of these microbenchmarks is that a substantial part of MacRuby's performance seems to come from one key optimization: recursive calls. If you're talking about fib or tak, then y

Re: [MacRuby-devel] Running the experimental branch

2009-04-04 Thread Laurent Sansonetti
On Apr 4, 2009, at 7:57 PM, Charles Oliver Nutter wrote: Laurent Sansonetti wrote: For instance, the optimizations that are (and will be) implemented in the experimental branch are not random but were selected after having profiled a big MacRuby/Cocoa application and found many areas where

Re: [MacRuby-devel] Accessing Obj-C InstVars from Ruby

2009-04-04 Thread Laurent Sansonetti
Hi Mathias, On Apr 4, 2009, at 7:49 PM, Mathias Sulser wrote: I started working on this. I have a failing test case and figured a way to hook in the objc lookup inside the ivar_get function. However, I haven't figured out how I can call object_getInstanceVariable with an ROBJECT.. any hints

Re: [MacRuby-devel] Running the experimental branch

2009-04-04 Thread Charles Oliver Nutter
Laurent Sansonetti wrote: For instance, the optimizations that are (and will be) implemented in the experimental branch are not random but were selected after having profiled a big MacRuby/Cocoa application and found many areas where we performed badly. I assume that other implementations are u

Re: [MacRuby-devel] Accessing Obj-C InstVars from Ruby

2009-04-04 Thread Mathias Sulser
I started working on this. I have a failing test case and figured a way to hook in the objc lookup inside the ivar_get function. However, I haven't figured out how I can call object_getInstanceVariable with an ROBJECT.. any hints appreciated. Regards, Mathias On 3 Apr 2009, at 19:29, Laurent

Re: [MacRuby-devel] Running the experimental branch

2009-04-04 Thread Laurent Sansonetti
On Apr 4, 2009, at 5:18 PM, Vincent Isambart wrote: In the comments of Charlie's latest blog post, someone showed their benchmarks of the 0.5 branch running tak(). http://blog.headius.com/2009/04/how-jruby-makes-ruby-fast.html#comments I'd like to do the same but rake isn't giving me a macruby

Re: [MacRuby-devel] Running the experimental branch

2009-04-04 Thread Charles Oliver Nutter
Richard Kilmer wrote: I don't necessarily agree that microbenchmarks are _NOT_ good indicators. I think a specific microbenchmark is not, but the point of these micro- benchmarks are to judge the speed of specific runtime units. If you run one really fast it is not a good indicator of general pe

Re: [MacRuby-devel] Running the experimental branch

2009-04-04 Thread Richard Kilmer
On Apr 4, 2009, at 8:18 PM, Vincent Isambart wrote: In the comments of Charlie's latest blog post, someone showed their benchmarks of the 0.5 branch running tak(). http://blog.headius.com/2009/04/how-jruby-makes-ruby-fast.html#comments I'd like to do the same but rake isn't giving me a macruby

Re: [MacRuby-devel] Running the experimental branch

2009-04-04 Thread Vincent Isambart
> In the comments of Charlie's latest blog post, someone showed their > benchmarks of the 0.5 branch running > tak(). http://blog.headius.com/2009/04/how-jruby-makes-ruby-fast.html#comments > I'd like to do the same but rake isn't giving me a macruby executable. How > do I go beyond miniruby and ge

[MacRuby-devel] Running the experimental branch

2009-04-04 Thread Mike Moore
In the comments of Charlie's latest blog post, someone showed their benchmarks of the 0.5 branch running tak(). http://blog.headius.com/2009/04/how-jruby-makes-ruby-fast.html#comments I'd like to do the same but rake isn't giving me a macruby executable. How do I go beyond miniruby and get a ruby c

Re: [MacRuby-devel] [MacRuby] #134: require 'rexml/document' fails

2009-04-04 Thread MacRuby
#134: require 'rexml/document' fails +--- Reporter: rebo...@… | Owner: lsansone...@… Type: defect | Status: new Priority: major |

Re: [MacRuby-devel] Unit testing in Xcode

2009-04-04 Thread Eloy Duran
No definitely not. This is Ruby, so we can do better ;-) I have not yet finished porting Rucola to MacRuby, as of yet MacRuby is not mature enough to run some code we have on RubyCocoa yet. However, the port process was started, especially on our test case helper, so this might currently wo

Re: [MacRuby-devel] Unit testing in Xcode

2009-04-04 Thread John Shea
Brian Marick has a good chapter on testing in his "RubyCocoa, bringing some love. " using standard ruby testing methodologies. You can get this as a pdf book (its not out in print yet) (I am in no way affiliated to Brian, Aaron and the other Cocoa/Ruby authors i mention on this list -

[MacRuby-devel] Unit testing in Xcode

2009-04-04 Thread Frisco Del Rosario
Is unit testing in Xcode necessarily as cumbersome as it seems to be described in http://developer.apple.com/documentation/developertools/Conceptual/UnitTesting/Articles/CreatingTests.html ? Xcode is making me miss the days I could just append a TestCase instance with TextMate and hit comma