<chrisseaton>
try java_import Foo after you modify the classpath
<shafire>
NameError: uninitialized constant Foo in that line
<shafire>
but java_import 'Foo' worked :S
<chrisseaton>
great - or put the class in a proper package
<chrisseaton>
If you have a package that starts com.... or org... JRuby will guess it's a Java class, otherwise how would it know that Foo is supposed to come from Java?
<shafire>
java_import Java::Foo works too, is this also a correct way?
<chrisseaton>
shafire: I think there are several ways to do it, but com and org packages are the most elegant as they don't require java_import
<bjfish2>
chrisseaton going to add transpose to array.rb sound good? I see you were doing array.rb too
<shafire>
chrisseaton: thanks
<shafire>
I think, I got a good solution now
<chrisseaton>
bjfish2: I'm only doing little stuff I need there for Hash - you should be pretty free to work on array
<chrisseaton>
bjfish2: just don't remove existing Java implementations unless it's obvious they aren't designed for performance
<shafire>
chrisseaton: Even from Groovy :-)
yfeldblu_ has joined #jruby
yfeldblum has quit [Ping timeout: 245 seconds]
iamjarvo_ has joined #jruby
iamjarvo has quit [Ping timeout: 245 seconds]
marr has joined #jruby
shafire has quit [Quit: Page closed]
<chrisseaton>
bjfish2: we're trying to get all of Hash, Array and String done this month, so if you could hack away at the higher level Array methods that would be awesome
<bjfish2>
chrisseaton okay i’ll try to do that, I was able to test byteslice yesterday and i think the rubinius version was faster than MRI and the java I wrote, not sure why though
<bjfish2>
*rubinius code on jruby+truffle+graal
<chrisseaton>
I would hope that we would be able to run Rubinius code faster than Rubinius in the long term - we have a much more capable JIT - but it probably won't be the case all of time yet
<chrisseaton>
and when I say much more capable that's a technical opinion - we have things like escape analysis that they do not
<bjfish2>
it’s looking promising I think, if it’s running that well unmodified
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] bjfish opened pull request #2665: [Truffle] Adding Array#transpose to array.rb. (master...truffle_array_transpose) http://git.io/p3HP
JRubyGithub has left #jruby [#jruby]
JRubyGithub has joined #jruby
<JRubyGithub>
[jruby] chrisseaton pushed 2 new commits to master: http://git.io/p3H5
<JRubyGithub>
jruby/master 464ef98 Brandon Fish: [Truffle] Adding Array#transpose to array.rb.
<JRubyGithub>
jruby/master c3662bc Chris Seaton: Merge pull request #2665 from bjfish/truffle_array_transpose...
<kjbsoabga>
did usa & israel covertly supply isis with weapons like they did with al-qaeda to justify wars ?
<kjbsoabga>
did usa excute the creative mess in the middle east like they said they will, does the creative mess include explosion with uncertain responsibles to make people fight?
<kjbsoabga>
how many human was killed because usa actions included in the creative mess?
<kjbsoabga>
i was prevented on facebook and twitter, so plz send my qs there to help limiting usa & israel aggression against others.
kjbsoabga has left #jruby [#jruby]
iamjarvo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nirvdrum has joined #jruby
nirvdrum has quit [Ping timeout: 245 seconds]
tenderlove has quit [Ping timeout: 246 seconds]
tenderlove has joined #jruby
enebo has joined #jruby
DrShoggoth has quit [Remote host closed the connection]
enebo has quit [Client Quit]
tenderlove has quit [Ping timeout: 246 seconds]
cschneid has joined #jruby
tenderlove has joined #jruby
tenderlove has quit [Remote host closed the connection]