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/
<andrewrk> ntgg, I'm sorry it wasn't available until 1d07bbb which I just pushed to master
<andrewrk> but now you can do: artifact.valgrind_support = true
kristoff_it has joined #zig
slice has quit [Quit: cya]
kristoff_it has quit [Ping timeout: 272 seconds]
slice has joined #zig
dimenus has quit [Ping timeout: 272 seconds]
fengb has joined #zig
kristoff_it has joined #zig
kristoff_it has quit [Ping timeout: 246 seconds]
diltsman has quit [Ping timeout: 258 seconds]
marijnfs_ has joined #zig
marijnfs has quit [Ping timeout: 268 seconds]
ntgg has quit [Ping timeout: 246 seconds]
_whitelogger has joined #zig
kristoff_it has joined #zig
Ichorio_ has joined #zig
kristoff_it has quit [Ping timeout: 245 seconds]
Ichorio has quit [Ping timeout: 264 seconds]
ltriant has quit [Ping timeout: 258 seconds]
kristoff_it has joined #zig
omglasers2 has joined #zig
ltriant has joined #zig
kristoff_it has quit [Ping timeout: 244 seconds]
kristoff_it has joined #zig
kristoff_it has quit [Ping timeout: 258 seconds]
ntgg has joined #zig
kristoff_it has joined #zig
kristoff_it has quit [Ping timeout: 245 seconds]
ntgg has quit [Ping timeout: 245 seconds]
mmx870 has quit [Ping timeout: 245 seconds]
kristoff_it has joined #zig
hio has joined #zig
darithorn has quit [Quit: Leaving]
kristoff_it has quit [Ping timeout: 258 seconds]
_whitelogger has joined #zig
kristoff_it has joined #zig
kristoff_it has quit [Ping timeout: 245 seconds]
mmx870 has joined #zig
_whitelogger has joined #zig
knebulae has quit [Read error: Connection reset by peer]
athaudia has quit [Ping timeout: 245 seconds]
Summertime has quit [Ping timeout: 245 seconds]
Summertime has joined #zig
kristoff_it has joined #zig
kristoff_it has quit [Ping timeout: 246 seconds]
ltriant has quit [Quit: leaving]
brakmic has joined #zig
brakmic has quit [Remote host closed the connection]
brakmic has joined #zig
sanae has joined #zig
sanae is now known as ky0ko
hio has quit [Quit: Connection closed for inactivity]
kristoff_it has joined #zig
kristoff_it has quit [Ping timeout: 244 seconds]
Ichorio_ has quit [Ping timeout: 264 seconds]
avoidr has quit [Quit: leaving]
avoidr has joined #zig
MajorLag has joined #zig
tgschultz has quit [Ping timeout: 245 seconds]
MajorLag is now known as tgschultz
omglasers2 has quit []
omglasers2 has joined #zig
avoidr has quit [Quit: leaving]
wootehfoot has joined #zig
fengb has quit [Ping timeout: 260 seconds]
kristoff_it has joined #zig
kristoff_it has quit [Remote host closed the connection]
ky0ko has quit [Ping timeout: 250 seconds]
kristoff_it has joined #zig
ky0ko has joined #zig
kristoff_it has quit [Ping timeout: 268 seconds]
kristoff_it has joined #zig
kristoff_it has quit [Ping timeout: 244 seconds]
hio has joined #zig
wootehfoot has quit [Read error: Connection reset by peer]
<nrdmn> I've started to add uefi support to zig's standard library. I can get a demo program to boot and output text in debug mode, but it's behaving weird in release mode
kristoff_it has joined #zig
kristoff_it has quit [Ping timeout: 245 seconds]
mattmurr has joined #zig
kristoff_it has joined #zig
utzig has joined #zig
knebulae has joined #zig
kristoff_it has quit [Ping timeout: 245 seconds]
bheads has quit [Quit: bheads]
kristoff_it has joined #zig
kristoff_it has quit [Ping timeout: 268 seconds]
<Tetralux> nrdum: Interesting. On both counts.
dimenus has joined #zig
dimenus has quit [Ping timeout: 245 seconds]
kristoff_it has joined #zig
kristoff_it has quit [Remote host closed the connection]
MajorLag has joined #zig
wootehfoot has joined #zig
tgschultz has quit [Ping timeout: 246 seconds]
MajorLag is now known as tgschultz
fengb has joined #zig
<mq32> andrewrk, thanks for the stream, it was very informational!
<mq32> also huge thumbs up on the SDL2 demo, really looking forward for the package manager and everything :)
halosghost has joined #zig
fubd has joined #zig
noonien has joined #zig
<fengb> I'm reading old release notes. It's pretty interesting that seemingly obvious designs now were really not at all a few years ago
fengb has quit [Remote host closed the connection]
fengb has joined #zig
<dimenus_> i'm working on vectors/matrices & vulkan
dimenus_ is now known as dimenus
dimenus is now known as rsdimenus
<companion_cube> fengb: do you have a link that contains them all?
<companion_cube> it's sign of good design anyway, things change with experience
<fengb> Following the release notes chain
<fengb> The two things that jumped out at me are pointer reform and control flow via keywords
darithorn has joined #zig
<fubd> the great sigil purge
<companion_cube> oh wow, 0.2 that removes goto
<companion_cube> I started looking at zig at 0.3 😅
<halosghost> I was incredibly happy with both pointer-reform and the sigil-purge
* companion_cube just hopes for some small syntactic changes
* halosghost has a few wants that are kind of unreasonable :P
omglasers2 has quit [Quit: Leaving]
<halosghost> e.g., arbitrarily-sized, fixed-width floats
<halosghost> which is somewhat unreasonable since nothing supports that anyway
* companion_cube just wants to not have `foo: { … break :foo x }` :-°
<andrewrk> that's a popular opinion around here
<gonz_> All things considered that's a very good "just wants" to have
<gonz_> :D
<halosghost> andrewrk: also, I don't know that I've properly conveyed to you how much I love that zig has arbitrarily-sized, fixed-width integers
<halosghost> andrewrk: thank you for that
<halosghost> everyone should do that
<fengb> Yeah, it's pretty amazing for packed structs. C feels so ancient in comparison
<andrewrk> fengb, btw I don't know how you did it, but fundude's key bindings worked for me even though I use dvorak
<gonz_> SDL used to handle this correctly if I remember correctly
ntgg has joined #zig
<gonz_> 2 engines ago Dota2 worked for me without switching keybindings (I use Svorak)
<fengb> lol... I just did "[]" and "<>" because it felt less random
<gonz_> I think they were actually using SDL back then for input, but I may be wrong. In any case it used to work.
<fengb> I almost didn't key in arrow keys because nobody would use them
<fengb> >_>
<fengb> Thanks for the demo!
<fengb> It went smoother than I had feared lol
<andrewrk> it was a very "just works" experience. I didn't try it before the stream
<andrewrk> kudos
<fengb> It's a good thing you didn't try a different game :P
<andrewrk> I knew better than that, I saw your comments about testing mario
<fengb> I was cringing when you were scanning your library
<andrewrk> hahahaha
<fengb> "Oh gosh is he gonna upload the zip file directly?"
<andrewrk> I would never
<fengb> "Why is that cart size all messed up??"
<companion_cube> damn the windows demo on yesterday's stream is blowing my mind
MajorLag has joined #zig
<wootehfoot> companion_cube, link?
tgschultz has quit [Ping timeout: 245 seconds]
MajorLag is now known as tgschultz
tgschultz has quit [Ping timeout: 264 seconds]
tgschultz has joined #zig
fengb has quit [Remote host closed the connection]
tgschultz has quit [Ping timeout: 252 seconds]
ntgg has quit [Ping timeout: 245 seconds]
tgschultz has joined #zig
tgschultz has quit [Ping timeout: 248 seconds]
tgschultz has joined #zig
wootehfoot has quit [Read error: Connection reset by peer]
tgschultz has quit [Ping timeout: 248 seconds]
tgschultz has joined #zig
avoidr has joined #zig
wootehfoot has joined #zig
MajorLag has joined #zig
tgschultz has quit [Ping timeout: 244 seconds]
MajorLag has quit [Ping timeout: 246 seconds]
wootehfoot has quit [Quit: Leaving]
ExtraVeral has joined #zig
wootehfoot has joined #zig
ExtraVeral has quit [Remote host closed the connection]
tgschultz has joined #zig
ExtraVeral has joined #zig
<ExtraVeral> Hi all, I'm as newbie as can be... and I've tried to run the test from "String Literals and Character Literals"
<ExtraVeral> ...and I've got : test.zig:11:15: error: invalid digit: '{' assert('\u{1f4a9}' == 128169);
<ExtraVeral> what am I doing wrong?
<andrewrk> ExtraVeral, you'll need to use master branch of zig for that
<ExtraVeral> oki, will do, 10x
kristoff_it has joined #zig
kristoff_it has quit [Ping timeout: 245 seconds]
tgschultz has quit [Ping timeout: 258 seconds]
tgschultz has joined #zig
dec05eba has joined #zig
<dec05eba> anyone working on ide utils for autocomplete?
fubd has quit [Ping timeout: 260 seconds]
<dec05eba> im editing std.zig.parse to make it easier for ide to work with code for autocomplete but im wondering if somebody else is also working on a similar solution
dec05eba67 has joined #zig
dec05eba67 has quit [Remote host closed the connection]
tgschultz has quit [Ping timeout: 245 seconds]
tgschultz has joined #zig
Ichorio has joined #zig
dec05eba has quit [Quit: leaving]
andersfr has joined #zig
dec05eba has joined #zig
wootehfoot has quit [Read error: Connection reset by peer]
andersfr has quit []
kristoff_it has joined #zig
tgschultz has quit [Ping timeout: 245 seconds]
kristoff_it has quit [Ping timeout: 258 seconds]
adsr has quit [Quit: WeeChat 2.5]
tgschultz has joined #zig
adsr has joined #zig
tgschultz has quit [Ping timeout: 248 seconds]
tgschultz has joined #zig
ExtraVeral has quit [Ping timeout: 260 seconds]
andersfr has joined #zig
dec05eba has quit [Quit: leaving]
<darithorn> Here's a TOML parser I wrote in Zig. The tests I wrote say it's fairly stable so here it is: https://github.com/darithorn/zig-toml
<andrewrk> neat!
<darithorn> Thanks! The source is a bit messy since I realized only half way TOML is partially whitespace significant. But it still works nonetheless.
<hryx> super cool, darithorn
wootehfoot has joined #zig
jjido has joined #zig
<gonz_> How does one provide `WinMain` and all in order to have a win32 program start, again?
<gonz_> All I've found googling is a super obnoxious issue about it
ExtraVeral has joined #zig
kristoff_it has joined #zig
<andrewrk> gonz_, https://clbin.com/sAII8
<gonz_> andrewrk: TY
<andrewrk> I just fixed a relevant bug, so you'll need master branch for this example
<gonz_> Ah, ok
<gonz_> Good to know
ExtraVeral has left #zig [#zig]
<emekankurumeh[m]> nice, we are going to have to remove some workaround then
andersfr has quit [Remote host closed the connection]
<ffddr> Any ideas how to implement this, but with StreamedParser? I was previously advised to build a hashmap in Deserializer.init() for all struct fields. But with nested structs and arrays I got super complicated code with memory consumption comparable to Parser without copy_strings :( https://gist.github.com/not-fl3/303f408eb5f98fb7b66d140bd80dfc38
tgschultz has quit [Ping timeout: 250 seconds]
halosghost has quit [Quit: WeeChat 2.5]
tgschultz has joined #zig
jjido has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jjido has joined #zig
jjido has quit [Client Quit]
noonien has quit [Quit: Connection closed for inactivity]
tgschultz has quit [Ping timeout: 264 seconds]
tgschultz has joined #zig
<nrdmn> seems like my issue with uefi binaries is that references to the data section use the addresses from the object file, not where the section is actually loaded
<emekankurumeh[m]> is uefi pic?
<nrdmn> should be. You can have multiple uefi apps loaded simultaneously and all share the same address space
<nrdmn> the generated code within the text section is pic, but references into the data section are not
<nrdmn> I'm not sure if the offset between sections needs to be constant
rsdimenus has quit [Quit: Leaving]
hio has quit [Quit: Connection closed for inactivity]
ntgg has joined #zig
ntgg has quit [Ping timeout: 244 seconds]
tgschultz has quit [Ping timeout: 264 seconds]
tgschultz has joined #zig
Aransentin has joined #zig
wootehfoot has quit [Read error: Connection reset by peer]
<darithorn> has there been any talk about allowing additional information to be attached to errors?
<darithorn> okay sweet, i looked but couldn't find an issue. thanks
brakmic has quit []