Commit Graph
4 Commits
Author SHA1 Message Date
waozi da76a21675 Remove the C++, Rust and Plan 9 targets
Ziran now generates C, Go, Python and portable .zx. zi2cpp, zi2rust, the
C++ mode of the shared C emitter, the Plan 9 post-pass and the std Plan 9
modules are gone; --target=cpp|rust|plan9-c and zi2c --plan9 are rejected
as unknown targets. Generated C headers keep avoiding C++ keywords in
exported names, so C++ hosts can still include them.
2026-10-24 00:57:29 -03:00
waozi 39b1fdf7a5 Keep completion polling nonblocking through notification and TLS cleanup 2026-10-09 10:52:13 -03:00
waozi 64cc8432b5 Notify event waiters after background thread completion 2026-10-05 21:18:21 -03:00
waozi 86be603c1b Add background threads that a frame loop can poll
std/thread_linux.zi starts a procedure on a pthread and reports without
waiting whether it has finished, joining it the first time it has, so a
frame loop can keep drawing while a request runs. The worker marks itself
done under a mutex rather than relying on pthread_tryjoin_np, which
Android's C library lacks, and the thread handle and mutex storage are
sized for both glibc and bionic.
2026-09-30 01:13:46 -03:00