waleee-cl has quit [Quit: Connection closed for inactivity]
leon-p has joined #river
gspe has joined #river
<novakane[m]>
oh your PR is merged in zig, nice work, that's a good thing on the road of river first release :)
maringuu has quit [Ping timeout: 250 seconds]
maringuu has joined #river
waffle_ethics has quit [Read error: Connection reset by peer]
waffle_ethics has joined #river
<novakane[m]>
btw is there a lot of breaking changes in river moving to zig 0.8?
yyp has joined #river
<ifreund>
not a ton, mostly just some minor std changes
<ifreund>
language changes have been pretty light as the focus has been on the self hosted compiler
<novakane[m]>
alright cool
<ifreund>
there is new std.fmt API that will be very nice to use in zig-wayland
<ifreund>
that's probably the biggest thing I want to change
<ifreund>
also need to update zig-wlroots to *not* use sentinel-terminated arrays in some places (e.g. output name) and instead use a normal array with std.mem.sliceTo()
<ifreund>
so if you wanted to get started before zig 0.8.0 releases in 2-3 weeks you could :D
<novakane[m]>
well time to learn std.fmt then :P
<ifreund>
nice, the test cases are usually the best way to see how everything works
<novakane[m]>
yeah I love zig but I can't wait to have a proper doc
<ifreund>
at the end I think it should look like writer.print("{[foobar]}blah blah{[barfoo]}\n", .{snakeCase(foobar), titleCase(barfoo)});
<ifreund>
where snakeCase() and titleCase() return std.fmt.Formatter() types
<ifreund>
see std.fmt.fmtSliceHexLower() for an example of that
<ifreund>
oops, that example was wrong, should be writer.print("{[foobar]}blah blah{[barfoo]}\n", .{.foobar = snakeCase(foobar), .barfoo = titleCase(barfoo)});
<novakane[m]>
alright thanks I'll look into it
<novakane[m]>
so should I start from the zig-wayland PR for Zig 0.8?
<ifreund>
Yeah you can start off that branch. I can also move it to a branch in the zig-wayland repo
<ifreund>
I'll do that, will be less of a headache to work with
<novakane[m]>
yeah thanks
<ifreund>
novakane[m]: alright, the next-zig branch of zig-wayland builds and passes all tests on zig master, you should be good to go
<ifreund>
let me know if you run into any issues
<novakane[m]>
ifreund: nice, thank you
yyp has quit [Remote host closed the connection]
leon-p has quit [Ping timeout: 265 seconds]
leon-p has joined #river
waleee-cl has joined #river
gspe has quit [Quit: gspe]
gspe has joined #river
yyp has joined #river
waleee-cl has quit [Quit: Connection closed for inactivity]