ChanServ changed the topic of #zig to: zig programming language | ziglang.org | be excellent to each other | channel logs: https://irclog.whitequark.org/zig/
hoppetosse has joined #zig
hoppetosse has quit [Ping timeout: 240 seconds]
davr0s has joined #zig
<jacobdufault> Why is os.File.write accessible in example/hello_world/hello.zig? It is not declared `pub`
<andrewrk> jacobdufault, there's an open issue for that
<GitHub64> [zig] andrewrk pushed 2 new commits to master: https://git.io/vAyJq
<GitHub64> zig/master 7d494b3 Andrew Kelley: Merge branch 'async'...
<GitHub64> zig/master de5c0c9 Andrew Kelley: Merge remote-tracking branch 'origin/master' into async
<andrewrk> zig has async/await now
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
isd has quit [Ping timeout: 240 seconds]
davr0s has joined #zig
davr0s has quit [Client Quit]
davr0s has joined #zig
davr0s has quit [Client Quit]
return0e has quit [Remote host closed the connection]
return0e has joined #zig
isd has joined #zig
isd has quit [Quit: Leaving.]
isd has joined #zig
<andrewrk> everybody go nuts
isd has quit [Quit: Leaving.]
cgag has quit [Read error: Connection reset by peer]
monteslu has quit [Ping timeout: 240 seconds]
lqd has quit [Read error: Connection reset by peer]
ragge has quit [Read error: Connection reset by peer]
l1x has quit [Read error: Connection reset by peer]
monteslu has joined #zig
l1x has joined #zig
ragge has joined #zig
cgag has joined #zig
lqd has joined #zig
cenomla has quit [Quit: cenomla]
tankf33der has joined #zig
<tankf33der> o/
<andrewrk> hi tankf33der
m6w6 has quit [Ping timeout: 265 seconds]
<tankf33der> andrewrk: you should write coroutine ring on zig
<tankf33der> for announce
<andrewrk> what's a coroutine ring?
m6w6 has joined #zig
<tankf33der> 503 coroutines, 50B (billion) number send in ring
<tankf33der> every decrease and push to neib
<tankf33der> print coroutine number when number became a zero
<tankf33der> ive implement it on picolisp as usual
<tankf33der> :)
<tankf33der> various rings on picolisp:
davr0s has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davr0s has joined #zig
return0e has quit [Read error: No route to host]
return0e has joined #zig
hoppetosse has joined #zig
hoppetosse has quit [Ping timeout: 248 seconds]
davr0s has quit [Quit: Textual IRC Client: www.textualapp.com]
hoppetosse has joined #zig
davr0s has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davr0s has joined #zig
defenestrator has joined #zig
<defenestrator> Is there a way or are there plans for a way to have a convenience for unwrap nullable types with a "for"? I've been doing a lot of "for (array) |nullt| { if (nullt) |t| { do_something(t); } }" and it might be nice to have for skip the nulls and give me an unwrapped type somehow (e.g. for (array) |??t|) or something
davr0s has quit [Ping timeout: 240 seconds]
noonien has joined #zig
<andrewrk> defenestrator, did you see that you can do it with a while?
davr0s has joined #zig
<defenestrator> I did. I liked the automatic iteration of an array with the for loop, but I'll see how it looks with the while. Thanks!
<andrewrk> MajorLag, llvm 6 was tagged this morning. I'm building it for windows to get set up with appveyor
<hoppetosse> andrewrk: can you build it with EXPERIMENTALTRGETS=WebAssembly?
<hoppetosse> hoppetosse: I reread the gist, the only big thing I've left out is what I thought it was... you have to 1) build llvm from http://prereleases.llvm.org/6.0.0/ adding the DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=WebAssembly to CMake
<hoppetosse> 2017-11-02
<andrewrk> hoppetosse, oh, great idea. I'll do that and restart the build when I get home from work
<andrewrk> I made https://reviews.llvm.org/D43211 but it has not been accepted yet
<hoppetosse> andrewrk: great XD
<hoppetosse> I'm glad I caught your message
defenestrator has quit [Ping timeout: 260 seconds]
<GitHub91> [zig] andrewrk pushed 1 new commit to master: https://git.io/vASZO
<GitHub91> zig/master 101b774 Andrew Kelley: add optnone noinline to async functions...
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hoppetosse has quit [Ping timeout: 260 seconds]
davr0s has joined #zig
Ichorio has joined #zig
<MajorLag> andrewrk: sweet. I look forward to it.
noonien has quit [Quit: Connection closed for inactivity]
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Ichorio has quit [Quit: Leaving]