Systems Distributed '26 is getting closer and so is the Zig Day Boston scheduled for the day before (completely free, NO conference ticket required).
Come practice your systems thinking and make software you can love with us!
VP of Community @ Zig Software Foundation • Zig Livecoding http://twitch.tv/kristoff_it • Creator of http://softwareyoucan.love • Blogging http://kristoff.it • Host of https://zig.show • 📧 loris@sycl.it
VP of Community @ Zig Software Foundation • Zig Livecoding http://twitch.tv/kristoff_it • Creator of http://softwareyoucan.love • Blogging http://kristoff.it • Host of https://zig.show • 📧 loris@sycl.it
Systems Distributed '26 is getting closer and so is the Zig Day Boston scheduled for the day before (completely free, NO conference ticket required).
Come practice your systems thinking and make software you can love with us!
VP of Community @ Zig Software Foundation • Zig Livecoding http://twitch.tv/kristoff_it • Creator of http://softwareyoucan.love • Blogging http://kristoff.it • Host of https://zig.show • 📧 loris@sycl.it
VP of Community @ Zig Software Foundation • Zig Livecoding http://twitch.tv/kristoff_it • Creator of http://softwareyoucan.love • Blogging http://kristoff.it • Host of https://zig.show • 📧 loris@sycl.it
VP of Community @ Zig Software Foundation • Zig Livecoding http://twitch.tv/kristoff_it • Creator of http://softwareyoucan.love • Blogging http://kristoff.it • Host of https://zig.show • 📧 loris@sycl.it
RE: @winbuzzer@mastodon.social
What a terrible day to know how to read...
VP of Community @ Zig Software Foundation • Zig Livecoding http://twitch.tv/kristoff_it • Creator of http://softwareyoucan.love • Blogging http://kristoff.it • Host of https://zig.show • 📧 loris@sycl.it
Contributor Poker and Zig's AI Ban
VP of Community @ Zig Software Foundation • Zig Livecoding http://twitch.tv/kristoff_it • Creator of http://softwareyoucan.love • Blogging http://kristoff.it • Host of https://zig.show • 📧 loris@sycl.it
The next Systems Distributed has been announced. Next to it we'll also run a special one-off Zig Day Boston open to anybody!
VP of Community @ Zig Software Foundation • Zig Livecoding http://twitch.tv/kristoff_it • Creator of http://softwareyoucan.love • Blogging http://kristoff.it • Host of https://zig.show • 📧 loris@sycl.it
So it seems that now everybody else is realizing that GitHub is broken as fuck in a storm of managers that have no idea what to do with the product and mindless vibecoding. Told ya.
VP of Community @ Zig Software Foundation • Zig Livecoding http://twitch.tv/kristoff_it • Creator of http://softwareyoucan.love • Blogging http://kristoff.it • Host of https://zig.show • 📧 loris@sycl.it
Last reminder that this saturday Zig Day Naples will take place!
Join Andrew, me and other people interested in making software you can love!
VP of Community @ Zig Software Foundation • Zig Livecoding http://twitch.tv/kristoff_it • Creator of http://softwareyoucan.love • Blogging http://kristoff.it • Host of https://zig.show • 📧 loris@sycl.it
pip install ziglang
VP of Community @ Zig Software Foundation • Zig Livecoding http://twitch.tv/kristoff_it • Creator of http://softwareyoucan.love • Blogging http://kristoff.it • Host of https://zig.show • 📧 loris@sycl.it
@SonnyBonds correction, since in your case wgpu_lib is the upstream project, then you would have to do something along the lines of wgpu_dep.builder.dependencies("wgpu_lib", .{}). This is the super manual version where you reach for your dep's dependenncies. There are less invasive methods where you expose a path to consumers (similarly to how you can expose modules and artifacts) but at this point your method seems preferable (if you want only the header files, if you want the full lib you can just linkLibrary).
VP of Community @ Zig Software Foundation • Zig Livecoding http://twitch.tv/kristoff_it • Creator of http://softwareyoucan.love • Blogging http://kristoff.it • Host of https://zig.show • 📧 loris@sycl.it
@SonnyBonds usually if you're going down that path you just do mod.linkLibrary(wgpu_dep.artifact("wgpu")) and that also adds the include paths, but if you want only the header file that's one way. Another is to do mod.addIncludePath(wgpu_dep.path("path/to/headers")
VP of Community @ Zig Software Foundation • Zig Livecoding http://twitch.tv/kristoff_it • Creator of http://softwareyoucan.love • Blogging http://kristoff.it • Host of https://zig.show • 📧 loris@sycl.it
@SonnyBonds You have two main kinds of consumers: Zig and C (either directly or FFI). For the former you want to create zig modules, like you are doing in the screenshot, while for the latter you want to create libraries (b.addLibrary), which will also install headers that you specify via installHeader. Zig users don't need header files if you give them a translate-c module.
I've recently made this package that you can use as a reference https://github.com/allyourcodebase/rnnoise notice how I'm creating:
The only thing that I'm missing in that package is system integration options, which I have yet to really learn how to use.
VP of Community @ Zig Software Foundation • Zig Livecoding http://twitch.tv/kristoff_it • Creator of http://softwareyoucan.love • Blogging http://kristoff.it • Host of https://zig.show • 📧 loris@sycl.it
Upcoming Zig Days!
Seattle: March 21
Naples: March 28 (Andrew will be there!)
Stockholm: April 11
Nuremberg: April 11
More info on https://zig.day!
VP of Community @ Zig Software Foundation • Zig Livecoding http://twitch.tv/kristoff_it • Creator of http://softwareyoucan.love • Blogging http://kristoff.it • Host of https://zig.show • 📧 loris@sycl.it
The vibecoding will continue until uptime improves.
-- Manager @ Microslop GitHub
VP of Community @ Zig Software Foundation • Zig Livecoding http://twitch.tv/kristoff_it • Creator of http://softwareyoucan.love • Blogging http://kristoff.it • Host of https://zig.show • 📧 loris@sycl.it
The first ever Zig Day Napoli is scheduled for March 28!
Both Andrew and I will be there, join us for some good Zig...
...and some good food as well!