ChanServ changed the topic of #zig to: zig programming language | ziglang.org | be excellent to each other | channel logs: https://irclog.whitequark.org/zig/
noonien has quit [Quit: Connection closed for inactivity]
steveno has joined #zig
kristate has joined #zig
hooo has quit [Quit: Connection closed for inactivity]
njd has quit [*.net *.split]
steveno has quit [Ping timeout: 268 seconds]
kristate has quit [Remote host closed the connection]
kristate has joined #zig
<MajorLag>
I expect to be able to push the Stream portion of interface reform when I wake up tomorrow morning (running what should be final integration tests now). That just leaves Random, which tiehuis said he already did.
<MajorLag>
There was a little bit of annoyance from the Abstract interfaces requiring a *@OpaqueType, because some implementations didn't need to be a pointer and a couple were 0-bit types which I had to add a dummy field to.
<MajorLag>
Of course, they needed an interface struct member before, so I guess nothing was really lost there.
_whitelogger has joined #zig
kristate_ has joined #zig
kristat__ has joined #zig
kristate has quit [Ping timeout: 245 seconds]
kristate has joined #zig
kristate_ has quit [Ping timeout: 268 seconds]
kristate has quit [Remote host closed the connection]
kristate has joined #zig
kristat__ has quit [Ping timeout: 250 seconds]
kristate has quit [Remote host closed the connection]
kristate has joined #zig
kristate has quit [Remote host closed the connection]
kristate has joined #zig
kristate has quit [Remote host closed the connection]
kristate has joined #zig
kristate has quit [Remote host closed the connection]
marmotini_ has joined #zig
marmotini has joined #zig
marmotini_ has quit [Client Quit]
kristate has joined #zig
kristate has quit [Remote host closed the connection]
kristate has joined #zig
kristate has quit [Remote host closed the connection]
kristate has joined #zig
kristate has quit [Remote host closed the connection]
kristate has joined #zig
kristate has quit [Remote host closed the connection]
kristate has joined #zig
kristate has quit [Remote host closed the connection]
kristate has joined #zig
kristate has quit [Remote host closed the connection]
kristate has joined #zig
kristate has quit [Remote host closed the connection]
kristate has joined #zig
kristate has quit [Ping timeout: 245 seconds]
fsateler_ has quit [Ping timeout: 258 seconds]
fsateler has joined #zig
vegai has left #zig [#zig]
Zaab1t has joined #zig
steveno has joined #zig
kristate has joined #zig
forgot-password has joined #zig
marmotini has quit [Ping timeout: 250 seconds]
halosghost has joined #zig
kristate has quit [Remote host closed the connection]
marmotini has joined #zig
dtz has quit [Ping timeout: 260 seconds]
forloveofcats[m] has quit [Ping timeout: 252 seconds]
dtz has joined #zig
shinzo has left #zig [#zig]
<MajorLag>
Is godbolt broken for anyone else? Seems to insist on inserting \r\n newlines.
<MajorLag>
Oh, I see that issue was reported 2 days ago
<forgot-password>
Is a inline for loop always run at compile time?
<forgot-password>
Or can I call runtime functions inside of it?
<MajorLag>
you can call runtime functions inside it, but whatever it is iterating over must be comptime known.
Ichorio has joined #zig
marmotini has quit [Ping timeout: 268 seconds]
<forgot-password>
Alright, so then my loop just gets unrolled into multiple calls, which are populated with the comptime values from the iteration?
<MajorLag>
yes
forgot-p1ssword has joined #zig
forgot-password has quit [Ping timeout: 246 seconds]
darithorn has joined #zig
wootehfoot has joined #zig
<forgot-p1ssword>
Is there any plan on supporting information being carried with an error?
<forgot-p1ssword>
Currently I'm using std.debug.warn to print some text and then return an error
<MajorLag>
andrewrk, I have a question when you have time. Given this simplified gist: https://gist.github.com/tgschultz/c9033629fa1625fd166b8a38c5f9c4f6, at first glance it looks like the abstract stream shouldn't work, since it passes `*File` where `File` is expected, however it seems to work fine. I suspect this is because `File` is really `*const File` under the hood. Can you confirm that I shouldn't rely on this behavior
<MajorLag>
p being passed as an actual copy at some point in the future?
steveno has quit [Ping timeout: 268 seconds]
forgot-p1ssword has quit [Quit: leaving]
meheleventyone has joined #zig
meheleventyone has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
steveno has joined #zig
hooo has joined #zig
Zaab1t has quit [Quit: bye bye friends]
steveno has quit [Ping timeout: 250 seconds]
<andrewrk>
MajorLag, I think your code isn't being analyzed because it's not being called. lazy top level declaration evaluation
<MajorLag>
andrewrk, it is being analyzed, I have it called by parts of std and passing a full integration test. I think I'm just getting lucky because passing a struct as a parameter currently means it is always passed as a pointer (IIRC), but that will change in the future and the compiler could choose to pass it as a copy and break it.
<andrewrk>
that's correct
jfo has joined #zig
jfo has quit [Ping timeout: 258 seconds]
wootehfoot has quit [Read error: Connection reset by peer]