Dreamer3 has quit [Remote host closed the connection]
datanoise has quit [Ping timeout: 272 seconds]
zz_Cidan is now known as Cidan
Cidan is now known as zz_Cidan
Dreamer3 has joined #crystal-lang
datanoise has joined #crystal-lang
datanoise has quit [Ping timeout: 258 seconds]
zz_Cidan is now known as Cidan
Excureo has quit [Ping timeout: 264 seconds]
datanoise has joined #crystal-lang
datanoise has quit [Ping timeout: 256 seconds]
JBat has joined #crystal-lang
havenwood has joined #crystal-lang
tmoore has quit [Quit: Connection closed for inactivity]
willlll has joined #crystal-lang
willlll has quit [Client Quit]
willlll has joined #crystal-lang
willlll has quit [Client Quit]
datanoise has joined #crystal-lang
datanoise has quit [Ping timeout: 255 seconds]
strcmp1 has quit [Ping timeout: 245 seconds]
HakanD__ has joined #crystal-lang
datanoise has joined #crystal-lang
strcmp1 has joined #crystal-lang
BlaXpirit has joined #crystal-lang
willlll has joined #crystal-lang
willlll has quit [Client Quit]
datanoise has quit [Ping timeout: 256 seconds]
havenwood has quit [Ping timeout: 245 seconds]
HakanD___ has joined #crystal-lang
HakanD__ has quit [Read error: Connection reset by peer]
HakanD___ has quit [Read error: Connection reset by peer]
ponga has joined #crystal-lang
HakanD___ has joined #crystal-lang
DerisiveLogic has quit [Ping timeout: 256 seconds]
HakanD___ has quit [Read error: Connection reset by peer]
bcardiff has joined #crystal-lang
HakanD___ has joined #crystal-lang
ponga has quit [Client Quit]
willlll has joined #crystal-lang
ponga has joined #crystal-lang
JBat has quit [Quit: Computer has gone to sleep.]
bcardiff has quit [Quit: Leaving.]
bcardiff has joined #crystal-lang
bcardiff has quit [Client Quit]
bcardiff has joined #crystal-lang
willlll has quit [Quit: willlll]
bcardiff has quit [Client Quit]
bcardiff has joined #crystal-lang
bcardiff has quit [Client Quit]
bcardiff has joined #crystal-lang
bcardiff has quit [Client Quit]
datanoise has joined #crystal-lang
BlaXpirit has quit [Quit: Quit Konversation]
datanoise has quit [Ping timeout: 245 seconds]
HakanD___ has quit [Ping timeout: 272 seconds]
HakanD___ has joined #crystal-lang
Cidan is now known as zz_Cidan
JBat has joined #crystal-lang
leafybasil has quit [Remote host closed the connection]
ponga has quit [Quit: Leaving...]
leafybasil has joined #crystal-lang
datanoise has joined #crystal-lang
datanoise has quit [Ping timeout: 258 seconds]
datanoise has joined #crystal-lang
datanoise has quit [Ping timeout: 272 seconds]
JBat has quit [Quit: Computer has gone to sleep.]
BlaXpirit has joined #crystal-lang
DerisiveLogic has joined #crystal-lang
kulelu88 has joined #crystal-lang
DerisiveLogic has quit [Ping timeout: 250 seconds]
datanoise has joined #crystal-lang
datanoise has quit [Ping timeout: 264 seconds]
HakanD___ has quit [Quit: Be back later ...]
bcardiff has joined #crystal-lang
havenwood has joined #crystal-lang
bcardiff has quit [Quit: Leaving.]
bcardiff has joined #crystal-lang
bcardiff has quit [Client Quit]
harisamin has joined #crystal-lang
kulelu88 has quit [Ping timeout: 258 seconds]
JBat has joined #crystal-lang
datanoise has joined #crystal-lang
datanoise has quit [Ping timeout: 246 seconds]
bcardiff has joined #crystal-lang
kulelu88 has joined #crystal-lang
kulelu88 is now known as kulelu88_away
asterite has joined #crystal-lang
<asterite>
jhass: question, if you build DeBot with VERIFY=1, do you get an error?
<jhass>
I never noticed that's a thing :P
<asterite>
If the env var VERIFY is 1, we do llvm verification... this is slow and we have that flag in true for the specs, but in regular code we don't do that
<ddfreyne>
gem up
<ddfreyne>
Wrong window.
<asterite>
:-)
<jhass>
but yeah, 0.6.1 & 0.7.1 dump LL
<asterite>
Good :-)
<jhass>
head head throws undefined constant JSON::Value for some reason
<asterite>
It's not a real issue, but I'll improve the compiler to give a proper error
<asterite>
Ah, yes... I noticed that too, but it's because there's no JSON::Value
<jhass>
ah, right, lol
<asterite>
now the compiler detects that... previously it marked that (wrongly!) as a free var
<asterite>
;-)
<jhass>
I can never remember the name :P
<asterite>
Well, the llvm dump is because you redefine pthread_mutex_init
<asterite>
with other types
<asterite>
but in the end there can only be one pthread_mutext_init function with that name
<asterite>
so the Mutex code breaks
<asterite>
The solution would be to detect these inconsistencies and give a compile time error, which I'll do
<asterite>
but I'd also like to bring your changes to master
<asterite>
but I don't know what pthread_mutexattr_t is... in your code you just treat it as Void* and somehow it works
<jhass>
it's some struct
<jhass>
iirc
<jhass>
I don't need to allocate it, so
<asterite>
I just checked, here its 16 bytes
<asterite>
So I guess we'll need to define that struct and then use your code
<jhass>
btw if you want to add a Queue, a double linked list or stack implementation would probably be better
datanoise has joined #crystal-lang
<asterite>
could you check the size of pthread_mutexattr_t in linux 64 bits and 32 bits, since you have access to them?
<asterite>
jhass: I think those things won't be that useful with lightweight processes, but I'm not sure
<jhass>
yeah, probably should just extract the whole thing to crystal-pthread
<jhass>
pthread_mutexattr_t is 4 bytes on my system
<jhass>
I'd just keep it at Void*
datanoise has quit [Ping timeout: 255 seconds]
<asterite>
but in once place you use `out @attr`, so the compiler has to know the size
<jhass>
it's a pointer
datanoise has joined #crystal-lang
Sadin has joined #crystal-lang
Sadin is now known as Sadin
Sadin has quit [Remote host closed the connection]
Sadin has joined #crystal-lang
<asterite>
Strange, it seems its 4 bytes in 32 bits and 64 bits linux, but 16 bytes in mac
<crystal-gh>
[crystal] asterite pushed 6 new commits to master: http://git.io/vU91A