Я тут кстати довольно поздно заметил, но после переноса https://github.com/ziglang/www.ziglang.org с Hugo на Ziggy перевод на русский закинули в папку со старыми не-мигрировавшими переводами, и там уже 2 пулл реквеста который перевод с нуля делают. Я не уверен, что они вообще знают о старом переводе, поэтому подсказал в комментариях
#upstream
#upstream
GitHub
GitHub - ziglang/www.ziglang.org
Contribute to ziglang/www.ziglang.org development by creating an account on GitHub.
👀3
What to Expect from Release Month
Если вкратце:
* Релиз 0.14 ровно через месяц, 17 февраля
* За это время больше сфокусируются на накопившихся пулл реквестах и issues
* x86 backend пока не готов к использованию по умолчанию для Debug сборок, но может за месяц успеют допилить
* Пользователям, которые сидят на 0.13 рекомендуется потихоньку обновлять свой код до новой версии
#блоги #upstream
Если вкратце:
* Релиз 0.14 ровно через месяц, 17 февраля
* За это время больше сфокусируются на накопившихся пулл реквестах и issues
* x86 backend пока не готов к использованию по умолчанию для Debug сборок, но может за месяц успеют допилить
* Пользователям, которые сидят на 0.13 рекомендуется потихоньку обновлять свой код до новой версии
#блоги #upstream
👍20
Thanks to a colossal amount of work by Jacob Young, the x86_64 backend of Zig is now passing 101% of the behavior tests compared to the LLVM backend.
Or perhaps put another way, the LLVM backend is passing 99% of the behavior tests compared to the x86_64 backend 😉
Still a few more issues to tackle before it can be made the default, however.
https://mastodon.social/@andrewrk/113971366018364079
#блоги #upstream
Mastodon
Andrew Kelley (@andrewrk@mastodon.social)
Thanks to a colossal amount of work by Jacob Young, the x86_64 backend of Zig is now passing 101% of the behavior tests compared to the LLVM backend.
Or perhaps put another way, the LLVM backend is passing 99% of the behavior tests compared to the x86_64…
Or perhaps put another way, the LLVM backend is passing 99% of the behavior tests compared to the x86_64…
👍9❤3
Zig reporter
Ziglang News 📰: Good News! 0.14.0 Delayed read
Опять отложили (до 3 марта), зато мб x86_64 backend допилить успеют до момента, когда его можно в Debug сборках по умолчанию использовать (в Github как раз PR лежит, где почти все фичи добили, и остались ток фиксы мискомпиляций как я понял)
#upstream #блоги
#upstream #блоги
❤9
Язык Zig (канал)
0.13 релиз! Коммит есть, но на сайте и в GitHub Releases пока нету... #upstream
Выпуск 0.14.0!
https://ziglang.org/download/0.14.0/release-notes.html
#upstream
потом мб наберу на Opennet новость
https://ziglang.org/download/0.14.0/release-notes.html
#upstream
потом мб наберу на Opennet новость
👍10🎉6⚡1🐳1
Тут официальный список зеркал для Zig добавили:
https://ziglang.org/download/community-mirrors/
Пока что используется только в https://github.com/marketplace/actions/setup-zig-compiler, но mlugg предлагает авторам програм по типу zigup и zvm тоже его использовать
#upstream
https://ziglang.org/download/community-mirrors/
Пока что используется только в https://github.com/marketplace/actions/setup-zig-compiler, но mlugg предлагает авторам програм по типу zigup и zvm тоже его использовать
#upstream
GitHub
Setup Zig Compiler - GitHub Marketplace
Download and install the Zig compiler, and cache the global Zig cache
👍3❤2
Zig Roadmap 2026
Через два дня, 2 июля в 16:00 по UTC:
* Производительность компилятора
* Опять про async/await
* Fuzzing with coverage
* Деньжата и сообщество
#блоги #upstream
Через два дня, 2 июля в 16:00 по UTC:
* Производительность компилятора
* Опять про async/await
* Fuzzing with coverage
* Деньжата и сообщество
#блоги #upstream
👍6
remove async and await keywords; remove usingnamespace
Из хорошего: удалили async и await, так что теперь функции из нового плана можно писать без @"..."
Из плохого: убили usingnamespace окончательно...
#upstream
Из хорошего: удалили async и await, так что теперь функции из нового плана можно писать без @"..."
Из плохого: убили usingnamespace окончательно...
#upstream
GitHub
remove `async` and `await` keywords; remove `usingnamespace` by andrewrk · Pull Request #24362 · ziglang/zig
async and await keyword removal
Also remove @frameSize, closing #3654.
While the other machinery might remain depending on #23446, it is settled that there will not be async/ await keywords in the ...
Also remove @frameSize, closing #3654.
While the other machinery might remain depending on #23446, it is settled that there will not be async/ await keywords in the ...
🎉12👍1
https://github.com/ziglang/zig/pull/24699
Эндр подчищает ring buffers в стандартной библиотеке (их в сумме 4, один он убирает в другом ПР и один тут).
BoundedArray он так и не полюбил :( опять хочет его удалить.
#upstream
Эндр подчищает ring buffers в стандартной библиотеке (их в сумме 4, один он убирает в другом ПР и один тут).
BoundedArray он так и не полюбил :( опять хочет его удалить.
#upstream
GitHub
remove RingBuffer; remove BoundedArray; use `@memmove` by andrewrk · Pull Request #24699 · ziglang/zig
Progress towards #19231
Upgrade Guide
ArrayListUnmanaged now has "Bounded" variants of all the "AssumeCapacity" methods:
- var stack = try std.BoundedArray(i3...
Upgrade Guide
ArrayListUnmanaged now has "Bounded" variants of all the "AssumeCapacity" methods:
- var stack = try std.BoundedArray(i3...
😢4
Seems good for now but note this is going to disrupt my ultimate plan of creating a viable binary including when there are compilation errors. Including when there are syntax errors.
Пока всё выглядит хорошо, но учти, что это нарушит мой главный план — создавать работоспособный бинарник даже при наличии ошибок компиляции. В том числе при наличии синтаксических ошибок.
На моей памяти это первый раз, когда он упоминает этот план публично, я его ни в каких issues, PR и т.д. не видел раньше
https://github.com/ziglang/zig/pull/24857#issuecomment-3192324792
#upstream
GitHub
Zcu: don't tell linkers about exports if there are compile errors by mlugg · Pull Request #24857 · ziglang/zig
In the best case, this is redundant work, because we aren't actually going to emit a working binary this update. In the worst case, it causes bugs because the linker may not have seen the t...
🐳2
Zig 0.15.1 выпущен сегодня:
https://ziglang.org/download/0.15.1/release-notes.html
В 0.15.0 критический баг, поэтому решили его пропустить и сразу залить с фиксом.
#upstream
https://ziglang.org/download/0.15.1/release-notes.html
В 0.15.0 критический баг, поэтому решили его пропустить и сразу залить с фиксом.
#upstream
🔥7❤1
Sure. In general, we're finally nearing the end of language stabilization phase of the roadmap (although there are still a few breaking language changes planned). The next phase will be standard library stabilization. The first step of that will be minimization of the standard library, aggressively deleting what is deemed unnecessary. Then it will be auditing, then it will completeness additions, in collaboration with Zig communities and ecosystem.
Before, when the language was younger, any additions to the std lib were welcomed as they helped test pilot the language. Now, the std lib is big enough and the ecosystem is big enough that there are other better ways to test pilot the language.
https://github.com/ziglang/zig/issues/20491#issuecomment-3315245540
#upstream
🤔1
Язык Zig (канал)
add basic compile-time detection for stack escape violations закрыт правда... #upstream
forbid trivial local address returned from functions
Проверка проще, но ошибка теперь раньше появляется
#upstream
Проверка проще, но ошибка теперь раньше появляется
#upstream
GitHub
forbid trivial local address returned from functions by andrewrk · Pull Request #25333 · ziglang/zig
progress towards #25312 (I amended the proposal to include more cases)
Upgrade Guide
fn foo() *i32 {
var x: i32 = 1234;
return &x;
}
test.zig:3:13: error: returning address of expir...
Upgrade Guide
fn foo() *i32 {
var x: i32 = 1234;
return &x;
}
test.zig:3:13: error: returning address of expir...
Builtin Matrix type
Принято Эндрю на основании:
В основном из-за SPIR-V и графики, но будет работать везде.
#upstream
Принято Эндрю на основании:
This is accepted mainly motivated by the SPIR-V backend, but the types will naturally be supported on all targets, and is expected to also fulfill the ergonomics use case for graphics programming in general.
В основном из-за SPIR-V и графики, но будет работать везде.
#upstream
GitHub
Builtin Matrix type · Issue #4960 · ziglang/zig
LLVM 10 introduced nice Matrix intrinsics. Possible syntax: @Matrix(rows, cols, type) Related issue: #903
❤6👍1
replace @Type with individual type-creating builtins
Помянем
#upstream
Помянем
@Type, теперь у нас @Int, @Struct и т.д.#upstream
GitHub
replace @Type with individual type-creating builtins by alichraghi · Pull Request #23733 · ziglang/zig
Closes #10710
I updated zig1.wasm in first commit to ensure the CI is passing. once ready, one of the core team members can handle updating it.
I also didn't add @Array because as @Hejsil p...
I updated zig1.wasm in first commit to ensure the CI is passing. once ready, one of the core team members can handle updating it.
I also didn't add @Array because as @Hejsil p...
🤔4👍3😢1
Migrating from GitHub to Codeberg
Прощай GitHub, привет Codeberg!
TLDR:
* если у вас включен GitHub Sponsors для Zig, по возможности перейдите на Every.org
https://www.every.org/zig-software-foundation-inc#/donate/card
* существующие issues и пулл-реквесты оставьте в покое. Не копируйте их на новый сайт, если только вы не хотите изменить там что-то.
* новые issues и пулл-реквесты открывать на Codeberg (само собой)
#upstream
Прощай GitHub, привет Codeberg!
TLDR:
* если у вас включен GitHub Sponsors для Zig, по возможности перейдите на Every.org
https://www.every.org/zig-software-foundation-inc#/donate/card
* существующие issues и пулл-реквесты оставьте в покое. Не копируйте их на новый сайт, если только вы не хотите изменить там что-то.
* новые issues и пулл-реквесты открывать на Codeberg (само собой)
#upstream
🎉4
https://codeberg.org/forgejo-contrib/moving-to-forgejo/issues/15
Обсуждение миграции на Codeberg
#upstream
Обсуждение миграции на Codeberg
#upstream
Codeberg.org
Zig Software Foundation
### Describe your migration
Hello friends!
ZSF is looking to migrate git hosting for a handful of repositories, as well as using the Actions web UI to manage a set of machines using the self-hosted runner API. We have no plans to use cloud-hosted/shared…
Hello friends!
ZSF is looking to migrate git hosting for a handful of repositories, as well as using the Actions web UI to manage a set of machines using the self-hosted runner API. We have no plans to use cloud-hosted/shared…
🤔1