<andrewrk>
I just had a really productive 2-hour phone conversation with thejoshwolfe. I feel good about how to proceed regarding async/await on blocking functions and cancel and stuff
<fengb>
Is thejoshwolfe secretly the real designer behind everything?
<andrewrk>
yes
<andrewrk>
I just press all the keyboard buttons
<fengb>
I’ve never seen the two of you in the same room 🤔
marijnfs__ has joined #zig
kristoff_it has joined #zig
marijnfs_ has quit [Ping timeout: 258 seconds]
kristoff_it has quit [Remote host closed the connection]
_whitelogger has joined #zig
kristoff_it has joined #zig
SimonNa has quit [Ping timeout: 246 seconds]
SimonNa has joined #zig
kristoff_it has quit [Ping timeout: 245 seconds]
kristoff_it has joined #zig
kristoff_it has quit [Ping timeout: 246 seconds]
dembones has quit [Remote host closed the connection]
<mq32>
"please import all function prototypes of this struct type from this library"
<fengb>
comptime code generation?
<mq32>
kinda
<mq32>
i use comptime to iterate over the struct fields, refactor the name from "foo" to "glFoo" and load that function from the OpenGL library
<samtebbs>
mq32: :O
<samtebbs>
I need that for SDL2 and libz80
<mq32>
i find this solution rather elegant <3
<samtebbs>
I'm so tired of doing `z80.Z80_FOO()`
<mq32>
the cool thing is that i can now give the user the OpenGL version he wants
<mq32>
and only provide symbols defined for this OpenGL version :)
<mq32>
> <samtebbs> I'm so tired of doing `z80.Z80_FOO()`
<mq32>
me too, so i thought: comptime the problem away
<mq32>
and samtebbs: on the name ZigPaint: What would you call the attempt to recreate the classic windows xp paint in Zig? :D
laaron has quit [Remote host closed the connection]
laaron has joined #zig
<samtebbs>
mq32: Hmm, well ZigPaint sounds good. And I don't think the thing I linked is actually called that
<samtebbs>
I just got the two mixed up :)
<samtebbs>
There's paint.net isn't there? So maybe paint.zig :p
<mq32>
hehe
halosghost has joined #zig
<fengb>
I hate endianness over the wire :(
<scientes>
where there any changes to the parser recently?
<scientes>
ahh, nvm
dimenus has joined #zig
<samtebbs>
mq32: How about ZigZag, and you can only paint with zigzags?
<mipri>
future video: "now in order to make this stroke you'll need a subpixel zigzag--otherwise known as a line"
<mq32>
<3
<mq32>
you can only draw in the shape of the Spaceship "ZIG"
influx6 has joined #zig
Ichorio has joined #zig
<influx6>
I would like to task if anyone has implemented a http server in zig, one maintained and still functional?
<influx6>
Am not sure what the progress of the language is, i was hoping to learn it instead of using rust, but not sure if its still being heavily worked on.
<samtebbs>
influx6: http and networking are blocked on async functions
<samtebbs>
andrewrk is making good progress though :)
<samtebbs>
His latest youtube video shows it
<samtebbs>
The language is being heavily worked on, certainly
<fengb>
I think with the removal of cancellation, async is almost done