ChanServ changed the topic of #zig to: zig programming language | ziglang.org | be excellent to each other | channel logs: https://irclog.whitequark.org/zig/
<andrewrk> there is no address. no machine code is generated for 0 bit types
kristate has joined #zig
wink__ has joined #zig
wink__ has left #zig [#zig]
kristate has quit [Remote host closed the connection]
noonien has quit [Quit: Connection closed for inactivity]
kristate has joined #zig
kristate has quit [Remote host closed the connection]
kristate has joined #zig
kristate has quit [Remote host closed the connection]
davr0s has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kristate has joined #zig
kristate has quit [Ping timeout: 252 seconds]
wink_ has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
adrusi has quit [Read error: Connection reset by peer]
wink_ has joined #zig
adrusi has joined #zig
kristate has joined #zig
<wink_> My wife is having some outpatient surgery tomorrow, I'll probably sign in at somepoint. See https://github.com/winksaville/zig-u0-tests for the tests I created. There are a few which are yielding "unexpected" results but overall seems pretty good.
<kristate> wink_: I hope everything goes well
<kristate> about to write a reply comment, but I really think u0 is in search of a problem where there is none
<wink_> Could be, but if u0 can be "properly" defined and works "as expected" I think its fine.
<kristate> wink_: I think it's like that pony language defining 1/0=0
<kristate> it's going to hide bugs, especially allowing @atomicRmw to be a noop
<wink_> yeah, I thought that was funny too.
<kristate> if you need u0, something is seriously wrong
<wink_> At the moment I have no immediate need but it just seems it could work.
<kristate> wink_: yeah, that's what makes it dangerous. NULL was the same way apparently
<kristate> it just _seemed_ like a good idea at the time
<scientes> NULL was a good idea, zig just does it better
<wink_> This is pre 1.0 and I think experiments are fine.
<kristate> wink_: I think that I am of that way, but I did not like andrewrk's attitude that he could not defend u0 but tried to force me to say what was wrong with it.
<wink_> In the end someone has to make a decision to make progress, mistakes will be made but that's ok. Fail fast is a good thing :)
<wink_> gtg, getting up early. Cheers.
<kristate> wink_: okay, be well
<kristate> thanks again
adrusi has quit [Ping timeout: 240 seconds]
adrusi has joined #zig
<wilsonk> Just stumbled onto this u0 debate (late I realize :) ). If zig is going to be really close to bare metal then there might be one use case for such a type (maybe). Ethernet technically transmits states 0, [ nothing ] and 1...so NOT just 0 and 1. This is because there needs to be a positive or negative voltage difference to produce the 0 or 1...nothing is the neutral state and is a state that needs to be there to avoid bias (i
<wilsonk> e. too many 0's or 1's in a row produce bias). Perhaps a language that can represent this state would be useful, even if only as a no-op...basically? Or perhaps only as a theoretical type that code-gens to nothing?
<wilsonk> Anyways, just my two bits. ( pun intended :) )
<wilsonk> I might also be talking out my butt, because I am trying to recall old CompSci information stuffed deep down in the old medula oblongata!!! Take with a grain of salt please ;)
adrusi has quit [Ping timeout: 272 seconds]
adrusi has joined #zig
porky11 has joined #zig
davr0s has joined #zig
porky11 has quit [Ping timeout: 250 seconds]
unique_id has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
allan0 has joined #zig
davr0s has joined #zig
kristate has quit []
kristate has joined #zig
georgewhite has joined #zig
<j`ey> how/where does @import happen in the compiler?
<j`ey> oh, github doesnt show the full ir.cpp file
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davr0s has joined #zig
georgewhite has quit [Remote host closed the connection]
noonien has joined #zig
kristate has quit [Remote host closed the connection]
Hejsil has joined #zig
<Hejsil> andrewrk, Seems bytesToSlice broke: https://github.com/ziglang/zig/issues/1551
very-mediocre has joined #zig
<andrewrk> Hejsil, I'll fix it, thanks
<andrewrk> scientes, zig's allocator interface when asked for 0 bytes returns undefined sliced from 0..0
<andrewrk> so we don't even have to deal with this malloc issue, because we have slices
return0e_ has joined #zig
Hejsil has quit [Quit: Page closed]
return0e_ has quit [Remote host closed the connection]
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
return0e_ has joined #zig
return0e_ has quit [Ping timeout: 244 seconds]
davr0s has joined #zig
<andrewrk> kristate: It is not acceptable to characterize #1530 as "andrewrk could not defend u0". I would like you to take a break from Zig for a week, and then come back when you're ready to interact in an honest, positive, and open-minded way.
unique_id has quit [Remote host closed the connection]
unique_id has joined #zig
porky11 has joined #zig
return0e_ has joined #zig
unique_id has quit [Remote host closed the connection]
return0e_ has quit [Ping timeout: 240 seconds]
darithorn has joined #zig
return0e_ has joined #zig
unique_id has joined #zig
dimenus has joined #zig
Ichorio has joined #zig
return0e_ has quit [Ping timeout: 246 seconds]
return0e_ has joined #zig
return0e_ has quit [Remote host closed the connection]
return0e_ has joined #zig
return0e_ has quit [Client Quit]
very-mediocre has quit [Ping timeout: 252 seconds]
dimenus has quit [Quit: Leaving]
Ichorio has quit [Ping timeout: 246 seconds]
<andrewrk> whew... achieved the bug fix quota to be on schedule for 0.3.0
porky11 has quit [Quit: Leaving]
<unique_id> nice
<andrewrk> current schedule: https://clbin.com/fl3zL
return0e_ has joined #zig
noonien has quit [Quit: Connection closed for inactivity]
return0e_ has quit [Ping timeout: 252 seconds]
MajorLag has quit [Ping timeout: 252 seconds]
return0e has quit [Ping timeout: 244 seconds]