u/Majestic_Poetry_1139

▲ 38 r/Zig

How to import from C now?

Sorry to ask such a basic question but I'm genuinely not go on another journey to narnia to figure out where A.K hid `@cImport` and `@cInclude`.

(For the 'Just ask A.I' fan club, A.I is epistemologically stuck on the pre `std.process.init` zig for whatever reason. Also thought to ask this just incase anybody else was confused and searching too)

Please and thanks🙏 (0.17 dev version just incase that was needed)

reddit.com
u/Majestic_Poetry_1139 — 3 days ago
▲ 31 r/Zig

Hi, I'm a college student studying digital media and technologies, I've long had a fancy for slightly less conventional languages and was nimmin it(with nim) for a while, then zig caught my eye.

Let me circle closer to my point and the title: I noticed that what becomes of a language is what the most popular use-case is, and this strongly affects how a language turns out. Julia for example, as far as I can tell, was popularized mostly in academic circles, more to say mathematicians, physicist and bio-informaticians, rather than computer and computational scientist. Leading to its community-side development having stagnation, as non-computational academics apparently really hate coding and rarely want to build things themselves. This fact is supposedly also responsible for the popularization of python's numpy.

I want to study computational media for my masters. I also want to learn zig as I strongly believe in the community's potential, Andrew Kelley/the team's commitment and that glorious post-1.0 era we are all waiting for(Zig Will Be King).

What am I posting this for? I guess general thoughts and discourse on where you think the language is going(don't just say "systems programming" or "C replacement" please😭), and what those of you with far more experience think about my own thoughts.

Current Project I'm working on: PNG Image Decoder(I know there's libraries, but do you know there's such a thing as fun?)

reddit.com
u/Majestic_Poetry_1139 — 2 months ago