[RU] Язык Zig (канал)
206 subscribers
74 photos
4 videos
10 files
327 links
Unofficial channel about Zig language (in Russian language)

Неофициальный канал про язык Zig (на русском языке)

Chat / Чат:
@ziglang_ru
Download Telegram
refAllDeclsRecursive удалён (после стольких лет нелюбви от Эндрю)

https://codeberg.org/ziglang/zig/commit/790d28d6cd9029805af857d56645a6ce191bfe91

#upstream
🫡3👨‍💻1
Furthermore, when this work is combined with the recent std.Io changes, there is potential for users to seamlessly control how libc performs I/O - for example forcing all calls to read and write to participate in an io_uring event loop, even though that code was not written with such use case in mind. Or, resource leak detection could be enabled for third-party C code. For now this is only a vaporware idea which has not been experimented with, but the idea intrigues me.


https://ziglang.org/devlog/2026/#2026-01-31

#upstream
👍3
[RU] Язык Zig (канал)
Furthermore, when this work is combined with the recent std.Io changes, there is potential for users to seamlessly control how libc performs I/O - for example forcing all calls to read and write to participate in an io_uring event loop, even though that code…
The immediate goal is to replace all the C code we bundle from musl, wasi-libc, and MinGW-w64 with Zig code. So if you cross-compile for those libcs with static linking, you get Zig's libc which is API/ABI-compatible. In the future, it's entirely possible that we could expand the scope of Zig's libc to also be API/ABI-compatible with the statically-linked libcs from FreeBSD, NetBSD, etc. (We don't currently bundle the static C code for those.)

https://lobste.rs/s/pfhei9/zig_libc#c_pl9sub
👍4🔥1
NotebookLM творит мощь
🔥2