ChanServ changed the topic of #zig to: zig programming language | https://ziglang.org | be excellent to each other | channel logs: https://irclog.whitequark.org/zig/
artmb has joined #zig
artmb has quit [Ping timeout: 250 seconds]
sundbp has quit [Ping timeout: 268 seconds]
cole-h has quit [Ping timeout: 260 seconds]
casaca has joined #zig
squeek502 has quit [Remote host closed the connection]
Stephie has quit [Quit: Fuck this shit, I'm out!]
Stephie has joined #zig
ShockTohp has quit [Quit: leaving]
brzg has joined #zig
klltkr has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
klltkr has joined #zig
klltkr has quit [Client Quit]
klltkr has joined #zig
klltkr has quit [Client Quit]
ShockTohp has joined #zig
artmb has joined #zig
artmb has quit [Ping timeout: 276 seconds]
brzg has quit [Quit: leaving]
<noam> andrewrk: what's the issue with #131 in stage1?
powerofzero has joined #zig
<noam> but.... huh?
<noam> But... what dependency is there?? a.next depends on the *address* of b, which depends only on knowing b's *size*, which dependso nly on type info
<noam> The value of b.next has no effect on a
<g-w1> thats why its a bug i think :P
<noam> Is that just a false dependency detection?
<g-w1> yea
andreao7 has joined #zig
andreao has quit [Ping timeout: 240 seconds]
andreao7 is now known as andreao
andreao6 has joined #zig
andreao has quit [Ping timeout: 252 seconds]
andreao6 is now known as andreao
artmb has joined #zig
artmb has quit [Ping timeout: 246 seconds]
ur5us has quit [Ping timeout: 258 seconds]
marler8997 has joined #zig
<marler8997> how would I set the eval branch quota when I'm initializing a ComptimeStringMap?
<marler8997> here's the full code I'm trying to compile, just creating a comptime string map with 100 entries: https://gist.github.com/marler8997/4d0021165706ea121c523dbaf5bf8974
ShockTohp has quit [Quit: leaving]
powerofzero has quit [Ping timeout: 240 seconds]
andreao9 has joined #zig
<marler8997> ah clever
andreao has quit [Ping timeout: 246 seconds]
andreao9 is now known as andreao
osa1 has joined #zig
andreao1 has joined #zig
andreao has quit [Ping timeout: 260 seconds]
andreao1 is now known as andreao
sord937 has joined #zig
frett27 has joined #zig
powerofzero has joined #zig
powerofzero has quit [Remote host closed the connection]
cole-h has joined #zig
frett27 has quit [Ping timeout: 246 seconds]
selby has joined #zig
osa1 has quit [Ping timeout: 260 seconds]
selby has quit [Quit: My MacBook has gone to sleep.]
artmb has joined #zig
artmb has quit [Ping timeout: 246 seconds]
tnorth_ has joined #zig
andreao has quit [Quit: The Lounge - https://thelounge.chat]
sundbp has joined #zig
ur5us has joined #zig
osa1 has joined #zig
artmb has joined #zig
artmb has quit [Ping timeout: 258 seconds]
ur5us has quit [Ping timeout: 276 seconds]
yyp has joined #zig
RadekCh has joined #zig
yyp has quit [Quit: bye]
RadekCh has quit [Ping timeout: 240 seconds]
gphilipp has joined #zig
gphilipp has quit [Quit: Ping timeout (120 seconds)]
TheLemonMan has joined #zig
riba has joined #zig
artmb has joined #zig
riba has quit [Ping timeout: 240 seconds]
cole-h has quit [Ping timeout: 240 seconds]
artmb has quit [Ping timeout: 258 seconds]
amk has quit [Remote host closed the connection]
amk has joined #zig
frett27 has joined #zig
frett27 has quit [Ping timeout: 246 seconds]
artmb has joined #zig
trastos has joined #zig
trastos has quit [Ping timeout: 240 seconds]
kragacles has quit [Quit: ZNC 1.8.2 - https://znc.in]
kragacles has joined #zig
dimenus has quit [Quit: WeeChat 3.1]
kragacles has quit [Quit: ZNC 1.8.2 - https://znc.in]
kragacles has joined #zig
dimenus has joined #zig
dimenus has quit [Quit: WeeChat 3.1]
dimenus has joined #zig
selby has joined #zig
selby has quit [Read error: Connection reset by peer]
nycex has quit [Remote host closed the connection]
nycex has joined #zig
leon-p has joined #zig
di-wu has joined #zig
spacelove has joined #zig
<spacelove> Is this idiomatic zig? https://zigbin.io/d9ea91 Calling functions and ignoring their return values
<spacelove> Trying to work with ncurses, but this feels kind of funny
<ifreund> no it's not very idiomatic because ncurses is not an idiomatic zig library
<spacelove> Would you do it this way?
<ifreund> If I needed to use ncurses yes
<spacelove> Cool. J/w
<ifreund> though I'd probably get frustated and write my own terminal drawing library or work on an existing zig one
dutchie has quit [Quit: leaving]
dutchie has joined #zig
ifreund_ has quit [Quit: Idle for 30+ days]
supercoven has joined #zig
tnorth_ has quit [Ping timeout: 245 seconds]
Akuli has joined #zig
aerona has joined #zig
reductum has joined #zig
dyeplexer has joined #zig
spacelove has quit [Ping timeout: 240 seconds]
cole-h has joined #zig
dyeplexer has quit [Remote host closed the connection]
frett27 has joined #zig
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
aerona has quit [Quit: Leaving]
sord937 has quit [Quit: sord937]
mikdusan has quit [Quit: WeeChat 3.0.1]
kenran has joined #zig
knebulae has joined #zig
spacelove has joined #zig
<andrewrk> ifreund, check it out: https://clbin.com/CNXFw
<andrewrk> nice 'n clean
<ifreund> that is very clean, nice work :)
<andrewrk> if you remove the range case, it becomes very compact
<ifreund> andrewrk: are you planning on doing the switch validation functions in sema? I might give them a go if not
<ifreund> doesn't seem like there's a whole lot left to do on the branch in general
<andrewrk> that was going to be my next task, but I'm about to break for lunch. you want to go for it? :)
<andrewrk> Module.SrcLoc.byteOffset needs some work too
<andrewrk> also last I checked the cbe .h file test cases were failing for some reason
<g-w1> andrewrk: do you know why setevalbranchquota test is being reported failing on llvm12 tests?
<ifreund> hmm, maybe I'll look into the cbe test failures instead, I haven't done anything in sema yet
<andrewrk> g-w1, nope have not looked into it yet
<andrewrk> when was the last time you checked? I think I resolved an issue related to that a few days ago
<g-w1> the new pass manager pr mentioned it
<g-w1> havent compiled llvm12 yet :)
* andrewrk breaks for lunch
<mq32> heya o/
<mq32> andrewrk, have a good one!
<mq32> how does zig std handle ioctl codes?
<mq32> i want to create portable zig code and i assume that ioctl codes differ between platforms?
mq32 is now known as ikskuh
aerona has joined #zig
<ifreund> ikskuh: I don't think it really does yet, but it should probably be done the same way as other info that differs between platforms/architectures
<ifreund> for now you can just @cImport() sys/ioctl.h
frett27 has quit [Ping timeout: 246 seconds]
<ifreund> for example we do have SIOCGIFINDEX defined in std/os/bits/linux.zig
<ikskuh> ifreund: hm. i'd love to have no C deps in that project :/
<ifreund> ikskuh: You shouldn't need to link libc to include that header
<ikskuh> hm, i'll see :)
<ifreund> though you may manually need to tell zig where to look if you don't
<ikskuh> (building a DRM binding for zig)
kenran_ has joined #zig
kenran has quit [Quit: Lost terminal]
ur5us has joined #zig
supercoven has quit [Ping timeout: 260 seconds]
redj has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
kenran_ has quit [Quit: leaving]
redj has joined #zig
AtomToast has joined #zig
Akuli has quit [Quit: Leaving]
artmb has quit [Ping timeout: 246 seconds]
reductum has quit [Quit: WeeChat 3.1]
bitmapper has joined #zig
artmb has joined #zig
artmb has quit [Ping timeout: 246 seconds]
artmb has joined #zig
ncon has quit [Remote host closed the connection]
ncon has joined #zig
artmb has quit [Ping timeout: 250 seconds]
mikdusan has joined #zig
benaiah has quit [Quit: G'bye]
spacelove has quit [Ping timeout: 240 seconds]
skuzzymiglet has quit [Quit: WeeChat 3.1]
benaiah has joined #zig
notzmv has quit [Read error: Connection reset by peer]
Guest89795 has joined #zig
Guest89795 is now known as notzmv
<andrewrk> finally, got switch expressions passing tests in zir-memory-layout
<andrewrk> might even get the branch done today
<andrewrk> ifreund, you got anything WIP for me to watch out for?
artmb has joined #zig
artmb has quit [Ping timeout: 246 seconds]
ur5us has quit [Ping timeout: 258 seconds]
<g-w1> seems like emit-h needs some work?
<g-w1> seems like it is literally trying to return void. ill look into why retvoid is not being used :1:8: error: TODO: C backend: implement value Void