<hch>
ziglearn.org addresses zig/master ? i get an error on the very first helloworld
<Nypsie[m]>
Yes as noted in chapter 0, Ziglearn uses master
<g-w1>
I think 0.7.0 is coming out today so you might just want to wait :).
<travv0>
looks like the documentation link for 0.6.0 is called Language Reference instead for some reason
<hch>
indeed
<g-w1>
also std.debug.warn works like std.debug.print on ziglearn for 0.6.0 hch
<hch>
yeah, i'll look at 0.6 docs for now
<hch>
just to get going
<g-w1>
is 0.7.0 coming out today, or did i read something wrong?
<Nypsie[m]>
Yeah today
<alexnask[m]>
It is, Loris is also hosting a release party featuring Andrew on his stream (https://zig.show/ for countdown)
<g-w1>
awesome!
<hch>
oh well!
<hch>
congrats!
<Piraty>
can 0.7 build without prebuilt zig?
<Piraty>
geat. Void needs llvm11 first
<Snektron>
Piraty: I made a local version of llvm 11, let me take a look at upstreaming it to void-packages
<Snektron>
i've never done that before though
<Piraty>
i am taking a look of how it's supposed tbd, not sure yet why muliple empty llvmN packages are kept in the tree
<Piraty>
there's a transition phase obviously
<Snektron>
i think the only thing i need to do is bump a few dependencies, and fix some patches that didn't work
<Piraty>
Snektron: join #xbps if you want to help
<Snektron>
i just removed them because it was powerpc anyway
<Piraty>
hehe don't tell that the llvm template's maintainer (he ported Void to ppc)
<Snektron>
oh, turns out whatever that patch did has been fixed upstream
marnix has quit [Read error: Connection reset by peer]
marnix has joined #zig
cole-h has joined #zig
mokafoli- has joined #zig
mokafolio has quit [Ping timeout: 246 seconds]
mokafoli- is now known as mokafolio
mmohammadi9812 has quit [Read error: Connection reset by peer]
mmohammadi9812 has joined #zig
skuzzymiglet has quit [Ping timeout: 256 seconds]
lucid_0x80 has joined #zig
lucid_0x80 has quit [Quit: Leaving]
wootehfoot has joined #zig
Kena has joined #zig
Kena96 has joined #zig
<Kena96>
I have a question about alignment. Each type we use a boolean type, we waste 7 bits rights? As the bool has only 1 bit of values but claim 1 byte of memory. But 7 bits don't represent anything in term of space, correct? So is there anyway some kind of performance lost in terme in cycle processor required to evaluate an expression including a
<Kena96>
boolean value?
osa1 has quit [Quit: osa1]
<Kena96>
And/or there is really some space lost too.
<Kena96>
?
Kena has quit [Ping timeout: 245 seconds]
osa1 has joined #zig
<hch>
doc/0.6 mentions "// This header is generated by zig from mathtest.zig" at a few places, but i don't see how that is done.
<adamkowalski>
the columns are different attributes of the entities
<adamkowalski>
you get runtime polymorphism by essentially filling out different columns for each entity
<adamkowalski>
then you can say give me every entity with column x, y, z filled
<adamkowalski>
but if you go to the wrong table and say give me information about entity 3
<adamkowalski>
right now it will still give it to you
<adamkowalski>
so I want to tag each entity with the table it came from so you can std.debug.assert(entity.table_id == table.id)
<adamkowalski>
but since entities are at the core of the system, I can't pay for that during release builds, you just need to test the system and ensure that never happens in practice
<adamkowalski>
any ideas?
<fengb>
Assert is the correct solution yeah
mmohammadi9812 has quit [Remote host closed the connection]
<adamkowalski>
okay, thanks!
mmohammadi9812 has joined #zig
adamkowalski has quit [Quit: Lost terminal]
ur5us has joined #zig
wilsonk has joined #zig
tane has quit [Quit: Leaving]
wilsonk is now known as Guest85216
cole-h has quit [Quit: Goodbye]
cole-h has joined #zig
marnix has quit [Ping timeout: 264 seconds]
marnix has joined #zig
frmdstryr has joined #zig
neptunepink has quit [Quit: Bye]
<yZ5vlALg86lP>
i'm confused, how is this uaf possible? https://tpaste.us/vZZZ - and why does it always output '0xaaaa'
<Nypsie[m]>
In debug mode, undefined has a value of 0xaaa to make it easier to detect
<oats>
oh that's nifty
<yZ5vlALg86lP>
ah. thx.
x2C25 has joined #zig
brainfunnel has left #zig ["thanks, bye!"]
marnix has quit [Ping timeout: 260 seconds]
marnix has joined #zig
marnix has quit [Ping timeout: 260 seconds]
adrian has joined #zig
adrian has quit [Remote host closed the connection]
adrianpk has joined #zig
adrianpk has quit [Client Quit]
<novaskell>
kristoff_it: the ziguana drawing would be amusing on the release notes
<ikskuh>
yes, please!
<ikskuh>
let's ping andrewrk as well
<ikskuh>
\o/
<novaskell>
YES
virgohg_ has joined #zig
virgohg has quit [Ping timeout: 265 seconds]
frmdstryr has quit [Ping timeout: 240 seconds]
a_chou has joined #zig
wootehfoot has joined #zig
wootehfoot has quit [Read error: Connection reset by peer]