Язык Zig (канал)
Rich errors proposal из будущего Kotlin 2.4+ напоминает ошибки в Zig (сами говорят): https://github.com/Kotlin/KEEP/blob/main/proposals/KEEP-0441-rich-errors-motivation.md#zigs-error-unions
https://kotlinlang.org/docs/whatsnew-eap.html#improved-compile-time-constants
Ещё больше comptime в Kotlin
https://github.com/Kotlin/KEEP/blob/main/proposals/KEEP-0444-improve-compile-time-constants.md
Ещё больше comptime в Kotlin
https://github.com/Kotlin/KEEP/blob/main/proposals/KEEP-0444-improve-compile-time-constants.md
Kotlin Help
What's new in Kotlin 2.4.0-RC2 | Kotlin
Read the Kotlin Early Access Preview release notes and try the latest experimental Kotlin features before they are officially released.
💩4😁1🤡1
Zulip
Public view of Zig Software Foundation | Zulip team chat
Browse the publicly accessible channels in Zig Software Foundation without logging in.
https://zsf.zulipchat.com/#narrow/channel/454446-ecosystem/topic/improving.20the.20contributer.20to.20maintainer.20pipeline/near/595939945
@**Chris Boesch** I just want to reassure you along with everyone else who is trying to contribute that you're not doing anything wrong. On my end the reason you might not have gotten any review feedback lately is:
* focusing on finishing my own build system branch for the 0.17.0 tag
* going on vacation for 1 week
* dealing with personal matters in my life
The other core team members have their own reasons for how much time they spend on the PR queue. As a reminder, nobody including myself has committed to any particular amount of time. It's all best effort, goodwill type of situation.
With that in mind, however, there's a greater discussion to be had here, which is also taking place on ziggit.
After the 0.17.0 tag, I plan to focus on improving the contribution pipeline. We still have a lot to discuss, both publicly and internally, but in general I'd like to try to create a higher trust environment, where more people have more capability to unblock each other and themselves without bottlenecking on ~4.5 active core team members. Furthermore I'd like to solve the technical problem of the frequent codeberg downtime - either by self-hosting or by choosing a different technology that is resilient to outages.
In conclusion if contributors are feeling frustrated right now with the review queue, code forge stability and performance, and similar matters, you're not alone. Let's come up with a way to increase contributor trust and autonomy without compromising the integrity of the project, both from software quality perspective and as a community of people looking to hone their skills and resumes.
I would have preferred to just continue cooking, but sometimes you gotta sharpen your knives
👍1
Язык Zig (канал)
https://zsf.zulipchat.com/#narrow/channel/454446-ecosystem/topic/improving.20the.20contributer.20to.20maintainer.20pipeline/near/595939945 @**Chris Boesch** I just want to reassure you along with everyone else who is trying to contribute that you're not doing…
@**Chris Boesch** Я просто хочу заверить вас и всех остальных, кто пытается внести свой вклад в проект, что вы всё делаете правильно. Что касается меня, причина, по которой вы, возможно, в последнее время не получали отзывов по ревью, заключается в следующем:
* я был сосредоточен на завершении своей ветки системы сборки для выпуска 0.17.0
* уходил в отпуск на 1 неделю
* решал личные вопросы в жизни
У других участников основной команды есть свои причины касательно того, сколько времени они уделяют очереди PR. Напоминаю, что никто, включая меня, не брал на себя обязательств по конкретному количеству времени. Всё это делается исключительно на основе добровольных усилий и доброй воли.
Тем не менее, с учётом вышесказанного, здесь назрела более масштабная дискуссия, которая также проходит на Ziggit.
После выпуска 0.17.0 я планирую сосредоточиться на улучшении пайплайна для контрибьюторов. Нам ещё многое предстоит обсудить, как публично, так и внутри команды, но в целом я хотел бы попытаться создать среду с более высоким уровнем доверия, где у большего числа людей будет больше возможностей помогать друг другу и самим себе, не упираясь в бутылочное горлышко из 4-5 активных участников основной команды. Кроме того, я бы хотел решить техническую проблему частых сбоев в работе Codeberg — либо путём самостоятельного хостинга, либо выбрав другую технологию, устойчивую к простоям.
В заключение: если контрибьюторы сейчас чувствуют разочарование из-за очереди на ревью, стабильности и производительности платформы для разработки и тому подобных вещей, вы не одиноки. Давайте придумаем способ повысить доверие и автономность контрибьюторов без ущерба для целостности проекта — как с точки зрения качества программного обеспечения, так и с точки зрения сообщества людей, стремящихся оттачивать свои навыки и улучшать резюме.
Мне бы хотелось просто кодить в свое удовольствие, но иногда приходится отвлекаться на оптимизацию процессов.
👍3
Telegram
BratishkaErik in ⚡️Zig language⚡️
Binary sizes, for x86_64-linux-gnu x86_64_v4 system:
First value by ls, second by eza (fork of exa):
0.16.0:
Debug: 17846221 (18M)
Debug + Dstrip: 4702669 (4,7M)
ReleaseSafe: 4598512 (4,6M)
ReleaseSafe + Dstrip: 521416 (521k)
ReleaseFast: 4847384 (4…
First value by ls, second by eza (fork of exa):
0.16.0:
Debug: 17846221 (18M)
Debug + Dstrip: 4702669 (4,7M)
ReleaseSafe: 4598512 (4,6M)
ReleaseSafe + Dstrip: 521416 (521k)
ReleaseFast: 4847384 (4…
После обновления NCDU с 0.14-0.15 на 0.16 решил проверить размеры бинарника:
https://xn--r1a.website/ziglang_en/161590
0.16.0:
Debug: 17846221 (18M)
Debug + Dstrip: 4702669 (4,7M)
ReleaseSafe: 4598512 (4,6M)
ReleaseSafe + Dstrip: 521416 (521k)
ReleaseFast: 4847384 (4,8M)
ReleaseFast + Dstrip: 459768 (460k)
ReleaseSmall: 2862632 (2,9M)
ReleaseSmall + Dstrip: 284488 (284k)
0.15.2:
Debug: 16956152 (17M)
Debug + Dstrip: 4247949 (4,2M)
ReleaseSafe: 3615416 (3,6M)
ReleaseSafe + Dstrip: 320016 (320k)
ReleaseFast: 2539824 (2,5M)
ReleaseFast + Dstrip: 326000 (326k)
ReleaseSmall: 1467968 (1,5M)
ReleaseSmall + Dstrip: 180648 (181k)
https://xn--r1a.website/ziglang_en/161590
-Dtarget=x86_64-linux-gnu-Dcpu= x86_64_v40.16.0:
Debug: 17846221 (18M)
Debug + Dstrip: 4702669 (4,7M)
ReleaseSafe: 4598512 (4,6M)
ReleaseSafe + Dstrip: 521416 (521k)
ReleaseFast: 4847384 (4,8M)
ReleaseFast + Dstrip: 459768 (460k)
ReleaseSmall: 2862632 (2,9M)
ReleaseSmall + Dstrip: 284488 (284k)
0.15.2:
Debug: 16956152 (17M)
Debug + Dstrip: 4247949 (4,2M)
ReleaseSafe: 3615416 (3,6M)
ReleaseSafe + Dstrip: 320016 (320k)
ReleaseFast: 2539824 (2,5M)
ReleaseFast + Dstrip: 326000 (326k)
ReleaseSmall: 1467968 (1,5M)
ReleaseSmall + Dstrip: 180648 (181k)
👎1
Язык Zig (канал)
После обновления NCDU с 0.14-0.15 на 0.16 решил проверить размеры бинарника: https://xn--r1a.website/ziglang_en/161590 -Dtarget=x86_64-linux-gnu -Dcpu= x86_64_v4 0.16.0: Debug: 17846221 (18M) Debug + Dstrip: 4702669 (4,7M) ReleaseSafe: 4598512 (4,6M) ReleaseSafe…
Анализ от Gemini на Python
(потом более нормальные сделаю)
(потом более нормальные сделаю)
Большое интервью с Эндрю:
https://www.youtube.com/watch?v=iqddnwKF8HQ
https://xn--r1a.website/ziglang_ru/66141
https://www.youtube.com/watch?v=iqddnwKF8HQ
https://xn--r1a.website/ziglang_ru/66141
YouTube
Zig 2026: No-AI Policy, $670K Foundation, Left GitHub & Why Zig Isn’t 1.0 - Andrew Kelley Explains
Andrew Kelley quit his job in 2018 to build a programming language. Eight years later, Zig powers Ghostty, TigerBeetle and Uber's cross-compilation. It's top 5 most admired on Stack Overflow. There's just one thing missing: 1.0. Andrew Kelley explains why.…
👍16🔥7
Forwarded from Андрей Краевский
Хорошие новости. Команда zls (techatrix) и zig core team пообщались как сделать так чтобы zls мог работать и дальше. https://codeberg.org/ziglang/zig/issues/35538
Codeberg.org
build server protocol
Followup from #35428.
There is already https://github.com/ziglang/zig/issues/615 to track serving Compilation information. This is for stuff like type information, looking up definitions, refactoring, etc.
By contrast, this issue is to implement the…
There is already https://github.com/ziglang/zig/issues/615 to track serving Compilation information. This is for stuff like type information, looking up definitions, refactoring, etc.
By contrast, this issue is to implement the…
👍4❤1🤗1
Язык Zig (канал)
Я так понял это чудо строится ПОВЕРХ Zig, вот он, наш ответ C++... Zig+-
Тот ZigC заглох, зато Zig++ появился:
https://github.com/nktkt/zigpp
https://github.com/nktkt/zigpp-design-draft
Как ранний C++, который транслировался в Си, в этом случае Zig++ транслируется в Zig
https://github.com/nktkt/zigpp
https://github.com/nktkt/zigpp-design-draft
Как ранний C++, который транслировался в Си, в этом случае Zig++ транслируется в Zig
GitHub
GitHub - nktkt/zigpp: Zig++: research-stage frontend compiler that lowers .zpp source (Zig + traits, RAII, ownership markers, effect…
Zig++: research-stage frontend compiler that lowers .zpp source (Zig + traits, RAII, ownership markers, effect annotations) into plain .zig - nktkt/zigpp
🤔7👎2❤1😁1🐳1
Библиотека для детерминированного тестирования 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