ChanServ changed the topic of #zig to: zig programming language | ziglang.org | be excellent to each other | channel logs: https://irclog.whitequark.org/zig/
steveno_ has joined #zig
errpr has joined #zig
errpr has quit [Ping timeout: 250 seconds]
steveno_ has quit [Quit: Leaving]
emekoi has joined #zig
<emekoi> do we have computed goto's in zig?
<andrewrk> emekoi, no
<andrewrk> will consider adding them if we can't get switch statements optimizing into equivalent performance
emekoi has quit [Remote host closed the connection]
vegecode has joined #zig
<wilsonk> andrewrk: is there a way to output --verbose-ir only for the file I am compiling and not the builtins/std functions? I know in D there was a way to exclude the stdlib
vegecode has quit [Quit: WeeChat 2.2]
<wilsonk> I guess that last question is open for anyone! :)
<andrewrk> wilsonk, no, there's not. here's a clue though: https://gist.github.com/andrewrk/5684434a2a8d4cbb08bb0d855c4f2ada
<wilsonk> exporting and overriding the panic handler works very well...thanks! :)
<wilsonk> I get 4.1k output with both tricks, 219k if I just import debug.warn (and use it, of course) and 4.7M if I don't use the panic override!! Wow
<andrewrk> wilsonk, what about in --release-fast or --release-small mode?
<andrewrk> a large portion of the size is stack traces
<andrewrk> which I believe are not included in release fast / release small modes
caphetrosh has quit [Ping timeout: 268 seconds]
<wilsonk> 3.8k, 201k and 4.3M for release-fast and release-small
<andrewrk> which one is which?
errpr has joined #zig
<daurnimator> I assume that is for "both tricks" vs "debug.warn" vs "no panic override"
<wilsonk> yes daurnimator has it correct...the sizes don't change between fast/small modes strangely
<andrewrk> that's not surprising - but it would be surprising if the size didn't change between debug and release (non-safe)
_whitelogger has quit [Ping timeout: 250 seconds]
_whitelogger has joined #zig
steveno_ has joined #zig
steveno has quit [Ping timeout: 268 seconds]
kristate has quit [Ping timeout: 246 seconds]
Zaab1t has quit [Quit: bye bye friends]
return0e_ has quit [Remote host closed the connection]
return0e has joined #zig
return0e has quit [Remote host closed the connection]
steveno_ has quit [Ping timeout: 250 seconds]
return0e has joined #zig
hgctl has quit [Quit: WeeChat 2.3]
forgot-password has joined #zig
forloveofcats[m] has joined #zig
forloveofcats[m] has left #zig ["User left"]
Ichorio has quit [Ping timeout: 245 seconds]
forloveofcats[m] has joined #zig
forgot-password has quit [Ping timeout: 258 seconds]
ofelas has joined #zig
forgot-password has joined #zig
forgot-password has quit [Quit: leaving]