Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Justine here. I'm an avid Hacker News reader. I think Zig is awesome and I'd love for my projects (e.g. Cosmopolitan Libc) to support it. What makes that challenging is Zig doesn't depend on the C library and instead directly talks to the kernel ABIs. The Zig team might be able to add support for building Zig apps on the Cosmopolitan platform, but it's less likely to happen than other languages like Go, where we've already received the green light from the Go team for a GOOS=cosmo port. As for Blinkenlights, if Zig produces a static binary which doesn't assume a 4096 byte page size, then your Zig programs should work in Blink. If that's not the case, email me the logs and/or executable in question, so I can make sure Blink has the features you need. Please note that Zig has had some roadblocks surrounding the system page size https://github.com/jart/blink/issues/14


> we've already received the green light from the Go team for a GOOS=cosmo port.

Sweet!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: