But to our wonderful surprise someone has been packaging up popular C libraries in zig and cross-compiliation is now as easy as swapping the target parameter in a zig build.

But to our wonderful surprise someone has been packaging up popular C libraries in zig and cross-compiliation is now as easy as swapping the target parameter in a zig build.
We were wondering how to cross-compile SDL ttf on linux for windows. Search google/kagi/etc and you'll find various incantations of how to do it over the past 20 years.
ArenaAllocators don't play nicely with ArrayLists https://lobste.rs/s/huk6zu #zig
CanyonTurtle made a great Panel de Pon-style falling/rising block matching game for WASM-4 using #Zig
Accelerating the Zig Tokenizer (with AVX-512) https://lobste.rs/s/jref3l #video #plt #zig
Type-safe HTML templating in Zig https://lobste.rs/s/dujxbl #web #zig
Zig, tip güvenliğiyle HTML şablonlamayı nasıl dönüştürüyor? Düşük seviyeli bir dilde bile tip güvenli, güvenilir ve hızlı web UI'lar yazmak mümkün. #Zig #Yazılım #WebGeliştirme
Kiesel Devlog #15: Release 0.4.0 https://lobste.rs/s/4zmka2 #javascript #zig
I use highly experimental @zed.dev editor and #zig programming language. To participate to my Eve project you should know this language. Are there Zig programmers that wish to work on open source?
#opensource #project
ziglang.org
Branches in branch-free code https://lobste.rs/s/dsbt5a #c #assembly #rust #compilers #zig
Another #zig puzzle, try to guess the output before running it:
var x = 5;
x += 1;
std.debug.print("{d}\n", .{x});
#Zig puzzle, try to guess the output before running it:
const s = "123";
std.debug.print("{d}\n", .{ s[3] });
Have to admit, I really love #Zig so far. The compile-time duck-typing is a sweet solution to avoid the need for a meta-language for generics, as prominent (and annoying) in so many languages (like Rust).
🚀 ZIG Finance (ZIG) en tendencia — $0.062439 📈 9.6% (24h).
👉 Seguí al mejor canal de criptomonedas de habla hispana: https://elshowdeltrading.com
Extend Lua with Zig 1: Hello World https://lobste.rs/s/tmr7jp #lua #zig
Zig 0.17 can rebuild only the parts of a program affected by code changes, making updates nearly instant for many Linux projects.
The trade-off: some ZLS features temporarily ran into…
https://en.hacks.gr/i-zig-0-17-epitachynei-ti-dimioyrgia-programmaton-me-emfasi-sta-erga-linux/