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/
cren has quit [Quit: cren]
Jeanne-Kamikaze has joined #zig
_whitelogger has joined #zig
<ikskuh> andrewrk: i encountered the deadlocks on my local machine as well for a time, but they are gone now again
a_chou has joined #zig
Jeanne-Kamikaze has quit [Read error: Connection reset by peer]
<g-w1> its weird, its gone on my server, but on my pc, it only triggers when using tarball version 0.7.1+830bc41b1, but not building from source (even release)
<andrewrk> ok I have an idea to catch it
a_chou has quit [Ping timeout: 260 seconds]
bitmapper has joined #zig
Jeanne-Kamikaze has joined #zig
fengh has joined #zig
a_chou has joined #zig
a_chou has quit [Remote host closed the connection]
_whitelogger has joined #zig
fengh has quit [Quit: WeeChat 3.0]
Jeanne-Kamikaze has quit [Quit: Leaving]
xackus has joined #zig
_whitelogger has joined #zig
spiderstew has joined #zig
spiderstew_ has quit [Ping timeout: 260 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
lucid_0x80 has joined #zig
decentpenguin has quit [Read error: Connection reset by peer]
decentpenguin has joined #zig
osa1 has quit [Quit: osa1]
osa1 has joined #zig
mokafolio has quit [Quit: Bye Bye!]
mokafolio has joined #zig
marnix has joined #zig
marnix has quit [Read error: Connection reset by peer]
marnix has joined #zig
xackus has quit [Ping timeout: 256 seconds]
xackus has joined #zig
alexnask[m] has quit [Quit: Idle for 30+ days]
_whitelogger has joined #zig
cole-h has quit [Ping timeout: 265 seconds]
marnix has quit [Remote host closed the connection]
marnix has joined #zig
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
lucid_0x80 is now known as suskun
<ikskuh> grrrr
<ikskuh> sendto still not fixed :(
xentec has quit [Quit: memento mori]
xentec has joined #zig
raggi has quit [Remote host closed the connection]
Ashpool has joined #zig
marnix has quit [Read error: Connection reset by peer]
marnix has joined #zig
marnix has quit [Ping timeout: 256 seconds]
marnix has joined #zig
wilsonk has quit [Quit: Leaving]
knebulae has joined #zig
wilsonk has joined #zig
marnix has quit [Ping timeout: 260 seconds]
knebulae has quit [Ping timeout: 264 seconds]
waleee-cl has joined #zig
marnix has joined #zig
knebulae has joined #zig
quint has joined #zig
cren has joined #zig
a_chou has joined #zig
a_chou has quit [Remote host closed the connection]
<andrewrk> ikskuh, which pr is that?
<justin_smith> how would I use ** to construct a [10][10]bool of all false values?
<andrewrk> ([1]bool{false} ** 10) ** 10
<justin_smith> andrewrk: appreciate it, thanks
<justin_smith> trial and error based on the examples in the manual was getting tedious...
<justin_smith> andrewrk: it's complaining "expected type '[10][10]bool', found '[100]bool'"
<andrewrk> [1][10]bool{[1]bool{false} ** 10)} ** 10
<fengb> does this work? std.mem.zeroes([10][10]bool)
<justin_smith> fengb: that's certainly more readable, I'll try it...
<justin_smith> fengb: that's counterintuitive but it did work, thanks (I'll leave the other commented out since it does work also)
Ashpool has quit [Quit: Leaving]
cole-h has joined #zig
bitmapper has quit [Quit: Connection closed for inactivity]
dumenci has joined #zig
ur5us has joined #zig
suskun has quit [Ping timeout: 240 seconds]
ifreund1 has joined #zig
ifreund has quit [Ping timeout: 246 seconds]
Jeanne-Kamikaze has joined #zig
ifreund1 is now known as ifreund
marnix has quit [Read error: Connection reset by peer]
marnix has joined #zig
notzmv has quit [Remote host closed the connection]
notzmv has joined #zig
dumenci has quit [Ping timeout: 272 seconds]
tane has joined #zig
Jeanne-Kamikaze has quit [Ping timeout: 260 seconds]
bitmapper has joined #zig
marijnfs has quit [Quit: WeeChat 2.8]
ur5us has quit [Ping timeout: 264 seconds]
hnOsmium0001 has joined #zig
forgot-password has joined #zig
<marler8997> trying to figure out if Zig is handling this correctly, it's a function that converts a UTF8 path to a UTF16 path, but the path is returned as an array value
<marler8997> so the path return value isn't saved to a local variable, it's passed directly to a function...so I want to make sure Zig is still reserving that memory, but it doesn't really look like it is in the assembly code
<marler8997> maybe it is saving it...interesting it looks like the compiler isn't able to optimize the return value from a local variable, so it has to store the return value twice on the stack and copy it
rzezeski has quit [Read error: Connection reset by peer]
tracernz has quit [Read error: Connection reset by peer]
procnto has quit [Ping timeout: 264 seconds]
tracernz has joined #zig
rzezeski has joined #zig
kushalp has quit [Ping timeout: 268 seconds]
kwilczynski has quit [Ping timeout: 260 seconds]
kwilczynski has joined #zig
procnto has joined #zig
kushalp has joined #zig
forgot-password has quit [Quit: leaving]
<justin_smith> marler8997: you are returning a stack allocated value, I'm actually surprised zig lets you do this
<ifreund> justin_smith: that's fine, it's returned by value
<justin_smith> marler8997: is PathSpace a fixed size struct?
<ifreund> std.os.windows.PathSpace
<marler8997> justin_smith yes
<justin_smith> oh, don't mind me
<justin_smith> I get it now
<marler8997> it's a common practice for many languages to do path conversions on the stack this way
<marler8997> very common for calling windows functions
marnix has quit [Ping timeout: 260 seconds]
cren has quit [Quit: cren]
ur5us has joined #zig
jjido has joined #zig
xackus has quit [Ping timeout: 246 seconds]
a92 has joined #zig
marijnfs has joined #zig
ur5us_ has joined #zig
ur5us has quit [Ping timeout: 260 seconds]
jjsullivan1 has quit [Remote host closed the connection]
jjsullivan1 has joined #zig
ur5us_ has quit [Ping timeout: 260 seconds]
ky0ko has joined #zig