ismaelga has quit [Read error: Connection reset by peer]
weskinner_mac has joined #crystal-lang
waj has joined #crystal-lang
waj has quit [Client Quit]
weskinner_ has joined #crystal-lang
waj has joined #crystal-lang
waj has quit [Quit: Leaving.]
weskinner_mac has quit [Quit: weskinner_mac]
shama has quit [Remote host closed the connection]
shama has joined #crystal-lang
shama has quit [Remote host closed the connection]
weskinner has quit [Quit: Connection closed for inactivity]
weskinner_ has quit [Ping timeout: 264 seconds]
Guest99456 has quit [Remote host closed the connection]
jhass has quit [Quit: Bye]
jhass has joined #crystal-lang
ismaelga has joined #crystal-lang
ismaelga has quit [Ping timeout: 252 seconds]
ismaelga has joined #crystal-lang
ismaelga has quit [Ping timeout: 244 seconds]
ismaelga has joined #crystal-lang
ismaelga has quit [Ping timeout: 245 seconds]
chc4 has quit [Quit: yes.]
canhtak has joined #crystal-lang
ismaelga has joined #crystal-lang
ismaelga has quit [Ping timeout: 252 seconds]
canhtak has quit [Quit: canhtak]
canhtak has joined #crystal-lang
ismaelga has joined #crystal-lang
ismaelga has quit [Ping timeout: 250 seconds]
zamith has joined #crystal-lang
leafybasil has quit [Remote host closed the connection]
ismaelga has joined #crystal-lang
ismaelga has quit [Ping timeout: 240 seconds]
leafybasil has joined #crystal-lang
ismaelga has joined #crystal-lang
canhtak has quit [Quit: canhtak]
ismaelga has quit [Ping timeout: 245 seconds]
endou________ has joined #crystal-lang
endou_______ has quit [*.net *.split]
ismaelga has joined #crystal-lang
ismaelga has quit [Ping timeout: 265 seconds]
weskinner_mac has joined #crystal-lang
ismaelga has joined #crystal-lang
ismaelga has quit [Ping timeout: 244 seconds]
ismaelga has joined #crystal-lang
bcardiff has joined #crystal-lang
weskinner_mac has quit [Quit: weskinner_mac]
weskinner_mac has joined #crystal-lang
bcardiff has quit [Quit: Leaving.]
weskinner_mac has quit [Quit: weskinner_mac]
waj has joined #crystal-lang
weskinner_mac has joined #crystal-lang
weskinner_mac has quit [Client Quit]
ismaelga has quit [Remote host closed the connection]
canhtak has joined #crystal-lang
asterite has joined #crystal-lang
weskinner_mac has joined #crystal-lang
weskinner_mac has quit [Quit: weskinner_mac]
weskinner_mac has joined #crystal-lang
ismaelga has joined #crystal-lang
weskinner_mac has quit [Quit: weskinner_mac]
ismaelga has quit [Ping timeout: 256 seconds]
asterite has quit [Quit: Leaving.]
asterite has joined #crystal-lang
asterite has quit [Client Quit]
ismaelga has joined #crystal-lang
asterite has joined #crystal-lang
bcardiff has joined #crystal-lang
endou________ has quit [Remote host closed the connection]
tmoore has quit [Remote host closed the connection]
weskinner_ has joined #crystal-lang
orliesaurus has quit [Excess Flood]
a- has joined #crystal-lang
endou________ has joined #crystal-lang
tmoore has joined #crystal-lang
canhtak has quit [Quit: canhtak]
<weskinner_>
Any update on a decision to continue with libuv or switch to something else?
canhtak has joined #crystal-lang
leafybasil has quit [Remote host closed the connection]
shama has joined #crystal-lang
<crystal-gh>
[crystal] weskinner opened pull request #434: ignore keep-alive in non evented mode (master...keepalive-workaround) http://git.io/ACEs
<asterite>
weskinner_: we'll probably switch, but it's hard to decide because libuv is not thread-safe. It will also take some time, as many APIs stop working in evented (for example IO.select)
<crystal-gh>
[crystal] asterite pushed 4 new commits to master: http://git.io/ACaW
<crystal-gh>
crystal/master add419c Ary Borenszweig: Fixed a bug where you couldn't define a method on a enum with @[Flags]
<crystal-gh>
crystal/master a2ceaf7 Ary Borenszweig: Allow checking inside macros if a type has a given attribute (to replace the macro var @enum_flags)
<jhass>
so the idea is to generate the basic wrappers and then add overrides and additions for where the generation provides a crappy interface
<asterite>
The whole generator is inside src/generator ?
<jhass>
1-2klock I think?
<jhass>
that's more the bootstrap code
<jhass>
it calls into src/g_i_repository
<asterite>
Well, we have the first program/lib that's bigger than the compiler :-P
<jhass>
well, the generated stuff doesn't really count IMO :P
* asterite
whispers *nobody has to know*
<jhass>
1300 of handwritten code
<jhass>
so it's still smaller than DeBot :P
Exilor has joined #crystal-lang
Exilor has quit [Quit: Page closed]
<asterite>
jhass: do you (or did you) code games?
<jhass>
nope
ismaelga has quit [Remote host closed the connection]
<asterite>
Do you like games, though? :)
<jhass>
eh, well, that's like asking do you like entertainment :P
<jhass>
as far as video games go I like things that tell me a story and small puzzle games
<jhass>
not too much into that RPG stuff
<weskinner_>
crystal could be a great alternative to C++ for gamedev
<asterite>
I'd really like to do games in crystal… except that I don't know how to make games (I know the really basic stuff, but not more complex things, nor know existing frameworks, or how to model one)
<jhass>
we had to do a mills in java in 2. semester
<weskinner_>
asterite: did the manas team have any experience writing compilers before crystal?
<asterite>
not at all
<asterite>
we didn't even know how to use llvm
<asterite>
we learned everything in the process, it was quite enlightening :)
<asterite>
and we are still learning!
<weskinner_>
I can imagine
<asterite>
Jonathan Blow is also doing a compiler. One comment someone did to him was "Now I can see that compilers are just regular programs, there's no real magic"
<weskinner_>
for sure, I've learned a lot just trying to get crystal programs to run! :P
<asterite>
and I agree with that, they are just programs :)
<weskinner_>
it's funny how hard it was to wrap my head around the concept of a self hosting compiler
<waj>
yup… they are just programs that when executed they can read their own source code and generate a replica of itself :P
<asterite>
:-P
<asterite>
I actually knew just a tiny bit about compilers because I liked D back then and I did an IDE for it (using Eclipse), and in the process I read a lot of code from DMD (the D compiler). But what DMD does has nothing to do with crystal (in terms of algorithms, I mean). Like, they don't use the visitor pattern
<asterite>
But I didn't read the dragon book, for example
<waj>
hehe… just joking around the same concept. Is not that hard after all… but we have some funny stories like when we found we didn't have a definition of some constant because it was just taking the previous value of the constant :)
<weskinner_>
hmm, from a previous version of the compiler?
<waj>
yes, I think it was IntNN::MAX
<waj>
the value was just hardcoded to IntNN::MAX, but the real value wasn't defined anywhere
<weskinner_>
ahh, haha, and it was never there to begin with?
<asterite>
We need to improve the type inference for blocks, I think it's possible, but right now it's not as lazy as it should
<jhass>
it's inside array.cr
<jhass>
I can't just cast it
<asterite>
And what's the code calling map?
<jhass>
.from_json
<jhass>
Array(Something).from_json
<asterite>
The map call is also in the std?
zamith has quit [Quit: Be back later ...]
<jhass>
yes, my code stops at the Array().from_json call
<jhass>
I'll see if I can reduce it
<asterite>
Good :)
<asterite>
I think this is the error that needs the most attention right now… I think I have an idea of how to solve it, but it'll take me some time. I'll try
weskinner_work has quit [Ping timeout: 240 seconds]
canhtak has joined #crystal-lang
asterite has quit [Quit: Leaving.]
asterite has joined #crystal-lang
weskinner_work has joined #crystal-lang
asterite has quit [Quit: Leaving.]
<jhass>
I'll see if I can reduce it
<jhass>
whoops, wrong terminal :)
asterite has joined #crystal-lang
asterite has quit [Client Quit]
canhtak has quit [Ping timeout: 246 seconds]
canhtak has joined #crystal-lang
stuffl has joined #crystal-lang
weskinner_work has quit [Ping timeout: 265 seconds]