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/
_whitelogger has joined #zig
<andrewrk> hryx, never mind - I see that not only does it not parse in the stage1 parser, it also doesn't pass zig-spec grammar
<andrewrk> _whitelogger, welcome back
<hryx> andrewrk: thanks for confirming
<andrewrk> zig-spec should be the authority - if zig-spec is wrong we should fix it
<andrewrk> hryx, for comparing perf of different implementations, you can measure bytes per second of the different implementation, and then try a bunch of different workloads - for example the entire standard library
<andrewrk> for looking at perf analysis of a particular implementation, I recommend valgrind + kcachegrind
<TheLemonMan> is there a kind soul running a windows machine that's willing to get me a stack-trace for #2440 ?
<andrewrk> TheLemonMan, just a sec
<hryx> I'll give those analysis tools a shot tonight!
<andrewrk> I'm sure there's a better way to learn these tools but I did a video on using valgrind + kcachegrind: https://www.youtube.com/watch?v=WIfiPYEcWG8
<andrewrk> it definitely doesn't take 1hr42min to learn if you can find a text based tutorial
bugabinga has joined #zig
jevinskie has quit [Ping timeout: 255 seconds]
<andrewrk> TheLemonMan, it's failing on `bin\zig.exe fmt ..\build.zig`. But running that process alone isn't reproducing the failure so it's hard to get a stack trace
<andrewrk> it crashes when that is executed as a child process
<TheLemonMan> maybe windows doesn't like my stack probe routine :\
<andrewrk> I thought windows already had stack probing?
<andrewrk> before
<andrewrk> before #2440
<TheLemonMan> yep, but LLVM now uses __zig_stack_probe on windows too
<andrewrk> hi SamTebbs33 - one thing you could do is to start a project targeting ARM. this will inevitably lead you to find the areas that need to be improved
<andrewrk> if you are interested in getting ARM 64 bit linux to be tier 1 support, I can open an issue and make a checklist for you
<TheLemonMan> I have a nearly-finished patchset for ARM 32 bit
Sahnvour has joined #zig
<TheLemonMan> andrewrk, any reason why naked functions are not callable?
<andrewrk> TheLemonMan, yeah - the idea is you have to @ptrCast the naked function to an actual calling convention
<TheLemonMan> I'm not 100% on-board with conflating nakedness with the calling convention
<TheLemonMan> but gotcha, I'd suggest to relax the restriction for functions with no arguments and void return type
<andrewrk> TheLemonMan, makes sense. I'm open to proposals
<andrewrk> alright I'm going to be quiet for a few hours and make some progress on copy elision
rivten has quit [Quit: Page closed]
meheleventyone has joined #zig
jevinskie has joined #zig
jjido has joined #zig
jjido has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jevinskie has quit [Ping timeout: 250 seconds]
meheleventyone has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wootehfoot has joined #zig
jjido has joined #zig
jevinskie has joined #zig
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
bheads_______ has joined #zig
bheads______ has quit [Ping timeout: 258 seconds]
<tgschultz> I think there's a bug with comptime @ptrCast where writing through the cast changes the child type permanently.
return0e_ has joined #zig
return0e has quit [Ping timeout: 245 seconds]
donpdonp has joined #zig
<donpdonp> is there a build.zig command to add -rdynamic
bheads______ has joined #zig
bheads_______ has quit [Ping timeout: 246 seconds]
very-mediocre has quit [Ping timeout: 256 seconds]
* donpdonp works around it
jfo has joined #zig
qazo has joined #zig
wootehfoot has quit [Read error: Connection reset by peer]
scientes has joined #zig
mindfv has joined #zig
scientes has quit [Remote host closed the connection]
scientes has joined #zig
scientes has quit [Remote host closed the connection]
scientes has joined #zig
bugabinga has quit [Ping timeout: 252 seconds]
tane has quit [Quit: Leaving]
scientes has quit [Remote host closed the connection]
scientes has joined #zig
scientes has quit [Remote host closed the connection]
jfo has quit [Ping timeout: 245 seconds]
mindfv has quit [Quit: Leaving]
hg has quit [Quit: WeeChat 2.4]
jjido has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
qazo has quit [Ping timeout: 250 seconds]
Ichorio has quit [Ping timeout: 250 seconds]
jjido has joined #zig
jjido has quit [Client Quit]
scientes has joined #zig
Sahnvour has quit [Read error: Connection reset by peer]
<daurnimator> Thalheim: I'm not sure how naked *isn't* a calling convention?