DanielVartanov has quit [Remote host closed the connection]
dzhulk1 has quit [Quit: Leaving.]
|jemc| has quit [Ping timeout: 272 seconds]
josh-k has joined #rubinius
josh-k_ has joined #rubinius
havenwood has quit [Remote host closed the connection]
josh-k has quit [Ping timeout: 256 seconds]
blacky has joined #rubinius
dzhulk has joined #rubinius
<blacky>
brixen: Hi ! Yesterday, with my rubinius's problem when I restart my laptop, my path/rbx works and I played with irb. Now I'll try to debbug rubinius. :)
<blacky>
Have a nice day.
blacky has quit [Quit: Quitte]
nino has joined #rubinius
omninonsense has quit [Ping timeout: 255 seconds]
benlovell has joined #rubinius
benlovell has quit [Ping timeout: 245 seconds]
max96at|off is now known as max96at
josh-k_ has quit [Remote host closed the connection]
dreinull has quit [Remote host closed the connection]
dreinull has joined #rubinius
meh` has joined #rubinius
<yorickpeterse>
The more I dig into this parsing stuff, the more I wonder how the hell Racc is so much faster than my LL parser
<yorickpeterse>
even the one written in C (though it's basically a port of the Ruby code) is slower
<yorickpeterse>
and looking at the code of cparse.c I don't see it using any secret webscale datastructures (e.g. using a C array for a stack, instead of a Ruby array)
<yorickpeterse>
Although it does use goto operators quite extensively
<Rotonen>
my guess: something the gotos implement is incredibly compiler friendly by accident
<Rotonen>
does it react to -O flags in which ways?
<yorickpeterse>
not that I can see
<Rotonen>
compilers these days are scary good too
<Rotonen>
i've to a degree found it better to write stupidly simple "inefficient" code since 2010 or so
<Rotonen>
my favourite new shiny toy of the past few years, i've had the most use of this one
<Rotonen>
all of my jenkins jobs, which can sensibly go through that, will go through that
<yorickpeterse>
hmm
<Rotonen>
if you use autotools, do take note to run ./configure through it too, it uses some simple 'gets the job done' hackery to hijack your compiler chain
<Rotonen>
well documented on that page, though
<yorickpeterse>
I'm using Ruby :P
<Rotonen>
you've been talking of C
<Rotonen>
also, dunno if anyone ever put a ruby interpreter through that
<yorickpeterse>
ehm, how the fuck do I install scan-build
<yorickpeterse>
Rotonen: Yes, C for Ruby
<Rotonen>
most likely it will cry and crash into a corner on something that complex as MRI
<yorickpeterse>
oh derp there's a page
<yorickpeterse>
meh
<Rotonen>
llvm usually ships with scan-build
<Rotonen>
then again since 3.2 it has gotten better and better
<Rotonen>
and on 3.4 i've not seen any false positives in my codebases anymore
goyox86 has quit [Ping timeout: 244 seconds]
diegoviola has quit [Quit: WeeChat 1.0.1]
elia has joined #rubinius
<yorickpeterse>
ugh, seems storing VALUE pointers somewhere in a struct isn't something Ruby likes
elia has quit [Quit: Computer has gone to sleep.]
<yorickpeterse>
oh yeah and now all of a sudden it works
<yorickpeterse>
but not always
<yorickpeterse>
smells like the GC is fucking up the pointers
<yorickpeterse>
boom, GC guard seems to do the trick
<yorickpeterse>
oh nope it doesn't, darn
<Rotonen>
always fun when you have to try to wave a rubber chicken at your VM internals (at least theorethically you can in this case follow the source...)
<yorickpeterse>
hmpf, my code isn't really faster than using Ruby arrays in C though
<yorickpeterse>
argh, scrap that idea too
<yorickpeterse>
at least my code is a whopping 1.17x faster than Racc
<yorickpeterse>
that's really going to help cut down 3 seconds of parsing time :/
<yxhuvud>
what are you parsing that is taking so much time?
btcctf has quit [Ping timeout: 244 seconds]
btcctf has joined #rubinius
elia has joined #rubinius
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #rubinius
max96at is now known as max96at|off
<yorickpeterse>
yxhuvud: XML
<yorickpeterse>
Though in this particular test case I'm using a very simple JSON grammar
elia has quit [Quit: Computer has gone to sleep.]
|jemc| has joined #rubinius
tenderlove has quit [Quit: Leaving...]
dzhulk has quit [Read error: Connection reset by peer]
dzhulk has joined #rubinius
meh`_ has joined #rubinius
meh` has quit [Ping timeout: 250 seconds]
<|jemc|>
hm, for some reason the docker-contained grafana is "unresponsive"
<|jemc|>
must be missing some piece of configuration...
havenwood has quit [Remote host closed the connection]
enebo has quit [Quit: enebo]
omninonsense is now known as spoiler
spoiler is now known as [spoiler]
havenwood has joined #rubinius
dzhulk has quit [Read error: Connection reset by peer]
dzhulk has joined #rubinius
<|jemc|>
ah, there we go
parndt has joined #rubinius
parndt has quit [Ping timeout: 272 seconds]
omninonsense has joined #rubinius
nino has joined #rubinius
[spoiler] has quit [Ping timeout: 244 seconds]
omninonsense has quit [Ping timeout: 244 seconds]
<|jemc|>
brixen: pushed up a working container to the repo
<|jemc|>
created a rubinius org on hub.docker.com (and I'm happy to surrender control of it whenever), but to set up Automated Builds we have to add a service hook to the github repo (which I don't have permissions to do)