In another move[1] to stay up-to-date with latest version of Zig (v0.12.0), I've also updated all code (and .zig.zon depencency info) in the still-just-a-baby zig.thi.ng repo:
Just updated all https://thi.ng/wasm-api packages, bindgen, build scripts, readmes and examples to be compatible with the brand new Zig v0.12.0 released a couple of days ago... This includes adapting to breaking changes (esp. Zig's build system) and updating the hybrid Zig/WASM/TypeScript project template:
#introduction I am Kevin(he/they)! I am a software developer. Not into social media much. Didn't want to sign up for twitter and people seem nice here. :blobfoxheartcute:
Slowly recovering from burnout after almost 3 years at a startup. Getting back into long neglected hobbies has been great for that.
i am thinking of writing a new blog post on dev.to about my experiences with #ziglang. the ones i got while writing software for Linux (package manager, distribution installation framework, etc). and if you are interested, yes, this software will be mostly usable on any distro other than cuteOS. i am planning to make my own general framework for application development with Zig, which will be available through ABI for C/C++, and maybe others, if the community will help to bind them.
@linusgroh is the author of one of the coolest projects, I know.
It’s called Kiesel and is a JavaScript-Engine, written in #ziglang.
Reading the code of Kiesel is really cool, because it is annotated with references to the #ECMAScript standard and really good structured.
This week we’re joined by @drewdevault, talking about the Hare programming language 🐇
We discuss Hare (of course), why he’s so passionate about all things open source, the state of the language, fostering a culture that values stability, and oddly enough — what it takes to make a peanut butter and jelly sandwich 🥪
Over the past 24h I've been restructuring the infant zig.thi.ng repo, added some new data structures, updated all sources to be Zig v0.11 compatible and added Zig package manager support. Took me a lot longer than expected, but already sure the changes & learning will help to accelerate my process (and re-use) on that front...
Since I don't want the extra overhead and don't want to setup & maintain separate Git repos for each of these tools, for now the new structure will be more like Zig's own standard library, sharing a common top-level module namespace ("thi.ng").
Even though there only a few things to use yet (check the readme to see what's there), I've also written some notes how to update your own build files to use these libs with the package manager:
This week's Register Spill by @mrnugget is about Zig, something that I've tinkered with quite a bit earlier this year. Personally I'm very interested in Zig as a replacement for C in embedded programming (packed structs! optionals!) but it is generally a really interesting systems language that feels modern, safer, and close to the metal. This post gives some great first impressions of the language.
Join me online next weekend at Apache #NuttX International Workshop (Sep 29 & 30) ... We'll chat about #RISCV, #PinePhone, #LVGL, #ZigLang and lots more!
Ohai! #introduction
I am a software developer and started my journey almost two decades ago, so I formed some opinions on the way; I might contribute to some discussions.
I like talking about programming languages; expect posts about #golang, #rust, #ziglang, #perl, #compilers, #gamedev and #webdev
As a German #expat I lived in #sweden for years before moving to #valencia#spain. Expect comments about expat life, Spain and maybe some pictures.
Also, #drums, #dogs, #minimalism, and #coffee. 🦎
#HowToThing#010 — Creating a basic web app with declarative UI/DOM creation via Zig/WebAssembly and the super extensible https://thi.ng/wasm-api and its https://thi.ng/wasm-api-dom add-on module, both hybrid TypeScript/Zig libraries. See alt text of images for details.
Okay, maybe I'm missing something here, but why is there a difference between a union and a union(enum)? Why isn't every union behaving like a union(enum) from the start? #ziglang
🎉 whey, first sound from #vcvrack sending Open Sound Control #osc messages via #ziglang ... nothing fancy, just a random sequence to drive a VCO, but really happy I got this working. Builting on top of zig-network lib https://github.com/MasterQ32/zig-network
Anyone aware of any #WebAssembly discrepancies in #Safari compared to #Firefox and #Chrome? Maybe SIMD related? I've just received a bug report that the #Ziglang-based voxel renderer linked below only ever renders a blue sky gradient, but no actual voxel model as you'd get in the other browsers (and as shown below). Just verified it myself with Safari v16.4. No errors, though... 😫