Библиотека для детерминированного тестирования IO на Zig:
https://sb2bg.github.io/marionette/
https://github.com/sb2bg/marionette
#библиотеки
https://sb2bg.github.io/marionette/
https://github.com/sb2bg/marionette
#библиотеки
sb2bg.github.io
Marionette
Deterministic I/O and simulation testing for Zig.
👍2🤔1
Сгенерированные EPUB для language reference
https://codeberg.org/ziglang/ziglang.org/issues/623
https://codeberg.org/simenandre/ziglang-docs-epub
https://codeberg.org/ziglang/ziglang.org/issues/623
https://codeberg.org/simenandre/ziglang-docs-epub
Codeberg.org
Reading the Zig Language Reference
Hello 👋
I am currently reading through the Zig Language Reference cover to cover, and having used fragment identifiers in the URL (e.g. `#Peer-Type-Resolution`) as a makeshift bookmark, I realised a better way to consume it is a on my reading tablet. A…
I am currently reading through the Zig Language Reference cover to cover, and having used fragment identifiers in the URL (e.g. `#Peer-Type-Resolution`) as a makeshift bookmark, I realised a better way to consume it is a on my reading tablet. A…
Язык Zig (канал)
this december im doing a "prototype" which means its going to be done in zig and im going to clear sone difficult hurdles i couldn't do last year.... also accepting sponsors, details on page. also disclaimer, im using heavy amounts of ai assistance (as implied…
Ownership checker для Zig, через комментарии или comptime
https://github.com/sophatvathana/zigsafe
https://www.reddit.com/r/Zig/comments/1txqvl7/built_an_optional_ownership_checker_for_zig/
https://github.com/sophatvathana/zigsafe
https://www.reddit.com/r/Zig/comments/1txqvl7/built_an_optional_ownership_checker_for_zig/
GitHub
GitHub - sophatvathana/zigsafe
Contribute to sophatvathana/zigsafe development by creating an account on GitHub.
😁7🐳3
ZON парсер для Python (если кому надо)
https://pypi.org/project/natizon/
https://github.com/BratishkaErik/natizon
Чтобы парсить
https://pypi.org/project/natizon/
https://github.com/BratishkaErik/natizon
Чтобы парсить
build.zig.zon в питоне вполне хватает, но не только для них.PyPI
natizon
A pure Python, native ZON (Zig Object Notation) parser.
👍1🤔1
sizes.zig
513 B
Просто чтоб не забыть (x86_64-windows-gnu)
sizes.zig:25:5: error:
========================
Type: u63
@sizeOf: 8
@bitSizeOf: 63
@alignOf: 8
========================
Type: u64
@sizeOf: 8
@bitSizeOf: 64
@alignOf: 8
========================
Type: ?u63
@sizeOf: 16
@bitSizeOf: 128
@alignOf: 8
========================
Type: ?u64
@sizeOf: 16
@bitSizeOf: 128
@alignOf: 8
@compileError(buffer);
^~~~~~~~~~~~~~~~~~~~~
🫡3🤯1
Язык Zig (канал)
sizes.zig
Если вдруг кто думал, что Zig «крадёт» последний или первый бит и что
x86-windows-gnu:
x86-linux-gnu:
@sizeOf(?u63) == @sizeOf(u64), это не так:x86-windows-gnu:
========================
Type: u63
@sizeOf: 8
@bitSizeOf: 63
@alignOf: 8
========================
Type: u64
@sizeOf: 8
@bitSizeOf: 64
@alignOf: 8
========================
Type: ?u63
@sizeOf: 16
@bitSizeOf: 128
@alignOf: 8
========================
Type: ?u64
@sizeOf: 16
@bitSizeOf: 128
@alignOf: 8
x86-linux-gnu:
========================
Type: u63
@sizeOf: 8
@bitSizeOf: 63
@alignOf: 4
========================
Type: u64
@sizeOf: 8
@bitSizeOf: 64
@alignOf: 4
========================
Type: ?u63
@sizeOf: 12
@bitSizeOf: 96
@alignOf: 4
========================
Type: ?u64
@sizeOf: 12
@bitSizeOf: 96
@alignOf: 4
🤯2❤1🤔1
Pledging Another $400,000 to the Zig Software Foundation
Больше денег, можно в том числе и для core team новые контракты создать, их уже 15 человек!
https://ziglang.org/news/welcoming-new-team-members/
https://ziglang.org/zsf/#core-team (нумерацию я расставил):
#блоги #upstream
Больше денег, можно в том числе и для core team новые контракты создать, их уже 15 человек!
https://ziglang.org/news/welcoming-new-team-members/
These folks are next in line for ZSF contracts once funds are available.
https://ziglang.org/zsf/#core-team (нумерацию я расставил):
1. Andrew Kelley (andrewrk)
2. Loris Cro (kristoff)
3. Isaac Freund (ifreund)
4. Veikka Tuominen (Vexu)
5. Michael Dusan (mikdusan)
6. Jacob Young (jacobly)
7. Matthew Lugg (mlugg)
8. Alex Rønne Petersen (alexrp)
9. Mason Remaley (MasonRemaley)
10. Ryan Liptak (squeek502)
11. Frank Denis (jedisct1)
12. Ali Cheraghi (alichraghi)
13. Justus Klausecker (justusk)
14. Casey Banner (kcbanner)
15. Pavel Verigo (pavelverigo)
#блоги #upstream
Codeberg.org
Andrew Kelley
President and Lead Developer of [Zig Software Foundation](https://ziglang.org/)
@bitCast переделали и работу чисел с "нетипичными" размерами (u3, u17, u63 etc.):Devlog и запрос на слияние от mlugg:
* https://ziglang.org/devlog/2026/#2026-06-25
* https://codeberg.org/ziglang/zig/pulls/35711
Основной proposal (от jacobly):
* https://github.com/ziglang/zig/issues/19755
Чет я писал и писал, но получилось запутанно, так что на потом оставил.
#upstream #блоги
Codeberg.org
llvm: only load/store ABI-sized integers to/from memory
The original goal of this PR was to change the LLVM backend's lowering of non-ABI integer types, with the goal of both fixing some miscompilations and emitting more optimal code. A more detailed description of that change is in the commit message of this…