22 Aug '13, 2pm

JRuby vs Java performance - Ruby Forum

Na Na - [Forward Reference Note: JRuby/Java Bridge Benchmark code and results at https://gist.github.com/4580344 .] I should have mentioned, there may be ways you can code your JRuby to be faster too, so you can minimize the need to use Java. Having more JRuby and less Java would, in my opinion, be a good thing, for all the reasons that we choose to code in JRuby. As one example, when JRuby calls a Java function and passes Ruby objects to it, JRuby may need to create Java objects for those parameters (e.g. strings and numbers). If the return value is a Java object, JRuby may need to create a Ruby object with its value. Consider this JRuby irb session: jruby-1.7.2 :011 > 2.class => Fixnum jruby-1.7.2 :001 > java.lang.Math.max(2, 3) (irb):2 warning: ambiguous Java methods found, using max(long,long) => 3 jruby-1.7.2 :002 > x = java.lang.Math.max(2, 3) => 3 jruby-1.7.2 :003 >...

Full article: https://www.ruby-forum.com/topic/4410022

Tweets

The Under Armour SpeedForm: progressive, anti-retro performance

The Under Armour SpeedForm: progressive, anti-r...

crookedtongues.com 22 Aug '13, 12pm

Can we talk about a brand that isn't the same old same for once? Right now, who's creating the performance shoes that push...

Supply-Chain Disruptions Hurt Performance & Tak...

ebnonline.com 22 Aug '13, 4pm

Mitigating risks is talked about so often among supply-chain professionals, you'd think the majority of companies would ha...

@bomatson ruby circles bouncing

gilesbowkett.blogspot.com 26 Aug '13, 12am

Are you a hacker who likes to make music? You know how you feel precise control when you write code you understand, but yo...

Online Bitcoin Miner - Java & PHP by BitFarm

freelancer.com 25 Aug '13, 12am

I am building an online based Bitcoin miner / pool. I pay for the pool server, web hosting and whatever website related co...

Faster Test Suite Boot Times with Ruby on Rails...

java.sys-con.com 29 Aug '13, 2pm

Developers need to be able to run tests quickly or they will stop running them. The biggest bane of test driven developmen...