meh` changed the topic of #opal to: http://opalrb.org - Ruby runtime and library on top of Javascript | 1.0.0 is near | This channel is logged at https://botbot.me/freenode/opal/
e_dub has joined #opal
tils` has joined #opal
tils`` has joined #opal
tils has quit [Ping timeout: 245 seconds]
tils` has quit [Ping timeout: 240 seconds]
barry__ has quit [Remote host closed the connection]
meh` has quit [Ping timeout: 240 seconds]
meh` has joined #opal
ryanstout has quit [Quit: ryanstout]
e_dub has quit [Quit: ZZZzzz…]
e_dub has joined #opal
e_dub has quit [Read error: Connection reset by peer]
e_dub has joined #opal
barry has joined #opal
barry has quit [Ping timeout: 240 seconds]
barry has joined #opal
barry has quit [Ping timeout: 240 seconds]
dimaursu16 has joined #opal
e_dub has quit [Ping timeout: 246 seconds]
barry has joined #opal
barry has quit [Remote host closed the connection]
barry has joined #opal
barry has quit [Ping timeout: 265 seconds]
barry has joined #opal
barry has quit [Remote host closed the connection]
barry has joined #opal
barry has quit [Ping timeout: 265 seconds]
barry has joined #opal
barry has quit [Remote host closed the connection]
tils`` has quit [Read error: Connection reset by peer]
tils``` has joined #opal
[o__o] has quit [Ping timeout: 265 seconds]
_whitelogger_ has joined #opal
barry has joined #opal
barry has quit [Remote host closed the connection]
barry has joined #opal
[o__o] has joined #opal
barry has quit [Remote host closed the connection]
barry has joined #opal
barry has quit [Ping timeout: 265 seconds]
[o__o] has quit [Ping timeout: 265 seconds]
barry has joined #opal
barry has quit [Ping timeout: 265 seconds]
[o__o] has joined #opal
e_dub has joined #opal
barry has joined #opal
barry has quit [Ping timeout: 265 seconds]
barry has joined #opal
e_dub has quit [Ping timeout: 240 seconds]
e_dub has joined #opal
e_dub has quit [Ping timeout: 268 seconds]
GitHub127 has joined #opal
<GitHub127> [opal] elia pushed 2 new commits to master: http://git.io/8xgdgg
<GitHub127> opal/master af7057c Elia Schito: Merge pull request #518 from davispuh/util_fix_win...
GitHub127 has left #opal [#opal]
<GitHub127> opal/master cbab045 Dāvis: Fix Util module to work on Windows
e_dub has joined #opal
travis-ci has joined #opal
<travis-ci> [travis-ci] opal/opal#1761 (master - af7057c : Elia Schito): The build passed.
travis-ci has left #opal [#opal]
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/21363710
barry has quit [Remote host closed the connection]
barry has joined #opal
barry has quit [Remote host closed the connection]
barry has joined #opal
elia has joined #opal
barry has quit [Remote host closed the connection]
barry has joined #opal
[o__o] has quit [Ping timeout: 265 seconds]
barry has quit [Ping timeout: 246 seconds]
e_dub has quit [Quit: It's a hard knock life]
barry has joined #opal
GitHub72 has joined #opal
GitHub72 has left #opal [#opal]
<GitHub72> [opal] elia deleted gh-pages at b6f6917: http://git.io/8iuKIA
barry has quit [Remote host closed the connection]
barry has joined #opal
tils``` is now known as tils
barry has quit [Ping timeout: 246 seconds]
dimaursu16 has quit [Ping timeout: 246 seconds]
barry has joined #opal
DouweM has joined #opal
dimaursu16 has joined #opal
elia has quit [Quit: (IRC Client: textualapp.com)]
dimaursu16 has quit [Ping timeout: 246 seconds]
dimaursu16 has joined #opal
DouweM has quit [Quit: Leaving...]
meh`_ has joined #opal
meh` has quit [Ping timeout: 246 seconds]
DouweM has joined #opal
ryanstout has joined #opal
mieko has joined #opal
<mieko> Can someone please give me a brief explanation of the nil/null/undefined relationship?
<mieko> Apparently the mental model I've built of how it works is subtly wrong.
DouweM has quit [Read error: Connection reset by peer]
DouweM has joined #opal
<meh`_> mieko, nil != undefined && nil != null
<meh`_> mieko, undefined == null && undefined !== null
ryanstout has quit [Quit: ryanstout]
ryanstout has joined #opal
ryanstout has quit [Client Quit]
ryanstout has joined #opal
DouweM has quit [Quit: Leaving...]
DouweM has joined #opal
DrShoggoth has joined #opal
elia has joined #opal
<elia> meh`_, saw gh520?
<elia> gh520
<elia> no. bot. :(
<ryanstout> I would say doing numerical stuff is not a normal use case
DouweM has quit [Quit: Leaving...]
<ryanstout> since opal will have more method calls, maybe its an issue with the jit’s not optimizing such a deep stack. I’ve found with volt, performance is good.
<ryanstout> but thats more of a standard JS use case, which the JIT’s are better at optimizing I think
tils has quit [Remote host closed the connection]
<meh`_> ryanstout, the JIT is very good at inlining method calls
<meh`_> ryanstout, I benchmarked some array access few weeks ago
<meh`_> accessing an Array (direct access) and a subclass of Array (method_missing access) the performance was exactly the same
<meh`_> and yes, if you're doing math in Ruby you must be crazy in many cases :)
<ryanstout> meh`_: so you think issue #520 is something else? It may not apply, but I’ve seen in the JVM where things that get a really deep stack don’t get JITted
<meh`_> ryanstout, it is something else
<ryanstout> ok
<meh`_> 2 + 2 in JavaScript is never a method call
<ryanstout> yea, but my point was that those should get inlined to just the JS math stuff right?
<meh`_> and remember in Ruby, operators have coerce semantics and other checks
<meh`_> so it's not just a `a + b`
<ryanstout> ah, maybe thats part of it
<ryanstout> more checks
<meh`_> we're also 90% slower on ifs
<meh`_> why? because we have to work around the retarded semantics of JS
<ryanstout> hehe, yea
<meh`_> but in a general web application scenario, the overhead is irrelevant
<ryanstout> I’ve been using it with volt, and all of my performance issues have been algorithmic
<ryanstout> yea
<meh`_> because the overhead lies in the DOM
<meh`_> if you need math stuff, you write it in js
<meh`_> you wrap an existing js library
<ryanstout> yea
<meh`_> Ruby will always be slower than JavaScript
<meh`_> even in a specialized VM for Ruby
<meh`_> it cannot be faster
<meh`_> they're limits in the design of the language
<meh`_> there are always downsides
<meh`_> you value more sane semantics and ease of development over raw speed
<meh`_> otherwise we'd all be writing fortran
<meh`_> or asm
<ryanstout> yea
[o__o] has joined #opal
GitHub169 has joined #opal
<GitHub169> opal/master f2324db Elia Schito: Let the Util module to rely on a "Command" class
<GitHub169> opal/master 23d3d95 Marc-Andre Lafortune: Fix detection of uglify-js / gzip
GitHub169 has left #opal [#opal]
<GitHub169> [opal] elia pushed 2 new commits to master: http://git.io/8NMVRQ
travis-ci has joined #opal
<travis-ci> [travis-ci] opal/opal#1762 (master - f2324db : Elia Schito): The build passed.
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/21387505
travis-ci has left #opal [#opal]
travis-ci has joined #opal
travis-ci has left #opal [#opal]
<travis-ci> [travis-ci] opal/opal#1762 (master - f2324db : Elia Schito): The build passed.
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/21387505
DrShoggoth has quit [Quit: Leaving]
<elia> meh`_, adambeynon, ryanstout, btw when we'll support for loops I'll just add prime.rb from stdlib :P
<mieko> It's sorta telling that I've been running thousands of LOC through Opal, and just now learned it doesn't support for loops.
<elia> mieko, lol
<elia> mieko, anything public we can brag about on opalrb.org?
GitHub162 has joined #opal
<GitHub162> opal/master b553c71 Elia Schito: Cleanup some code in util.rb...
<GitHub162> [opal] elia pushed 2 new commits to master: http://git.io/5CC4Hg
GitHub162 has left #opal [#opal]
<GitHub162> opal/master 4338c92 Elia Schito: Make `rake dist` dir and file list customizable
ylluminate has joined #opal
<mieko> elia: Nah, just a bunch of broken integration tests at the moment.
travis-ci has joined #opal
<travis-ci> [travis-ci] opal/opal#1763 (master - 4338c92 : Elia Schito): The build passed.
travis-ci has left #opal [#opal]
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/21390195
<elia> mieko, opal-rspec or something else? (just curiuos)
<mieko> elia: I'm just working on getting Capybara to tell me the Opal revamp matches our Coffeescript clusterfuck.
<elia> mieko, cool, when you finish could be a good story IMO
<elia> hearing about a transition from CS to Opal could even save ppl from reading that PayPal uses nodejs :P
<mieko> elia: I'm still proving out the transition, but it's going awesome, so far.