ChanServ changed the topic of #zig to: zig programming language | ziglang.org | be excellent to each other | channel logs: https://irclog.whitequark.org/zig/
return0e has joined #zig
return0xe has quit [Ping timeout: 240 seconds]
m4ge123 has quit [Read error: Connection reset by peer]
m4ge123 has joined #zig
_whitelogger has joined #zig
davr0s has joined #zig
m4ge123 has quit [Ping timeout: 246 seconds]
SimonNa has quit [Remote host closed the connection]
darithorn has joined #zig
darithorn has quit []
dbandstra has joined #zig
dbandstra has quit [Remote host closed the connection]
dbandstra has joined #zig
SimonNa has joined #zig
davr0s has quit [Ping timeout: 246 seconds]
dbandstra has quit [Quit: Leaving]
jjido has joined #zig
jjido has quit [Ping timeout: 240 seconds]
jjido has joined #zig
jjido has quit [Ping timeout: 252 seconds]
jjido has joined #zig
allan0 has joined #zig
commande1 is now known as commander
jjido has quit [Ping timeout: 252 seconds]
very-mediocre has joined #zig
return0xe has joined #zig
return0e has quit [Ping timeout: 246 seconds]
meena has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
meena has joined #zig
meena has left #zig ["http://quassel-irc.org - Chat comfortably. Anywhere."]
very-mediocre has quit [Ping timeout: 256 seconds]
darithorn has joined #zig
jjido has joined #zig
Ichorio has joined #zig
jjido has quit [Ping timeout: 240 seconds]
Geemili has joined #zig
<Geemili> Hello
<andrewrk> hello
davr0s has joined #zig
<Geemili> I wanted to ask, is therea reason why functions have a different syntax than structs?
<Geemili> I mean, structs are anonymous, but generally assigned toa variable, right?
<andrewrk> right
<Geemili> Whereas functions have a name by default
<andrewrk> it might change. structs are anonymous to make it obvious how to do generics
<andrewrk> right now you can make an "anonymous" function by putting it in an anonymous struct
<andrewrk> so this is a low priority item
<andrewrk> there are a few things that could fundamentally change semantics & syntax, and so I'm working on those first
<Geemili> Ah, okay
<Geemili> Is zig unlikely to get an ownership system like rust?
<andrewrk> correct
<andrewrk> constructors/destructors are ruled out
return0xe has quit [Read error: Connection reset by peer]
return0xe has joined #zig
Geemili has quit [Ping timeout: 256 seconds]
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
return0e has joined #zig
return0xe has quit [Read error: Connection reset by peer]
davr0s has joined #zig
unique_id has joined #zig
<unique_id> I'm getting "All tests passed." followed by "Tests failed.", though only sometimes. Could this be because I'm returning from main without closing down all threads?
<unique_id> (in the same run I'm getting these two messages)
j`ey has joined #zig
<andrewrk> this is from `zig test` ?
<unique_id> andrewrk: yes
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<unique_id> if I call std.os.exit(1) then I get "Tests failed" every time, with no "All tests passed" message
<andrewrk> "All tests passed" is printed by the zig binary after every test function returns. "Tests failed" is printed by stage1 compiler if the binary exits in a way other than a clean 0 exit code
<unique_id> oh whoops 1 is error isn't it
<andrewrk> so - yes if you make threads, you could see "All tests passed" followed by "Tests failed"
Ichorio has quit [Ping timeout: 244 seconds]
unique_id has quit [Ping timeout: 268 seconds]
<andrewrk> stream starting in 4 minutes: https://www.twitch.tv/andrewrok - making an x86 hello world kernel in zig
<j`ey> stream started!
m4ge123 has joined #zig
wink_ has joined #zig
so has quit [Ping timeout: 246 seconds]
so has joined #zig
darithorn has quit []