Zig General

Ziggy Edition

What are you working on Any Forums?
Any question regarding Zig?
What would you like to see in Zig's 1.0 release?

>Docs (0.9.0)
Lang ref: ziglang.org/documentation/0.9.0/
Stdlib docs: [YOUR_ZIG_DIR]/lib/std/
Build system: zig.news/xq/zig-build-explained-part-1-59lf

>Learning / practice / other stuff
Interfacing with c library: pastebin.com/2R1LBYyM
github.com/ratfactor/ziglings
adventofcode.com
ziglearn.org/
youtube.com/c/ZigSHOWTIME

Attached: ziggy.png (379x316, 31.1K)

Other urls found in this thread:

jangafx.com/software/embergen/
twitter.com/AnonBabble

language generals don't really work
the lisp one only does because it has emacs
you could try making a systems- or alt-PL general instead, which could be used to not only discuss zig, hare, beef, jai, odin, nim, D etc but also language features and implementations in general

>which could be used to not only discuss zig, hare, beef, jai, odin, nim, D etc
All of the languages you mentioned suck except for zig, though.

"discussing" jai, aka programming language philosophy

>odin
does anyone even use this shit? i suppose not because gentoo repo doesn't have odin, which means nothing worthwhile was written in it.

i only know of one project written in it:
jangafx.com/software/embergen/
>gentoo repo doesn't have odin
not surprised, it does work on linux but the creator only uses windows and i think most users do as well

Stop shilling your shit. Nobody will use your shitty tranny language, Drew. Grow up faggot.

you are confused

Dude, Zig is not a good language.

Attached: profile-nice2.jpg (460x460, 35.13K)

You're right, calling zig "good" is the understatement of the century.

I've been learning Xlib using Zig, turns out zig 0.9 hates casting macros from opaque to non-opaque types.

nobody calls him drew
this is drew

Attached: maxresdefault.jpg (1280x720, 69.52K)

why is he red?

Attached: 1644850159083.jpg (1440x1606, 577.67K)

>I've been learning Xlib using Zig, turns out zig 0.9 hates casting macros from opaque to non-opaque types.

Sounds interesting. What exactly is the problem there tho?

if you play with nu-meme-langs might as well build them from source, at least you can help them catch bugs and test new features since you sure are not writing anything that goes into production

bad white balance.

Since it uses anytype for macro arguments, it tries to @typeof(anytype.field), which doesn't work. I'm not sure if that's the whole story, since I haven't dealt with it in a while, but it only really happens with the macro definitions for things like window data and so on, so it's trivial to just create a few bindings for that stuff.

Actually now that I typed this, it probably would work if I did an explicit cast to the transparent type before calling the macro.

he lives in a state of constant butthurt

any update on the user writing a dwm clone in zig?

someone wanted to write a dwm clone in zig?
I didn't know that

>What are you working on Any Forums?
trying to sit down and start a zig project for real
i wrote a single toy program then never touched the language again