Язык Zig (канал)
178 subscribers
28 photos
3 videos
6 files
244 links
Download Telegram
Старый вариант от jedisct1 мне больше нравился, потому что в новом от Эндрю проверку легко обойти:

fn returnStackPointer() *i32 {
var stack_allocation: i32 = 1234;
const ptr = &stack_allocation;
return ptr;
}
Forwarded from Andrei Kolesnikov
Пока пишется, какие-то главы доступны онлайн, хотят закончить к весне 2026го
Builtin Matrix type

Принято Эндрю на основании:
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
6👍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
🎉4
Forwarded from kristoff
sorry to disrupt all the theories but CI not being reliable is a big fucking problem and the main reason why the move happened now
Forwarded from kristoff
it was infuriating to discover that the stupid GH runner was livelocking agents on our machine in an endless while(true) loop
1
Forwarded from kristoff
and also setting up CI for stuff like the BSDs was a pain because the runner depends on .NET at runtime, which is not even packaged by all Linux distros, let alone other OSs
🔥1
Forwarded from kristoff
but the final straw was seeing GH start running jobs out of order, which would cause PR CI runs to fail because of timeouts