yfeldblum has quit [Remote host closed the connection]
tcrawley is now known as tcrawley-away
rcvalle has joined #jruby
yfeldblum has joined #jruby
rcvalle has quit [Quit: rcvalle]
rcvalle has joined #jruby
yfeldblum has quit [Ping timeout: 240 seconds]
samphippen has joined #jruby
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 250 seconds]
samphipp_ has joined #jruby
samphippen has quit [Read error: Connection reset by peer]
samphipp_ has quit [Read error: Connection reset by peer]
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 246 seconds]
yosafbridge has quit [Quit: Leaving]
thedarkone2 has quit [Quit: thedarkone2]
samphippen has joined #jruby
yosafbridge has joined #jruby
rcvalle has quit [Quit: rcvalle]
yfeldblum has joined #jruby
yfeldblum has quit [Ping timeout: 240 seconds]
pawnbox has joined #jruby
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 252 seconds]
pawnbox has quit [Ping timeout: 252 seconds]
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 250 seconds]
rsim has joined #jruby
mikemar10 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has joined #jruby
skade has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
robbyoconnor has joined #jruby
skade has joined #jruby
skade has quit [Ping timeout: 264 seconds]
jensnockert has joined #jruby
yfeldblum has joined #jruby
shellac has joined #jruby
jensnockert has quit [Ping timeout: 260 seconds]
donV has quit [Quit: donV]
shellac has quit [Quit: Computer has gone to sleep.]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
havenwood has quit [Ping timeout: 264 seconds]
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 240 seconds]
samphippen has quit [Read error: Connection reset by peer]
e_dub has quit [Ping timeout: 272 seconds]
jensnockert has joined #jruby
e_dub has joined #jruby
jensnockert has quit [Ping timeout: 256 seconds]
brauliobo_ has joined #jruby
e_dub has quit [Ping timeout: 264 seconds]
e_dub has joined #jruby
shellac has joined #jruby
yfeldblum has quit [Ping timeout: 240 seconds]
shellac has quit [Quit: Computer has gone to sleep.]
shellac has joined #jruby
samphippen has joined #jruby
shellac has quit [Quit: Computer has gone to sleep.]
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #jruby
jensnockert has joined #jruby
samphippen has quit [Read error: Connection reset by peer]
samphipp_ has joined #jruby
brauliobo has joined #jruby
brauliobo_ has quit [Ping timeout: 268 seconds]
jensnockert has quit [Ping timeout: 264 seconds]
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #jruby
samphipp_ has quit [Read error: Connection reset by peer]
donV has joined #jruby
havenwood has joined #jruby
samphippen has joined #jruby
sferik has joined #jruby
jensnockert has joined #jruby
devn has quit [Ping timeout: 252 seconds]
devn has joined #jruby
jensnockert has quit [Ping timeout: 240 seconds]
samphippen has quit [Read error: Connection reset by peer]
mberg has quit [Ping timeout: 250 seconds]
mberg has joined #jruby
mberg is now known as Guest60421
skade has joined #jruby
brauliobo has quit [Ping timeout: 240 seconds]
brauliobo has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 264 seconds]
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 264 seconds]
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 268 seconds]
donV has quit [Quit: donV]
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 255 seconds]
thedarkone2 has joined #jruby
bitfurry has joined #jruby
bitfurry has quit [Client Quit]
cristianrasch has joined #jruby
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 252 seconds]
drbobbeaty has joined #jruby
<havenwood>
A question came up in #ruby about Method#source_location for methods implemented in Java. I was curious but what I found in the method_source gem doesn't seem to work: to_java.source_location(Thread.current.to_java.getContext())
<havenwood>
It seems like it's like MRI where C methods return `nil` but thought I'd ask anyway. :)
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 246 seconds]
<rtyler>
chrisseaton: do you happen to know if there are any good docs/tutorials on building a basic fun-language to JVM bytecode compilers?
<chrisseaton>
rtyler: do you mean the specifics of emitting bytecode? You can use a library like ASM (http://asm.ow2.org). As JVM bytecode is so high level you don't need to do much more than walk an AST emitting instructions to get something up and running.
<chrisseaton>
Personally of course I would very strongly recommend using Truffle instead
<rtyler>
do other languages on truffle suffer some of the performance challenges you guys have seen with ruby?
<chrisseaton>
https://github.com/eclipse/golo-lang would be a good, simple but still complex enough example you could copy for bytecode generation
<chrisseaton>
rtyler: do you mean things like startup performance?
<rtyler>
yeah
jensnockert has joined #jruby
<chrisseaton>
yes, but that is a solved problem - we have a build of JRuby+Truffle that runs hello world in a couple hundred ms, but the tech isn't open source yet
<rtyler>
I was thinking while on the bus yesterday if it would be feasible to create something with the strictness of Ada's type system atop the JVM
<rtyler>
ah
<rtyler>
any form of hello world type docs for truffle?
<chrisseaton>
I'd say if you want to produce something that people can definitely use right now, use indy, if you want high performance and can wait a bit until people need to use it in production, use Truffle
<rtyler>
well, honestly i've never written a compiler ever never ever so the simpler the better :P
<chrisseaton>
You are looking at an order of magnitude different in performance
havenn has joined #jruby
thedarkone2 has quit [Quit: thedarkone2]
<rtyler>
chrisseaton: does truffle emit pure bytecode, or is there a runtime requirement along side it?
<rtyler>
outside of graal that is
havenwood has quit [Ping timeout: 250 seconds]
<chrisseaton>
truffle doesn't emit bytecode at all - it's just an AST interpreter, which graal can recognise
<chrisseaton>
I should make it clear as well, Truffle doesn't do ahead of time compilation
<chrisseaton>
we use JIT compilation in Truffle, even for languages like C
<rtyler>
hm
jensnockert has joined #jruby
jensnockert has quit [Ping timeout: 256 seconds]
aces1up has joined #jruby
<aces1up>
i have a embedded jruby 1.3 how can i determine a gem version that is compatible with that version of jruby.. i want to install nokogiri pure java compatible with this version of jruby
<rtyler>
jruby 1.3? that's pretty old
<aces1up>
yeh, this is an old app
<aces1up>
is greasyspoon
<aces1up>
an icap server
<aces1up>
cannot figure out how to upgrade it without breaking it
<aces1up>
comes with hpricot, but would rather use nokogiri
jensnockert has joined #jruby
<rtyler>
that old of a jruby is likely targeting the ruby 1.8 language
<rtyler>
which practically nothing supports anymore
<aces1up>
yes it is
<rtyler>
if you can at least get the jruby upgraded, then that opens up the world a bit
<rtyler>
whichj I would do first
<aces1up>
well
<aces1up>
i can see the jruby directory it accesses..
<aces1up>
tried upload the sources for the latest jruby but it broke things
<aces1up>
so im stuck for now with 1.3
<aces1up>
how can i find the nokogiri version that would work best with that jruby version?
<rtyler>
nothing is going to tell you unfortunately