ChanServ changed the topic of #zig to: zig programming language | ziglang.org | be excellent to each other | channel logs: https://irclog.whitequark.org/zig/
mnoronha has joined #zig
return0e has quit [Ping timeout: 252 seconds]
davr0s has joined #zig
mnoronha has quit [Ping timeout: 268 seconds]
mnoronha has joined #zig
mnoronha has quit [Ping timeout: 252 seconds]
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_whitelogger has joined #zig
hoppetosse has quit [Ping timeout: 244 seconds]
Triplefox[m] has joined #zig
reductum has joined #zig
davr0s has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davr0s has joined #zig
karlguy has quit [Remote host closed the connection]
karlguy has joined #zig
reductum has quit [Quit: WeeChat 2.2]
return0e has joined #zig
karlguy has quit [Remote host closed the connection]
karlguy has joined #zig
karlguy has quit [Remote host closed the connection]
karlguy has joined #zig
karlguy has quit [Remote host closed the connection]
karlguy 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…]
karlguy has quit [Remote host closed the connection]
karlguy has joined #zig
return0xe has joined #zig
return0e has quit [Ping timeout: 268 seconds]
karlguy has quit [Remote host closed the connection]
karlguy has joined #zig
karlguy has quit [Remote host closed the connection]
karlguy has joined #zig
karlguy has quit [Remote host closed the connection]
karlguy has joined #zig
Barabas has joined #zig
SimonN has quit [Remote host closed the connection]
Barabas has quit [Ping timeout: 252 seconds]
Barabas has joined #zig
MajorLag has quit [Ping timeout: 265 seconds]
davr0s has joined #zig
MajorLag 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…]
MajorLag has quit [Ping timeout: 264 seconds]
MajorLag2 has joined #zig
MajorLag2 is now known as MajorLag
DutchGhost has joined #zig
<DutchGhost>
given a list of types, is it possible to create a struct with it?
<DutchGhost>
it'd look something like 'struct whatever { inline for(types) |t| { ..: t} }' or something?
<cgag>
i can open an issue if i'm not misunderstanding something
<MajorLag>
DutchGhost: No. This is what reify is intended to do, but we're not sure the feature is a good fit for zig's goals.
<MajorLag>
cgag, what build are you on? I don't see any use of @memberName in std.fmt
<MajorLag>
ah, ok, nevermind there's been an update since a few days ago
<MajorLag>
yeah, that's a bug. looks like andrewrk added some struct printing behavior, but it's very simple right now.
<MajorLag>
you can work around it by: `@tagName(Food.Cheese)`
<cgag>
ah yeah, meant to mention that was what i ended up doing, thanks though
DutchGhost has quit [Ping timeout: 252 seconds]
mnoronha has joined #zig
<bodie_>
has anyone played with lz4 bindings?
<bodie_>
I'm having a hell of a time getting my encoded output to work with LZ4_decompress_{fast,safe}, but it works just fine with the CLI decoder
<scientes>
bodie_, i've done worked with lzo and zstd in C
<scientes>
link?
<scientes>
I am really a fan of the way go handler IO, even if you remove the NM scheduler part of it. interfaces and being able to wrap something in lz4 for example works really well.
<scientes>
I'd like to see that in a gc-free language
kristate has joined #zig
<bodie_>
yeah, Go's io interfaces are really simple and useful.
<scientes>
and its pseudo-syncronous interface is easiest, rather than true asyncronous