ChanServ changed the topic of #zig to: zig programming language | ziglang.org | be excellent to each other | channel logs: https://irclog.whitequark.org/zig/
jfo has quit [Ping timeout: 256 seconds]
Tobba has joined #zig
Tobba_ has quit [Ping timeout: 260 seconds]
hasen_judy has quit [Remote host closed the connection]
jfo has joined #zig
jfo has quit [Ping timeout: 276 seconds]
<benzrf> hmmm so how exactly does fmt type stuff work
<benzrf> is it basically like hyper aggressive optimization where you can unroll loops etc since u know the values you're gonna use already
zesterer_ has joined #zig
hasen_judy has joined #zig
tjpalmer has joined #zig
<tjpalmer> andrewrk, have you tested compiling to wasm? Do you have docs on what settings to use?
tjpalmer has quit [Client Quit]
hasen_judy has quit [Ping timeout: 276 seconds]
zesterer_ has quit [Quit: zesterer_]
jfo has joined #zig
jfo has quit [Ping timeout: 265 seconds]
cenomla has quit [Quit: cenomla]
return0e has quit [Remote host closed the connection]
aiwakura has quit [Quit: The Lounge - https://thelounge.github.io]
aiwakura has joined #zig
jfo has joined #zig
jfo has quit [Ping timeout: 240 seconds]
davr0s has joined #zig
cenomla has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hasen_judy has joined #zig
hasen_judy has quit [Ping timeout: 276 seconds]
jfo has joined #zig
jfo has quit [Ping timeout: 260 seconds]
jfo has joined #zig
return0e has joined #zig
aiwakura_ has joined #zig
aiwakura has quit [Quit: The Lounge - https://thelounge.github.io]
jfo has quit [Ping timeout: 248 seconds]
andrea has joined #zig
andrea is now known as Guest82580
Guest82580 has quit [Client Quit]
aiwakura_ is now known as aiwakura
<aiwakura> hi
ahj23 has joined #zig
cenomla has quit [Quit: cenomla]
ahj23 has quit [Client Quit]
aiwakura has quit [Quit: ZNC 1.6.5+deb2+b2 - http://znc.in]
aiwakura has joined #zig
aiwakura has quit [Quit: The Lounge - https://thelounge.github.io]
aiwakura has joined #zig
aiwakura has quit [Quit: ...]
aiwakura has joined #zig
aiwakura has quit [Client Quit]
aiwakura has joined #zig
aiwakura has quit [Client Quit]
aiwakura has joined #zig
jfo has joined #zig
jfo has quit [Ping timeout: 276 seconds]
jfo has joined #zig
<jfo> tjpalmer: I've been excited / thinking about wasm as well. I think supporting it will look something like this: https://github.com/rust-lang/rust/commit/41e03c3c469d1c89735fa518a9af4eb3df8b0728
<jfo> there's work to be done on supporting the platform though, and I think llvm's native wasm backend is still in progress. please let me know what you find out though.
jfo has quit [Quit: WeeChat 1.9.1]
hasen_judy has joined #zig
hasen_judy has quit [Ping timeout: 252 seconds]
hoppetosse has joined #zig
hopppetosse has joined #zig
hoppetosse has quit [Ping timeout: 260 seconds]
hoppetosse has joined #zig
hopppetosse has quit [Ping timeout: 256 seconds]
arBmind has joined #zig
hasen_judy has joined #zig
zesterer has joined #zig
zesterer has quit [Quit: zesterer]
davr0s has joined #zig
<hoppetosse> andrewrk: zig build is failing for some reason: https://imgur.com/a/lO5Xb
zesterer has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
noonien has quit []
noonien has joined #zig
<zesterer> Falcon Heavy launch soon. Anybody watching?
davr0s has joined #zig
hoppetosse has quit [Ping timeout: 260 seconds]
hoppetosse has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hoppetosse has quit [Ping timeout: 256 seconds]
davr0s has joined #zig
hoppetosse has joined #zig
<andrewrk> hoppetosse, hm that's an odd error
<hoppetosse> andrewrk: yep
<andrewrk> I'd edit os.cpp in the compiler to put more information than "fork failed"
<hoppetosse> Where would I get the extra info though?
<hoppetosse> I was just going over man fork
<hoppetosse> apparently errno is set on failure, but I can't find what the errno's would correspond to
<hoppetosse> d'oh, never mind
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<zesterer> andrewrk: I must say, I'm loving how clear and concise Zig code tends to be. Although there's one thing I'm unsure of: is there a way to pull two file namespaces into one? For example, I'd like importing file X from file Y to also allow file Y access to the features contained within file Z (assuming Z is imported by X). I know I can just make the namespace public, but that just means another identifier chain (i.e: X.Z.something)
return0e has quit []
noonien has quit [Quit: Connection closed for inactivity]
<MajorLag_> I believe "use" might be what you want. See https://github.com/andrewrk/tetris/blob/master/src/c.zig for an example. It imports the namespace into the local one.
<MajorLag_> Another alternative, make the import public, then in Y: const Z = X.Z
<MajorLag_> Which is what I'd prefer personally since it doesn't obfuscate the source of a symbol.
<hoppetosse> zesterer: a lot of the index.zig files in the stdlib do pretty much this
<zesterer> MajorLag_: Although in this case, obfuscating the source of the symbol is actually the intended behaviour
hopppetosse has joined #zig
<zesterer> MajorLag_: Thanks for the link
hoppetosse has quit [Ping timeout: 248 seconds]
arBmind has quit [Quit: Leaving.]
hopppetosse has quit [Ping timeout: 256 seconds]
hopppetosse has joined #zig
return0e has joined #zig
davr0s has joined #zig
dd3 has joined #zig
hoppetosse has joined #zig
hopppetosse has quit [Ping timeout: 260 seconds]
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davr0s has joined #zig
cenomla has joined #zig
jfo has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hoppetosse has quit [Ping timeout: 260 seconds]
hoppetosse has joined #zig
davr0s has joined #zig
jfo has quit [Ping timeout: 256 seconds]
jfo has joined #zig
davr0s has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dd3 has quit [Ping timeout: 256 seconds]
jfo has quit [Ping timeout: 256 seconds]
jfo has joined #zig
return0e_ has joined #zig
return0e has quit [Ping timeout: 256 seconds]