ChanServ changed the topic of #zig to: zig programming language | ziglang.org | be excellent to each other | channel logs: https://irclog.whitequark.org/zig/
return0e has quit [Ping timeout: 252 seconds]
return0e has joined #zig
redj has joined #zig
bodie_ has quit [*.net *.split]
moxotter has quit [*.net *.split]
meena has quit [*.net *.split]
Guest73197 has joined #zig
meena has joined #zig
nodist has joined #zig
nodist has quit [Client Quit]
utzig has quit [*.net *.split]
tyler569 has quit [Ping timeout: 260 seconds]
return0e has quit [Remote host closed the connection]
tyler569 has joined #zig
mnoronha has joined #zig
return0e has joined #zig
<scientes> andrewrk, you on? you want to set up the github hook for arm64 CI?
hoppetosse has quit [Ping timeout: 240 seconds]
mnoronha has quit [Ping timeout: 245 seconds]
tobbez has quit [*.net *.split]
rom1504 has quit [*.net *.split]
lqd has quit [*.net *.split]
Vinski has quit [*.net *.split]
profan has quit [*.net *.split]
s455wang has quit [*.net *.split]
crimson_penguin has quit [*.net *.split]
mnoronha has joined #zig
darithorn has quit [Quit: WeeChat 2.2]
_whitelogger has joined #zig
dbandstra has joined #zig
moxotter has joined #zig
<dbandstra> andrewrk, i think this bug is also fixed by your recent commit https://github.com/ziglang/zig/issues/1091
kristate has joined #zig
kristate has quit [Remote host closed the connection]
kristate has joined #zig
<dbandstra> this could also be closed https://github.com/ziglang/zig/issues/1229
<dbandstra> it doesn't segfault for me, gives a proper compile error, although not a very helpful one
<dbandstra> for (@typeInfo(S).Struct.fields) |field, i| {}
<dbandstra> ^
<dbandstra> "error: variable of type 'StructField' must be const or comptime"
reductum has joined #zig
<dbandstra> guess i should just comment on the issue
mnoronha has quit [Ping timeout: 252 seconds]
kristate has quit [Ping timeout: 240 seconds]
mnoronha has joined #zig
davr0s has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davr0s has joined #zig
JinShil has joined #zig
shodan45 has joined #zig
ryanmtate has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kristate has joined #zig
Guest38678 has joined #zig
Guest38678 is now known as lqd
kristate has quit [Remote host closed the connection]
reductum has quit [Quit: WeeChat 2.2]
dbandstra has quit [Quit: Leaving]
ryanmtate has quit [Ping timeout: 250 seconds]
davr0s has joined #zig
mnoronha has quit [Ping timeout: 246 seconds]
mnoronha has joined #zig
mnoronha has quit [Ping timeout: 240 seconds]
mnoronha has joined #zig
mnoronha has quit [Ping timeout: 240 seconds]
JinShil has quit [Quit: Leaving]
Avinash has joined #zig
Avinash has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mnoronha has joined #zig
Avinash has joined #zig
DutchGh0st has joined #zig
<DutchGh0st> can you cancel a coroutine at ANY point?
mnoronha has quit [Ping timeout: 252 seconds]
Avinash has quit [Quit: Textual IRC Client: www.textualapp.com]
DutchGh0st has quit [Ping timeout: 252 seconds]
noonien has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davr0s has joined #zig
ryanmtate has joined #zig
ryanmtate has quit [Ping timeout: 250 seconds]
kristate has joined #zig
mnoronha has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mnoronha has quit [Ping timeout: 245 seconds]
bheads has joined #zig
kristate has quit [Remote host closed the connection]
kristate has joined #zig
kristate has quit [Ping timeout: 250 seconds]
kristate has joined #zig
davr0s has joined #zig
<scientes> if i do --emit llvm-ir and then build with clang --fuse-ld=lld it works, but the build-exe is corrupt
<scientes> how do i debug this?
<scientes> --emit asm
<scientes> -emit llvm-ir, then llc, then clang -fuse-ld=lld works
<scientes> (on arm64)
<scientes> i'll look into this after work
mnoronha has joined #zig
mnoronha has quit [Ping timeout: 240 seconds]
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mnoronha has joined #zig
mnoronha has quit [Ping timeout: 240 seconds]
DutchGh0st has joined #zig
<DutchGh0st> Oh look, it handles signed ints as well now: https://github.com/DutchGhost/byteparse/blob/master/byteparse.zig
very-mediocre has joined #zig
<DutchGh0st> I suppose all that checking for if I put in a Signed int type or an Unsigned int type is all done at compiletime?
mnoronha has joined #zig
<DutchGh0st> its funny how both digits10(), and atoi() call each other :3
<DutchGh0st> And, it was kinda easy to put this in really :)
Vinski has joined #zig
ryanmtate has joined #zig
mnoronha has quit [Ping timeout: 260 seconds]
kristate has quit [Remote host closed the connection]
kristate has joined #zig
kristate has quit [Ping timeout: 252 seconds]
darithorn has joined #zig
mnoronha has joined #zig
DutchGh0st has quit [Ping timeout: 252 seconds]
mnoronha has quit [Ping timeout: 240 seconds]
mnoronha has joined #zig
mnoronha has quit [Ping timeout: 252 seconds]
kristate has joined #zig
kristate has quit [Ping timeout: 252 seconds]
mnoronha has joined #zig
mnoronha has quit [Ping timeout: 246 seconds]
kristate has joined #zig
kristate has quit [Ping timeout: 252 seconds]
kristate has joined #zig
DutchGh0st has joined #zig
kristate has quit [Ping timeout: 246 seconds]
davr0s has joined #zig
mnoronha has joined #zig
very-mediocre has quit [Ping timeout: 252 seconds]
mnoronha has quit [Ping timeout: 252 seconds]
kristate has joined #zig
kristate has quit [Ping timeout: 245 seconds]
hoppetosse has joined #zig
kristate has joined #zig
kristate has quit [Ping timeout: 252 seconds]
kristate has joined #zig
kristate has quit [Ping timeout: 240 seconds]
dimenus has joined #zig
<dimenus> andrewrk: fail on my part
<dimenus> haha
kristate has joined #zig
kristate has quit [Ping timeout: 252 seconds]
<andrewrk> lol hi dimenus
<andrewrk> been a while since we've had the pleasure of your company :)
<dimenus> that's a first implementation that I didn't rip out of my PR fail
<dimenus> indeed, I see you made the leap to working on Zig fulltime-ish
<andrewrk> it is full fulltime, and I'm loving it
<andrewrk> DutchGh0st, you can call cancel anytime, and but the cancellation happens at the next suspend point
<andrewrk> a suspend point is: suspend, await, or return
<DutchGh0st> Oh hehe, but thats about multithreaded coroutines, I think I need to do some single threaded coro's first to get a better idea of how it all works
<andrewrk> with a single thread, if you use cancel, then the thing you're cancelling must be at a suspend point
<andrewrk> I mean, it will, because that's the only way the single thread could be at the cancel instruction and not in the coroutine
<DutchGh0st> teagg U see
<DutchGh0st> wow, cant even type
<DutchGh0st> *yeahh I see
<andrewrk> dimenus, I'm working on windows stack traces
<dimenus> nice, looks like LLVM 6 made some improvements in that area as well
kristate has joined #zig
kristate has quit [Ping timeout: 240 seconds]
<andrewrk> I don't suppose anyone in here knows how to unwind a windows stack?
<andrewrk> it appears to be different than on macos and linux
kristate has joined #zig
<andrewrk> nope I hadn't seen this. thanks!
kristate has quit [Ping timeout: 240 seconds]
<dimenus> np
kristate has joined #zig
kristate has quit [Ping timeout: 240 seconds]
<andrewrk> I think it might just be ok to call RtlCaptureStackBackTrace
<andrewrk> it depends on RtDll.dll but it seems that is a core system dependency, just like kernel32.dll
<DutchGh0st> Is there a Deque, or Double Ended Queue implementation in std?
mnoronha has joined #zig
<andrewrk> DutchGh0st, yes, std.LinkedList
mnoronha has quit [Ping timeout: 240 seconds]
<dimenus> andrewrk: maybe use regular old CaptureStackBackTrace? https://msdn.microsoft.com/en-us/library/windows/desktop/bb204633(v=vs.85).aspx
<dimenus> No extra dependency
<dimenus> With Vista and up it's not an extra dependency
<DutchGh0st> Is that contiguous in memory?
<andrewrk> DutchGh0st, no
<DutchGh0st> then I have something to do haha
<andrewrk> dimenus, huh, this is the same API as the other one. I wonder what the difference is
<dimenus> also, per old LLVM docs that looks like the correct way to go https://releases.llvm.org/3.6.0/docs/ReleaseNotes.html
<andrewrk> oh, remarks: "The CaptureStackBackTrace function is defined as the RtlCaptureStackBackTrace function "
kristate has joined #zig
<dimenus> yep
<dimenus> it was probably in a different import lib in the past and got refactored
<dimenus> andrewrk: so i was listening to Jon's latest stream (he implemented the same thing based on Zig code)
<dimenus> and he made a similar mistake with versioning
<dimenus> so i don't feel so bad
kristate has quit [Ping timeout: 246 seconds]
<DutchGh0st> Jonathan blow?
<dimenus> yes
<andrewrk> dimenus, did he mention zig in the stream?
<dimenus> yeah, but he said my name more than he said Zig
<dimenus> so idk how much Zig got in brand recognition
<andrewrk> nice
<DutchGh0st> what stream?
<DutchGh0st> or isn't it on youtube yet?
<dimenus> not on youtube yet
<DutchGh0st> there is an unofficial channel with the streams...https://www.youtube.com/channel/UC6CjacQhqr-n1LnbYVZ0xKQ
<andrewrk> dimenus, oh, CaptureStackBackTrace is literally #define CaptureStackBackTrace RtlCaptureStackBackTrace
<dimenus> hah
<andrewrk> but the docs for CaptureStackBackTrace say it's in kernel32, when the docs for RtlCaptureStackBackTrace say it's in NtDll.dll
<andrewrk> I added this later, and it fixes a real world bug
<dimenus> well done MS
kristate has joined #zig
<dimenus> andrewrk: based on recent documentation (https://docs.microsoft.com/en-us/windows-hardware/drivers/kernel/libraries-and-headers) I think we're on the right track with kernel32. Looks like at some point Microsoft separated those out, and Ntoskrnl.lib is in the Windows Driver Kit
kristate has quit [Ping timeout: 240 seconds]
DutchGh0st has quit [Ping timeout: 252 seconds]
<unique_id> andrewrk, I should tell you... since I've had a foolish resurgance in interest in my own language I played around with nvim + the language server protocol recently. It's turns out that it's a really pleasurable protocol. It took no time to set it up. They've even done some outside of the box thinking (at least I haven't heard of this before) where the language/server can report locations of Color, so the IDE can display a small
<unique_id> colored box next to RGB values, or allow a color selection box for an alternative input method.
<unique_id> This idea can of course be taken much further :)
<andrewrk> neat - I think we're only a few months away from language server protocol in stage2
<unique_id> sounds good
mnoronha has joined #zig
mnoronha has quit [Ping timeout: 246 seconds]
kristate has joined #zig
kristate has quit [Ping timeout: 250 seconds]
kristate has joined #zig
kristate has quit [Ping timeout: 240 seconds]
mnoronha has joined #zig
MajorLag has quit [Ping timeout: 244 seconds]
MajorLag has joined #zig
mnoronha has quit [Ping timeout: 240 seconds]
kristate has joined #zig
kristate has quit [Ping timeout: 240 seconds]
dimenus has quit [Quit: Leaving]
kristate has joined #zig
kristate has quit [Ping timeout: 240 seconds]
mnoronha has joined #zig
mnoronha has quit [Ping timeout: 252 seconds]
noonien has quit [Quit: Connection closed for inactivity]
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ryanmtate has quit []
kristate has joined #zig
kristate has quit [Ping timeout: 245 seconds]
kristate has joined #zig
kristate has quit [Ping timeout: 250 seconds]
davr0s has joined #zig
kristate has joined #zig
kristate has quit [Ping timeout: 246 seconds]
kristate has joined #zig