ChanServ changed the topic of #zig to: zig programming language | ziglang.org | be excellent to each other | channel logs: https://irclog.whitequark.org/zig/
<Aequus> https://news.ycombinator.com/item?id=17028878 you guys should make a comment about zig
<MajorLag> andrewrk, huh, I never noticed. When I was doing all the win32 stuff it looked to me like it would just skip anything it couldn't handle.
<andrewrk> MajorLag, but notice that it did find all the function declarations - even though their types were specified with macro defines
<MajorLag> yeah, now that you mention it, I should have noticed
<andrewrk> there's lots of room for improvement, translating macros
zolk3ri has quit [Quit: Lost terminal]
return0e_ has quit [Read error: Connection timed out]
return0e has joined #zig
qazo has quit [Read error: Connection reset by peer]
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…]
JinShil has quit [Quit: Leaving]
davr0s has joined #zig
alexnask has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davr0s has joined #zig
davr0s has quit [Client Quit]
davr0s has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davr0s has joined #zig
noonien has joined #zig
Hejsil has joined #zig
Hejsil has quit [Ping timeout: 260 seconds]
alexnask_ has joined #zig
alexnask has quit [Ping timeout: 264 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
darithorn has joined #zig
Heimdall has joined #zig
<Heimdall> Hello, i am trying out zig and have a question.
<Heimdall> How should I format a string?
<Heimdall> I tried _ = text.appendFormat("x: {}\ny: {}", mousePos.x, mousePos.y);
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<andrewrk> hi Heimdall
<andrewrk> did it work?
<andrewrk> oh, I see. I will make an example for you
davr0s has joined #zig
<GitHub106> zig/master 6e82107 Andrew Kelley: update std.Buffer API...
<GitHub106> [zig] andrewrk pushed 1 new commit to master: https://git.io/vpyRE
<andrewrk> std.io.OutStream is the struct that gives you all the nice API such as print(), and std.io.BufferOutStream is a struct that gives you an OutStream for a Buffer
SimonNa has joined #zig
noonien has quit [Quit: Connection closed for inactivity]
Ichorio has joined #zig
<Heimdall> andrewrk, thank you for the example. It works and helped me :). I got a winapi window that prints the mouse position running.
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<andrewrk> neat!
davr0s has joined #zig
Ichorio has quit [Ping timeout: 276 seconds]
jjido has joined #zig
jjido has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Sahnvour has joined #zig
<Sahnvour> hi andrewrk, real life caught up on me but I'm still planning to work on windows error stacks eventually, is there any progress on this at the moment ?
<andrewrk> Sahnvour, not as far as I'm aware
<andrewrk> windows error stacks would be a very welcome addition
<andrewrk> especially if we didn't have to depend on msvc being installed
<Sahnvour> yup. anyways nobody wants to have to use DIA :)
<andrewrk> even if it only supported debug info that was emitted by ourselves - e.g. LLVM 6 and LLD 6 with the settings zig uses - that would solve 95% of the usefulness of stack traces
Heimdall has quit [Ping timeout: 260 seconds]
<Sahnvour> I'm wondering if assuming that the .pdb (when present) will be named after the executable and in the same directory is good enough
<Sahnvour> otherwise, there's .pdb full path inside a COFF section of the executable