ChanServ changed the topic of #zig to: zig programming language | ziglang.org | be excellent to each other | channel logs: https://irclog.whitequark.org/zig/
<achambe> hmm, fiddle with core counts?
<achambe> andrewrk: not sure if possible, but perhaps there is a recording debugger that works with windows. I think firefox was doing something like using 'rr' to record every test run, and on failure dumping the trace.
<achambe> though windows...
<andrewrk> I want to rule out the possibilty that appveyor is hanging because we're requesting too much memory or CPU power or something like that
<andrewrk> oh wow look at this
<andrewrk> Be careful when using Sleep in the following scenarios:
<andrewrk> Threads that are under concurrency control. For example, an I/O completion port or thread pool limits the number of associated threads that can run. If the maximum number of threads is already running, no additional associated thread can run until a running thread finishes. If a thread uses Sleep with an interval of zero to wait for one of the additional associated threads to accomplish some work, the process might deadlock.
<andrewrk> hmm, that should be fine actually
<GitHub71> [zig] andrewrk pushed 1 new commit to master: https://git.io/vpgnW
<GitHub71> zig/master c186cd1 Andrew Kelley: std.atomic - use AtomicOrder.SeqCst for everything...
<andrewrk> achambe, wow - I just watched appveyor be stuck on std.atomic.queue for 20 minutes and then finish it. And then the next time it got to that same test, it finished it right away
<andrewrk> I think this could be a matter of asking appveyor for too many CPU cycles
<andrewrk> my best guess right now is that appveyor runs in a guest VM with 1 core and spawning 6 threads that are thrashing each other will eventually work, but is very slow
<andrewrk> and we're running that slow test 12 times (an extra 6 times on accident because compiler-rt is inadvertently running the std tests)
<andrewrk> ok I'm convinced now. it really is just 1 core thrashing and being slow (which is intentional for the test) and it's just too slow for appveyor
<GitHub6> [zig] andrewrk pushed 1 new commit to master: https://git.io/vpgWP
<GitHub6> zig/master 02c1b9d Andrew Kelley: fix compiler-rt tests accidentally running std tests...
<GitHub182> [zig] andrewrk closed pull request #972: Fixed inlining determination test (master...nested_func_comptime) https://git.io/vpucC
<GitHub33> [zig] andrewrk pushed 1 new commit to master: https://git.io/vpgWp
<GitHub33> zig/master 131c133 Alexandros Naskos: Fixed inlining determination test (#972)...
<andrewrk> alright I think we're done with those appveyor failures
JinShil has joined #zig
<achambe> neat
<achambe> Hopefully sometime I can automate more operating system installs - I would love a CI platform that just provided you with ssh to all the different operating systems and that was it. Each new ssh connection it just trashes the old vm or something
<achambe> need windows + linux + freebsd + mac + openbsd
<achambe> * arm
<andrewrk> that would be great
<andrewrk> we could start passing tests one at a time
<GitHub21> [zig] andrewrk opened pull request #979: add ReleaseSmall mode in zig tests (master...test-release-small) https://git.io/vpg40
<andrewrk> alexnask, I'll get to your @typeInfo PR after dinner
Braedon has joined #zig
Braedon has quit [Client Quit]
darithorn has quit [Quit: Leaving]
JinShil_ has joined #zig
JinShil has quit [Ping timeout: 240 seconds]
noonien has joined #zig
alexnask_ has joined #zig
alexnask_ has quit [Ping timeout: 255 seconds]
JinShil_ has quit [Quit: Leaving]
davr0s has joined #zig
alexnask_ has joined #zig
alexnask_ has quit [Ping timeout: 255 seconds]
qazo has joined #zig
qazo has quit [Read error: Connection reset by peer]
steveno_ has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alexnask_ has joined #zig
davr0s has joined #zig
qazo has joined #zig
alexnask_ has quit [Ping timeout: 268 seconds]
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davr0s has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davr0s has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<GitHub145> [zig] BraedonWooding opened pull request #981: ArrayList iterator, unifying API of HashMap and its derivatives (master...ArrayIteratorUnifiedSyntax) https://git.io/vp2ZW
davr0s has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davr0s has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davr0s has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
darithorn has joined #zig
davr0s has joined #zig
<GitHub160> [zig] andrewrk closed pull request #979: add ReleaseSmall mode in zig tests (master...test-release-small) https://git.io/vpg40
<GitHub82> [zig] andrewrk pushed 1 new commit to master: https://git.io/vp2w7
<GitHub82> zig/master 7337029 Andrew Kelley: Merge pull request #979 from zig-lang/test-release-small...
qazo has quit [Ping timeout: 264 seconds]
Ichorio has joined #zig
davr0s has quit [Quit: Textual IRC Client: www.textualapp.com]
davr0s has joined #zig
<alexnask> andrewrk, were optional argument names in the callsite ever considered for zig?
<alexnask> I think it can add a lot for code readability in certain places
davr0s has quit [Ping timeout: 240 seconds]
davr0s has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<andrewrk> what do you mean "in the callsite"?
<alexnask> I mean something like: 'mem.copy(u8, src: some_slice, dest: some_slice);'
<andrewrk> ohh
<alexnask> Assuming the parameter names for mem.copy are src and dest
<andrewrk> I'm not sure there's a formal issue open for this. I'm open to the idea
<alexnask> Default values was another one I was going to ask about but I figured we woudn't have them in zig
<andrewrk> there's a pretty reasonable case to be made about named args at callsite preventing bugs
<alexnask> right, it's useful when passing arguments with the same types about
<alexnask> + the function name + argument names used can give you an even better idea of what the func is doing
<andrewrk> I wonder how reasonable it would be to require named args if there were more than 1 of the same type in the parameter list
<alexnask> I think that would be kind of extreme :P
<andrewrk> yeah probably
<alexnask> I'll open an issue in a bit
<alexnask> perhaps it will be a good feature to get acquainted with the parsing stage of the compiler too
<alexnask> (if it's accepted that is)
steveno_ has quit [Quit: Leaving]
darithorn has quit [Ping timeout: 240 seconds]
darithorn has joined #zig
btbytes has joined #zig
jjido has joined #zig
alexnask_ has joined #zig
isd has joined #zig
DuClare_ is now known as DuClare
btbytes has quit [Ping timeout: 260 seconds]
jjido has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jjido has joined #zig
davr0s has joined #zig
Ichorio has quit [Ping timeout: 256 seconds]
jjido has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
darithorn has quit [Quit: Leaving]
alexnask_ has quit [Quit: Page closed]
isd has quit [Ping timeout: 240 seconds]
isd has joined #zig
alexnask has quit [Ping timeout: 264 seconds]
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alexnask has joined #zig
noonien has quit [Quit: Connection closed for inactivity]