josh-k_ has quit [Remote host closed the connection]
subbu has quit [Ping timeout: 260 seconds]
drbobbeaty has joined #jruby
benlovell has joined #jruby
drbobbeaty has quit [Client Quit]
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pgokeeffe has joined #jruby
benlovell has quit [Ping timeout: 272 seconds]
calavera has joined #jruby
pgokeeffe has quit [Ping timeout: 245 seconds]
calavera has quit [Ping timeout: 250 seconds]
calavera has joined #jruby
johnsonch_afk is now known as johnsonch
zorak8 has quit [Ping timeout: 246 seconds]
subbu has joined #jruby
subbu has quit [Ping timeout: 250 seconds]
ludyte has joined #jruby
nanoyak has quit [Quit: Computer has gone to sleep.]
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
josh-k has joined #jruby
benlovell has joined #jruby
e_dub has joined #jruby
e_dub has quit [Client Quit]
benlovell has quit [Ping timeout: 244 seconds]
xcv has joined #jruby
xcv has quit [Remote host closed the connection]
cremes has quit [Read error: Connection reset by peer]
cremes has joined #jruby
e_dub has joined #jruby
havenwood has quit [Remote host closed the connection]
pgokeeffe has joined #jruby
havenwood has joined #jruby
tvo1 has quit [Quit: Leaving.]
phrinx has quit [Remote host closed the connection]
phrinx has joined #jruby
zorak8 has joined #jruby
phrinx has quit [Ping timeout: 272 seconds]
pgokeeffe has quit [Ping timeout: 245 seconds]
GluonQuark has joined #jruby
pgokeeffe has joined #jruby
pgokeeffe has quit [Read error: Connection reset by peer]
nanoyak has joined #jruby
josh-k has quit [Remote host closed the connection]
benlovell has joined #jruby
benlovell has quit [Ping timeout: 260 seconds]
josh-k has joined #jruby
nanoyak has quit [Read error: Connection reset by peer]
nanoyak has joined #jruby
nirvdrum has joined #jruby
nirvdrum_ has joined #jruby
nirvdrum has quit [Ping timeout: 258 seconds]
toshe_tm has quit [Ping timeout: 260 seconds]
havenwood has quit [Remote host closed the connection]
tylersmith has joined #jruby
zorak8 has quit [Ping timeout: 272 seconds]
benlovell has joined #jruby
brycek has quit [Remote host closed the connection]
benlovell has quit [Ping timeout: 240 seconds]
havenwood has joined #jruby
brycek has joined #jruby
josh-k has quit [Remote host closed the connection]
nirvdrum_ has quit [Ping timeout: 246 seconds]
x1337807x has joined #jruby
nanoyak has quit [Quit: Computer has gone to sleep.]
zorak8 has joined #jruby
johnsonch is now known as johnsonch_afk
colinsurprenant has quit [Quit: colinsurprenant]
subbu has joined #jruby
benlovell has joined #jruby
benlovell has quit [Ping timeout: 260 seconds]
johnsonch_afk is now known as johnsonch
johnsonch is now known as johnsonch_afk
<projectodd-ci> Project jruby-master-dist build #34: ABORTED in 15 min: https://projectodd.ci.cloudbees.com/job/jruby-master-dist/34/
<projectodd-ci> * headius: Mask the other spec...also 1.9-specific.
<projectodd-ci> * tom.enebo: Fixes #1700. NPE in Ripper with $ special variables
<projectodd-ci> * headius: Clean up javadocs.
<projectodd-ci> * headius: Match MRI error text.
<projectodd-ci> * headius: Add to_a and to_ary cases.
<projectodd-ci> * headius: Clean up imports.
<projectodd-ci> * headius: Fix new coercion logic.
<projectodd-ci> * headius: Reduce exception-handling in checked funcall and clear $!.
<projectodd-ci> * headius: Add travis_retry, for travis flakiness (memory, network).
<projectodd-ci> * m.kristian: delegate more methods JarFileState to underlying FileResource
<projectodd-ci> * m.kristian: get URLResource more compliant
<projectodd-ci> * m.kristian: use fixed jar-dependencies gem - fixes #1942 + #1965
<projectodd-ci> * m.kristian: new jar-dependecies version - fixes #1975
<projectodd-ci> * m.kristian: adjust final name on dist
<projectodd-ci> * m.kristian: reduce OSGi DynamicImport-Package to javax.* needed for openssl - fixes #1977
<projectodd-ci> * m.kristian: packed cached gems as well - fixed #1973
<projectodd-ci> * m.kristian: remove rake dependency to parse jruby-jars.gemspec
<projectodd-ci> * tom.enebo: Update for next development version
<projectodd-ci> * tom.enebo: Fix coercion of arrays in Kernel#Array and Array#product.
<projectodd-ci> * m.kristian: do not copy sources and javadocs into jruby-complete.jar
<projectodd-ci> * m.kristian: fixes #1989 at the right place this time
<projectodd-ci> * m.kristian: do not run integration-tests per default
<projectodd-ci> * m.kristian: update final-name of jruby-jars.gem
<projectodd-ci> * m.kristian: first step to get build of master and jruby-1_7 in sync again
<projectodd-ci> * chris: [Truffle] Make constant lookup another path in method dispatch.
<projectodd-ci> * chris: [Truffle] Format binding method.
<projectodd-ci> * chris: [Truffle] Binding is fine for compilation.
<projectodd-ci> * chris: [Truffle] Comment what false means when materialising.
<projectodd-ci> * sss.lists: Reset scope state after adding GEB for lambdas
<projectodd-ci> * chris: [Truffle] A couple more constant specs pass.
<projectodd-ci> * chris: [Truffle] Change the dispatch action enum.
<projectodd-ci> * headius: Make compiler test run against IR interp as well as JIT.
<projectodd-ci> * chris: [Truffle] Move some debug operations into a separate class.
<projectodd-ci> * chris: [Truffle] Utility to get the context from an object.
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
josh-k has joined #jruby
nanoyak has joined #jruby
JohnBat26 has joined #jruby
benlovell has joined #jruby
noop has joined #jruby
benlovell has quit [Ping timeout: 240 seconds]
johnsonch_afk is now known as johnsonch
johnsonch is now known as johnsonch_afk
GluonQuark has quit [Quit: Leaving]
rcvalle has quit [Quit: rcvalle]
kares has joined #jruby
yfeldblu_ has joined #jruby
yfeldblum has quit [Ping timeout: 260 seconds]
decentrality has joined #jruby
decentrality has quit [Remote host closed the connection]
tvo has joined #jruby
tvo has joined #jruby
tvo has quit [Changing host]
digitalextremist has quit [Ping timeout: 245 seconds]
kares has quit [Ping timeout: 260 seconds]
tenderlove has quit [Remote host closed the connection]
johnsonch_afk is now known as johnsonch
benlovell has joined #jruby
johnsonch is now known as johnsonch_afk
anaeem1 has joined #jruby
benlovell has quit [Ping timeout: 260 seconds]
ludyte has quit [Quit: ludyte]
yfeldblu_ has quit [Remote host closed the connection]
rsim has joined #jruby
tylersmith has quit [Remote host closed the connection]
tylersmith has joined #jruby
tvo has quit [Quit: Leaving.]
tylersmith has quit [Ping timeout: 272 seconds]
tvo has joined #jruby
tvo has joined #jruby
havenwood has quit [Remote host closed the connection]
havenwood has joined #jruby
kares has joined #jruby
tvo has quit [Quit: Leaving.]
havenwood has quit [Ping timeout: 264 seconds]
fridim__ has joined #jruby
subbu has quit [Ping timeout: 260 seconds]
kares has quit [Ping timeout: 245 seconds]
benlovell has joined #jruby
johnsonch_afk is now known as johnsonch
nanoyak has quit [Quit: Computer has gone to sleep.]
kares has joined #jruby
e_dub has quit [Quit: It's a hard knock life]
johnsonch is now known as johnsonch_afk
brettporter has quit [Remote host closed the connection]
brettporter has joined #jruby
brettporter has quit [Changing host]
brettporter has joined #jruby
Hobogrammer has quit [Ping timeout: 245 seconds]
brettporter has quit [Ping timeout: 260 seconds]
tvo has joined #jruby
tvo has joined #jruby
tvo has quit [Changing host]
tvo has quit [Client Quit]
tvo has joined #jruby
tvo has quit [Changing host]
tvo has joined #jruby
e_dub has joined #jruby
tvo has quit [Quit: Leaving.]
zorak8 has quit [Ping timeout: 245 seconds]
brettporter has joined #jruby
brettporter has quit [Remote host closed the connection]
brettporter has joined #jruby
brettporter has quit [Ping timeout: 244 seconds]
brettporter has joined #jruby
brettporter has joined #jruby
brettporter has quit [Changing host]
yfeldblum has joined #jruby
brettporter has quit [Remote host closed the connection]
johnsonch_afk is now known as johnsonch
johnsonch is now known as johnsonch_afk
AlHafoudh has joined #jruby
elia has joined #jruby
havenwood has joined #jruby
marr has joined #jruby
ephemerian has joined #jruby
yfeldblum has quit [Remote host closed the connection]
mister_solo has joined #jruby
yfeldblum has joined #jruby
havenwood has quit [Ping timeout: 264 seconds]
drbobbeaty has joined #jruby
josh-k has quit [Remote host closed the connection]
josh-k has joined #jruby
josh-k has quit [Ping timeout: 272 seconds]
johnsonch_afk is now known as johnsonch
shellac has joined #jruby
johnsonch is now known as johnsonch_afk
havenwood has joined #jruby
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
brettporter has joined #jruby
skade has joined #jruby
SynrG has quit [Ping timeout: 272 seconds]
johnsonch_afk is now known as johnsonch
johnsonch is now known as johnsonch_afk
SynrG has joined #jruby
havenwood has quit [Ping timeout: 264 seconds]
josh-k has joined #jruby
GluonQuark has joined #jruby
havenwood has joined #jruby
johnsonch_afk is now known as johnsonch
havenwood has quit [Ping timeout: 264 seconds]
johnsonch is now known as johnsonch_afk
tenderlove has joined #jruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
tenderlove has quit [Ping timeout: 272 seconds]
JohnBat26 has joined #jruby
josh-k_ has joined #jruby
josh-k__ has joined #jruby
josh-k has quit [Ping timeout: 250 seconds]
josh-k has joined #jruby
josh-k_ has quit [Ping timeout: 244 seconds]
drbobbeaty has joined #jruby
josh-k__ has quit [Ping timeout: 260 seconds]
vtunka has joined #jruby
kgerman_ has joined #jruby
robbyoconnor has quit [Excess Flood]
robbyoconnor has joined #jruby
kgerman has quit [Ping timeout: 260 seconds]
kgerman_ is now known as kgerman
erikhatcher has joined #jruby
johnsonch_afk is now known as johnsonch
e_dub has quit [Ping timeout: 272 seconds]
johnsonch is now known as johnsonch_afk
havenwood has joined #jruby
josh-k_ has joined #jruby
benlovell has quit [Ping timeout: 245 seconds]
josh-k has quit [Ping timeout: 246 seconds]
havenwood has quit [Ping timeout: 264 seconds]
vtunka has quit [Quit: Leaving]
drbobbeaty has quit [Read error: Connection reset by peer]
drbobbeaty has joined #jruby
drbobbeaty has quit [Read error: Connection reset by peer]
drbobbeaty has joined #jruby
tcrawley-away is now known as tcrawley
xcv has joined #jruby
bbrowning_away is now known as bbrowning
vtunka has joined #jruby
vtunka has quit [Client Quit]
xcv has quit [Remote host closed the connection]
wojtczak has joined #jruby
wojtczak has left #jruby ["Leaving..."]
xcv has joined #jruby
ludyte has joined #jruby
benlovell has joined #jruby
pellis has joined #jruby
pellis has joined #jruby
<pellis> hi all
<pellis> what is the reason i get (NoMethodError) undefined method `java_import' for main:Object ?
<pellis> on jruby 1.6.7
drbobbeaty has quit [Ping timeout: 272 seconds]
tenderlove has joined #jruby
tenderlove has quit [Remote host closed the connection]
vtunka has joined #jruby
lance|afk is now known as lanceball
havenwood has joined #jruby
drbobbeaty has joined #jruby
havenwood has quit [Ping timeout: 264 seconds]
josh-k has joined #jruby
yfeldblum has quit [Remote host closed the connection]
brettporter has quit [Remote host closed the connection]
josh-k_ has quit [Ping timeout: 250 seconds]
josh-k_ has joined #jruby
anaeem1 has quit [Remote host closed the connection]
josh-k has quit [Ping timeout: 258 seconds]
tcrawley is now known as tcrawley-away
drbobbeaty has quit [Ping timeout: 244 seconds]
xxneolithicxx has joined #jruby
<xxneolithicxx> hi all, have a few questions on porting a ruby app to run successfully on Jruby in order to get real threading functionality. I notice that there are some alternative gems jruby-openssl etc and others for ones that were C based in MRI. When using these alternative gems in JRuby does the require line in the ruby have to change or is it the same?
nirvdrum has joined #jruby
nirvdrum has joined #jruby
postmodern has quit [Quit: Leaving]
josh-k has joined #jruby
josh-k__ has joined #jruby
josh-k_ has quit [Ping timeout: 260 seconds]
yfeldblum has joined #jruby
johnsonch_afk is now known as johnsonch
josh-k has quit [Ping timeout: 240 seconds]
yfeldblu_ has joined #jruby
drbobbeaty has joined #jruby
yfeldblum has quit [Ping timeout: 240 seconds]
<kares> xxneolithicxx: it's the same - just do not worry bout anything until you hit some C-extension gems (require 'openssl' will work just fine under JRuby) ... also if you're in Rails you will need activerecord-jdbc-adapter
<mberg> You shouldn't need to change the require. The gem name is still openssl; it just loads a jar instead of a C extension.
yfeldblu_ has quit [Ping timeout: 245 seconds]
erikhatcher has quit [Ping timeout: 272 seconds]
erikhatcher has joined #jruby
xcv has quit [Remote host closed the connection]
colinsurprenant has joined #jruby
havenwood has joined #jruby
josh-k__ has quit [Remote host closed the connection]
<xxneolithicxx> i think the only one im using now that uses C extensions is mechanize
havenwood has quit [Client Quit]
JRubyGithub has joined #jruby
<JRubyGithub> jruby/master e0ca0a4 Chris Seaton: [Truffle] Big reorg of module, class and lookup system.
<JRubyGithub> jruby/master 796189a Chris Seaton: [Truffle] No need to check for singleton classes in symbols - they're not allowed.
<JRubyGithub> [jruby] jrubyci pushed 2 new commits to master: http://git.io/jJTC7Q
JRubyGithub has left #jruby [#jruby]
tcrawley-away is now known as tcrawley
travis-ci has joined #jruby
travis-ci has left #jruby [#jruby]
<travis-ci> [travis-ci] jruby/jruby (master:e0ca0a4 by Chris Seaton): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/36672677)
drbobbeaty has quit [Ping timeout: 246 seconds]
johnsonch is now known as johnsonch_afk
drbobbeaty has joined #jruby
toshetm has joined #jruby
viking has joined #jruby
viking has joined #jruby
viking has quit [Changing host]
ephemerian has quit [Quit: Leaving.]
tylersmith has joined #jruby
tylersmith has quit [Remote host closed the connection]
yfeldblum has joined #jruby
yfeldblum has quit [Ping timeout: 272 seconds]
<TieSoul> hi
<TieSoul> how do I get color in a win32 console?
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
johnsonch_afk is now known as johnsonch
oblutak has joined #jruby
drbobbeaty has joined #jruby
tesmar has joined #jruby
calavera has joined #jruby
vtunka has quit [Quit: Leaving]
vtunka has joined #jruby
xxneolithicxx has quit [Quit: Leaving.]
e_dub has joined #jruby
tcrawley is now known as tcrawley-away
rsim has quit [Quit: Leaving.]
TieSoul has left #jruby [#jruby]
mje113__ has joined #jruby
drbobbeaty has quit [Ping timeout: 250 seconds]
yfeldblum has joined #jruby
drbobbeaty has joined #jruby
pellis has quit [Remote host closed the connection]
subbu has joined #jruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
yfeldblum has quit [Ping timeout: 260 seconds]
noop has quit [Ping timeout: 240 seconds]
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Aethenelle has joined #jruby
drbobbeaty has joined #jruby
tylersmith has joined #jruby
benlovell has quit [Ping timeout: 260 seconds]
<chrisseaton> TieSoul: have you tried win32console
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
e_dub has quit [Read error: Connection reset by peer]
e_dub has joined #jruby
vtunka has quit [Quit: Leaving]
drbobbeaty has joined #jruby
skade has quit [Quit: Computer has gone to sleep.]
shellac has quit [Quit: Ex-Chat]
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zorak8 has joined #jruby
yfeldblum has joined #jruby
yfeldblum has quit [Ping timeout: 260 seconds]
Aethenelle has quit [Quit: Aethenelle]
Aethenelle has joined #jruby
Aethenelle has quit [Client Quit]
Aethenelle has joined #jruby
saga65 has quit [Quit: Computer has gone to sleep.]
saga65 has joined #jruby
<Aethenelle> headius: https://github.com/jruby/jruby/pull/2003 should be ready to go. I don't recognize the failing tests as FFI related but I haven't fully traced them just yet.
<headius> ok great
<headius> will try to get it in later today
saga65 has quit [Ping timeout: 250 seconds]
drbobbeaty has joined #jruby
Hobogrammer has joined #jruby
anaeem1_ has joined #jruby
<Aethenelle> it passes spec:ffi19 but 18 isbroken w/ an error about Pathname
skade has joined #jruby
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
elia has quit [Quit: Computer has gone to sleep.]
skade has quit [Ping timeout: 258 seconds]
phrinx has joined #jruby
skade has joined #jruby
yfeldblum has joined #jruby
nanoyak has joined #jruby
tcrawley-away is now known as tcrawley
yfeldblum has quit [Ping timeout: 272 seconds]
e_dub has quit [Quit: ZZZzzz…]
mister_solo has quit [Ping timeout: 272 seconds]
Hobogrammer has quit [Ping timeout: 260 seconds]
robbyoconnor has quit [Ping timeout: 260 seconds]
x1337807x has joined #jruby
x1337807x has quit [Max SendQ exceeded]
x1337807x has joined #jruby
x1337807x has quit [Ping timeout: 245 seconds]
skade has quit [Ping timeout: 240 seconds]
nanoyak has quit [Quit: Computer has gone to sleep.]
noop has joined #jruby
x1337807x has joined #jruby
drbobbeaty has joined #jruby
x1337807x has quit [Ping timeout: 272 seconds]
x1337807x has joined #jruby
x1337807x has quit [Max SendQ exceeded]
xcv has joined #jruby
Aethenelle has quit [Ping timeout: 246 seconds]
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807x has joined #jruby
drbobbeaty has joined #jruby
drbobbeaty has quit [Read error: Connection reset by peer]
drbobbeaty has joined #jruby
postmodern has joined #jruby
Aethenelle has joined #jruby
Hobogrammer has joined #jruby
yfeldblum has joined #jruby
yfeldblum has quit [Ping timeout: 272 seconds]
e_dub has joined #jruby
iamjarvo has joined #jruby
drbobbeaty has quit [Ping timeout: 240 seconds]
gaustin has joined #jruby
drbobbeaty has joined #jruby
SynrG has quit [Remote host closed the connection]
SynrG has joined #jruby
SynrG has quit [Changing host]
SynrG has joined #jruby
anaeem1_ has quit [Remote host closed the connection]
JRubyGithub has joined #jruby
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> [jruby] jrubyci pushed 1 new commit to master: http://git.io/kT9AeA
<JRubyGithub> jruby/master c6627b9 Josef Haider: [Truffle] Start to use Rubinius for core library implementation.
colinsurprenant has quit [Quit: colinsurprenant]
<chrisseaton> Josef is a master's student at JKU funded by Oracle, for the record
travis-ci has joined #jruby
<travis-ci> [travis-ci] jruby/jruby (master:c6627b9 by Josef Haider): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/36698902)
travis-ci has left #jruby [#jruby]
anaeem1 has joined #jruby
Aethenelle has quit [Ping timeout: 240 seconds]
noop has quit [Ping timeout: 272 seconds]
noop has joined #jruby
<lopex> @elite failing
<multibot_> faiLING
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has joined #jruby
anaeem1 has quit [Remote host closed the connection]
drbobbeaty has quit [Ping timeout: 240 seconds]
colinsurprenant has joined #jruby
Aethenelle has joined #jruby
yfeldblum has quit [Ping timeout: 258 seconds]
anaeem1_ has joined #jruby
tharindu has joined #jruby
drbobbeaty has joined #jruby
subbu is now known as subbu|lunch
<chrisseaton> sorry we broke Java 7, just fixing now...
<lopex> chrisseaton: oh that's an old channel banter
havenwood has joined #jruby
<lopex> btw, wowsers, I wonder about rubinius core impl perf
<lopex> on truffle
<chrisseaton> we're partly doing it for performance - it's easier for us to optimise Ruby code than Java code
<lopex> yeah I understand
<lopex> much less opaque
<lopex> *for ruby semantics
<chrisseaton> the reason we haven't done it earlier is it's a little harder to work with and debug, but we're ready now - hopefully this is a tipping point for Truffle completeness
<chrisseaton> eg Josef took the Rubinius Struct implementation, put it in Truffle, and got all the struct specs passing in one go
<lopex> wowo
<lopex> well that's suprprising and not surpprising at the same time
ivan\_ has joined #jruby
<lopex> chrisseaton: is truffle able to inline vm guts just like maxine is supposed to do ?
ivan\ has quit [Read error: Connection reset by peer]
<lopex> chrisseaton: I guess allocation routine inlining in hotspot is just an intrinsic still right ?
mister_solo has joined #jruby
<chrisseaton> lopex: yeah, our inlining is extraordinarily powerful - have you seen my acid test? http://www.chrisseaton.com/rubytruffle/pushing-pixels/ half way down that
<lopex> yeah, I follow your entries
<chrisseaton> Truffle actually will inline until you tell it to stop - we have an annotation that says 'stop inlining here'
ivan\_ is now known as ivan\
<lopex> chrisseaton: so truffle guts being inlined with ruby code etc, and it's all deopted just like switchpoint works ?
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<chrisseaton> yeah - we call switch points 'assumptions'
<lopex> why stop ? is it to stop code bloat ?
<lopex> cache pollution etc ?
<chrisseaton> Code bloat - and also the partial evaluator can't handle recursion
Hobogrammer has quit [Quit: WeeChat 0.4.3]
nirvdrum has quit [Ping timeout: 245 seconds]
<chrisseaton> a good example of inlining is Fixnum#/ - this is quite complicated in Ruby, so it needs several instructions. In JRuby this is a Java method, in Rubinius a C++ method, and in both cases it's a black box to the compiler. In Truffle we partially evaluate through the Fixnum#/ method and can emit simpler cases if you don't use all the functionality
<lopex> yeah, something like an intrinsic
<lopex> I guess
<lopex> but that's just those impls boundaries
mister_solo has quit [Ping timeout: 272 seconds]
<lopex> rubinius/jruby
<lopex> chrisseaton: does truffle support something like switch instruction ?
<chrisseaton> sorry not sure what you mean by switch instruction? the Ruby case statement?
<lopex> yeah, but on truffle primitive level ?
rsim has joined #jruby
<lopex> chrisseaton: I guess I mean in other languages you'd need fast jump tables/balanced tree searches
<lopex> just like in normal compilers
<chrisseaton> oh right - we desugar switch to a series of if's I think
<chrisseaton> and then we rely on Graal to compile that efficiently
<lopex> ok
<lopex> chrisseaton: since most compilers will do jump values density check and decide if to go with jump tables or balnced trees
<chrisseaton> but in Ruby the semantics of switch is to do a series of tests - so you can't just jump into a case statement match, as the earlier test methods might have side effects which you need to run
<lopex> but yeah in ruby case is just a hash lookup
<lopex> at least MRI does so
<lopex> an jruby too afaik
<chrisseaton> I think it's just a series of === calls isn't it? can you point me at some code if it isn't?
<chrisseaton> I thought for each case it does === in turn
<lopex> chrisseaton: if === isnt overriden then it's a identity hash lookup
<lopex> *an
<chrisseaton> ah - maybe I'll look at copying that optimisation - thanks
<lopex> chrisseaton: I can find it for you in mri
<chrisseaton> I don't think I have a benchmark using case yet, so I probably haven't look at it in much depth
<chrisseaton> if it isn't in a benchmark, I just do anything that's slow as long as it's correct
rsim has quit [Ping timeout: 260 seconds]
<lopex> just st_lookup
subbu|lunch has quit [Remote host closed the connection]
<lopex> but that's like all the other mri optz
<lopex> they keep global "deoptimized operation" table
Hobogrammer has joined #jruby
<lopex> chrisseaton: and yeah, it changes ruby semantics
<lopex> but they went with that
<chrisseaton> ah I see - they do this for those classes because they can't have singleton classes, so it's simpler
<chrisseaton> I'm doubtful that a lookup in a hash table is going to be faster than a series of machine code tests though - this might be one of those optimisations that works for MRI but is counterproductive when you have a powerful JIT
drbobbeaty has quit [Ping timeout: 260 seconds]
elia has joined #jruby
drbobbeaty has joined #jruby
ephemerian has joined #jruby
tharindu_ has joined #jruby
tharindu has quit [Ping timeout: 245 seconds]
<lopex> chrisseaton: I guess that depends on switch size
JRubyGithub has joined #jruby
JRubyGithub has left #jruby [#jruby]
<JRubyGithub> [jruby] jrubyci pushed 1 new commit to master: http://git.io/FOSdeQ
<JRubyGithub> jruby/master 0a0adb6 Chris Seaton: [Truffle] Remove accidental use of Java 8 time.
<lopex> chrisseaton: but I guess the question is if one case becomes dominant is it going to be inlined alone ?
cagedwisdom has joined #jruby
rsim has joined #jruby
<cagedwisdom> how hard is it to package a random gem for jruby?
anaeem1_ has quit [Remote host closed the connection]
subbu has joined #jruby
calavera has joined #jruby
zeroecco has joined #jruby
nirvdrum has joined #jruby
<kares> cagedwisdom: how hard is it for plain ruby ?
fridim__ has quit [Ping timeout: 260 seconds]
drbobbeaty has quit [Ping timeout: 240 seconds]
travis-ci has joined #jruby
travis-ci has left #jruby [#jruby]
<travis-ci> [travis-ci] jruby/jruby (master:0a0adb6 by Chris Seaton): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/36705095)
elia has quit [Quit: Computer has gone to sleep.]
josh-k has joined #jruby
subbu has quit [Read error: Connection reset by peer]
subbu has joined #jruby
yfeldblum has joined #jruby
elia has joined #jruby
kares has quit [Ping timeout: 272 seconds]
drbobbeaty has joined #jruby
mister_solo has joined #jruby
noop has quit [Ping timeout: 246 seconds]
JRubyGithub has joined #jruby
<JRubyGithub> jruby/master c934ced Chris Seaton: [Truffle] Fix lexical parent of class singleton classes.
<JRubyGithub> jruby/master 48f53df Chris Seaton: [Truffle] We seem to be able to parse the anchors specs now.
<JRubyGithub> [jruby] jrubyci pushed 2 new commits to master: http://git.io/nM0CDA
JRubyGithub has left #jruby [#jruby]
josh-k_ has joined #jruby
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #jruby
josh-k has quit [Ping timeout: 240 seconds]
tesmar has quit [Quit: tesmar]
tharindu_ has quit [Ping timeout: 258 seconds]
travis-ci has joined #jruby
<travis-ci> [travis-ci] jruby/jruby (master:48f53df by Chris Seaton): The build is still failing. (http://travis-ci.org/jruby/jruby/builds/36709761)
travis-ci has left #jruby [#jruby]
Hobogrammer has quit [Quit: WeeChat 0.4.3]
statonjr has joined #jruby
yfeldblum has quit [Ping timeout: 272 seconds]
yfeldblum has joined #jruby
drbobbeaty_ has joined #jruby
drbobbeaty has quit [Read error: Connection reset by peer]
viking has quit [Remote host closed the connection]
mister_solo has quit [Ping timeout: 245 seconds]
viking has joined #jruby
viking has joined #jruby
elia has quit [Quit: Computer has gone to sleep.]
drbobbeaty_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lanceball is now known as lance|afk
bbrowning is now known as bbrowning_away
tcrawley is now known as tcrawley-away
rsim has quit [Quit: Leaving.]
josh-k has joined #jruby
josh-k_ has quit [Read error: Connection reset by peer]
nirvdrum has quit [Ping timeout: 260 seconds]
elia has joined #jruby
havenwood has quit [Remote host closed the connection]
havenwood has joined #jruby
johnsonch is now known as johnsonch_afk
havenwood has quit [Remote host closed the connection]
brettporter has joined #jruby
Aethenelle has quit [Ping timeout: 272 seconds]
erikhatcher has quit [Quit: erikhatcher]
mister_solo has joined #jruby
jaffachief has joined #jruby
iamjarvo has quit [Quit: Textual IRC Client: www.textualapp.com]
mister_solo has quit [Ping timeout: 244 seconds]
subbu has quit [Ping timeout: 240 seconds]
viking has quit [Remote host closed the connection]
e_dub has quit [Quit: ZZZzzz…]
subbu has joined #jruby
xcv has quit [Ping timeout: 260 seconds]
subbu has quit [Ping timeout: 250 seconds]
oblutak has left #jruby [#jruby]
xcv has joined #jruby
subbu has joined #jruby
Aethenelle has joined #jruby
nirvdrum has joined #jruby
colinsurprenant has quit [Quit: colinsurprenant]
Hobogrammer has joined #jruby
Aethenelle has quit [Ping timeout: 260 seconds]
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tesmar has joined #jruby
Aethenelle has joined #jruby
Aethenelle_ has joined #jruby
Aethenelle has quit [Ping timeout: 240 seconds]
Aethenelle_ has quit [Ping timeout: 272 seconds]
yfeldblum has quit [Remote host closed the connection]
elia has quit [Quit: Computer has gone to sleep.]
tesmar has quit [Quit: tesmar]
ephemerian has quit [Quit: Leaving.]
calavera has joined #jruby
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
multibot_ has quit [Remote host closed the connection]
multibot_ has joined #jruby
e_dub has joined #jruby
marr has quit [Ping timeout: 246 seconds]
yfeldblum has joined #jruby
calavera has joined #jruby
tesmar has joined #jruby
subbu has quit [Ping timeout: 260 seconds]
yfeldblum has quit [Remote host closed the connection]
subbu has joined #jruby
calavera has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]