Status & Limitations — Xu 0.16.0
| Subsystem | Status | Support and boundaries |
|---|---|---|
| Memory and resources | Implemented | Single ownership, shared/exclusive borrows, move checks, and deterministic drop. File/Conn resources close on scope exit. |
| Safety boundary | By design | No unsafe, reflect, or user-visible raw runtime pointers. Out-of-bounds indexing and division by zero fail loudly. |
| Native AOT & WASM | Target support varies | macOS arm64/x64; Linux arm64/x64/loongarch64/riscv64; Windows x64/arm64; WebAssembly (wasm32-wasi); Thumb and RISC-V bare-metal targets. Emission support does not imply all libraries have passed runtime tests. |
| Dependencies | Implemented with limits | Slash-path identities; explicit file/Git/tar sources; SemVer minimum requirements and MVS; XUPROXY/private bypass; content locks, vendor snapshots, offline/frozen builds and process locks. |
| Checksum logs | Client available | 0.8.4 adds trusted-key XUSUMDB verification and XUNOSUMDB policy. Public Xu service and independent witnesses remain pending; unset/off retains first-use trust. |
| Network and I/O | Platform differences | TCP/UDP IPv4/IPv6 on Linux, macOS, and Windows; Unix-domain sockets on Linux and macOS (explicitly rejected on Windows). Native socket readiness waiting uses epoll (Linux), kqueue (macOS), and WSAPoll (Windows; EventSet is Linux/macOS only); stream I/O and explicit progress results; raw IP and TLS support have separate platform limits. |
| SQL and external packages | Separate module | database/sql supplies pools, transactions, and driver contracts. The SDK bundles packages module 1.0.2 with 29 service integrations and shared transport; MySQL/PostgreSQL use protocol drivers, SQLite uses native C resources. |
| Cryptography | Per-package limits | Xu implementations include SM2/SM3/SM4/SM9/ZUC/GMTLS. API availability does not imply commercial-cryptography certification. |
| Desktop GUI | Host tools required | Desktop packaging has macOS .app, Windows .exe, and Linux ELF paths; provides ergonomic Screen context abstractions and styled controls; GTK4/WebKitGTK or WebView2 and matching host tools are required; verify on the target machine. |
| GPU & Window System | Implemented low-level core | Includes #gpu, #gpu/layout, #window, #window/events; supports windowless GPU devices, buffer/texture transfers, command encoding, compute/render passes, fence readbacks, along with independent window lifecycles and per-window input event queues (keyboard, pointer, wheel, and text/IME), backed by host graphics drivers or SDL 3.2+ runtime. |
| Shared-library exports | Primitive signatures | --shared exports int, bool, string, f64, i32, u32, and u8; native .a/.xulib dependencies are a separate resource boundary. |
| Map | Implemented | int/string keys; missing-key indexing fails loudly. Use membership checks or library APIs when absence is expected. |
| XACP control | Published API; runtime unverified | #xacp is included in the published 0.16.0 SDK extract. Hosted native startup control uses --xacp / --xacp-port, with XACP/1 length-prefixed stdio or 127.0.0.1 TCP. Hello grants at most INFO without a host token; a matching host token permits a requested subset of PERM_ALL. proc.status has a pid response; output/UI operations require their permissions and adapters. Startup control does not register a Screen. UI attachment requires registration and polling, and has a request deadline; callers still need process/I/O timeouts. No TLS or non-loopback bind; Windows launcher record is unavailable. Native sessions, UI control, screenshots, and platform runtime acceptance remain unverified. Importing the package does not install a control channel. |
| Tools and editor | Fully implemented | Standalone native Setup installers available (automatic global PATH & XU_ROOT setup across Windows/macOS/Linux); executable-relative standard library probing prevents ambient environment hijacking; build/run/check/test/debug/install/get/fmt/map/doc/doctor/lsp are available. up/update supports direct GitHub binary release upgrades; The VS Code extension provides syntax highlighting and full native language server integration via xu-lsp (definitions, completion, hover, live diagnostics, outline, rename, and references). |
Recent progress and remaining work
Xu 0.13.3 は、所有権認識 GVN エイリアス無効化、16KB スラブマイクロコルーチンを伴うコールグラフ有界スタック解析、ゼロコピーランデブーを伴う 1:1 SPSC チャネル削除、SROA を伴う MEMOIR GEMM ループタイリング、および PGO レイアウト再配置を導入します。
Xu 0.13.2は HTTP バッファーの増大を抑え、分割された応答を順次デコードし、静的ファイルの指定範囲だけを読み取り、ソケットの待機をまとめます。
Xu 0.13.1 completes the standard library zero-stub audit across all core modules: fixes compress/zstd truncation validation, re-engineers sync.Cond registered waiter queue notification semantics, implements cross-platform os/exec streaming pipes (stdin_pipe/stdout_pipe/stderr_pipe) and native console signal dispatching, introduces net/http HTTPS connection reuse, native Windows WSAPoll zero-latency batch socket polling, HTTP/2 HPACK Huffman decoding, real SOCK_RAW IP sockets, and external IANA TZif database loading via $env:ZONEINFO. All six native platform SDKs passed full verification. See the release notes.
Xu 0.12.6 completes cross-architecture C FFI with unions, bitfields, extern globals, closure callbacks, and xu cbind; adds the native Phone game host (--phone-profile game) and #app; hardens borrow/move/unsafe/MIR drop checks with the 67-check memsafe-gate; and delivers x64 XMM/SSE2, ARM64/x64 select/lea fusion, GVN/BCE/ifconv optimizer gains, and runtime Base64/MD5/string optimizations. All six native platform SDKs passed full verification. See the release notes.
Xu 0.12.5 introduces a pure-Xu #internal/sdl dynamic FFI backend and a hostless #ui/font font stack, adds the #gpu SoftBlob CPU data safety model, XDF1 frame export for headless replay, multi-touch touch_id support, and enhanced Zero-GC holder tracking. The six native platform SDKs passed installation and protocol verification. See the release notes.
Xu 0.12.4 extends typed-MIR and ARM64/x64 optimization and adds mobile project generation and #ui/phone. The six native SDKs passed installation and execution checks. Mobile validation covers project generation and ARM64 object formats. See the release notes.
Xu 0.12.3 restores typed-MIR inlining, integer tail recursion, and periodic loop folding. String repetition allocates its output once. Hardware AES, ARM64 SHA-256, bit operations and hex encoding use native instructions where supported. Linux and macOS I/O waiters share each idle poll round. Standard library adds GPU render/compute passes, typed window surfaces and per-window input events. See the release and migration notes.
Xu 0.12.2 uses typed MIR and enables optimization by default. --no-opt disables optimization. Installed SDK acceptance covered Linux, macOS and Windows on ARM64 and x64. See the release and migration notes.
Xu 0.11.4 adds eligible ARM64 sibling tail calls, pure scalar additive-recursion loops and bounded byte-processing optimizations, and repairs XUN duration, depth, multiline and typed-list behavior. ESP32 Wi-Fi/BLE coexistence is experimental; external full-MTU acceptance and the documented network/security features remain incomplete. See the release notes and migration details.
Xu 0.11.3 adds checked synchronous i64 spans and ESP32 protocol building blocks, and repairs numerical edges and owned string slices. Windows SDK installers declare current-user execution. The ESP32 standard Wi-Fi device remains unavailable; see the release notes and implementation limits.
0.10.7 repairs complete SDK reinstalls and shares verification, backup and failure recovery between Setup and the updater. See the patch notes.
0.10.6 bundles corrected official examples and checks UI, WebSocket and DNS examples after installation, fixing incomplete imported-constant migrations in 0.10.5. See the patch release notes for upgrade and validation details.
0.10.5 adds xu debug source debugging, compiler and standard-library corrections, and LSP diagnostics that preserve document URIs, alongside native installation and standard-library update progress. Migrate constants, including imported constants, to UPPER_SNAKE_CASE; functions, variables and fields remain snake_case. See the release and migration notes.
0.10.2 fixes compiler self-discovery to eliminate ambient environment hijacking; brings native nonblocking socket readiness waiting (epoll / kqueue / IOCP), RFC1951 DEFLATE compression, and ergonomic UI Screen abstractions. See the release notes.
0.10.1 adds styled UI controls and style switching, desktop requests and Thumb-2 register allocation, and fixes cryptography, HTTP intake, regexp work limits, checked JSON conversions and DEFLATE compression. Migration: handle errors from regexp match/find/split/replace calls; synchronize mutable state shared by concurrent HTTP handlers. Draw panning requires explicit opt-in. See the release and migration notes.
0.9.4 completes borrow-checker expression traversal and loop-back-edge liveness, removes the four-type-parameter limit on generic declarations, and adds per-pass MIR verification, MIR dumps, and backend pattern-hit counters. ARM64 loop kernels use SSA matching and loop rotation. See the CLI reference for diagnostic commands.
Migration note: programs that previously compiled because of gaps in borrow checking now receive diagnostics. Separate conflicting borrows, or finish mutable use before taking a shared borrow.
Module dependencies retain transitive resolution, offline/frozen builds, MVS, proxies, and trusted-key checksum verification. Native single-file Setup installers and the WebAssembly playground are available. The API reference is extracted from the matching official SDK and covers 200 standard-library/UI packages, including #xacp, and 47 external packages; these counts follow the generated inventory. The benchmark dashboard records the measured version, date, and six-platform source run for its 102 groups with 121 workload variants.
Remaining work includes public Xu proxy/checksum services, independent witnesses, vanity repository discovery, complete target-platform runtime validation, shared-filesystem locks, and power-loss durability. Existing target emission and API declarations do not replace those checks.
Xu 0.10.5 Release · Xu 0.10.2 Release · Xu 0.10.1 Release · Xu 0.9.4 Release · Xu 0.9.3 Release · Xu 0.8.13 Release · Xu 0.8.12 Release · Xu 0.8.11 · 102 Benchmark Groups / 121 Measured Variants · Xu 0.8.x progress and migration · packages 0.1.1 progress
Dependencies · Packages · UI / WebView · GitHub Releases
Programs currently have a limit of 100 distinct result types. The combined all-driver pool demonstration exceeds this limit with the current transport dependencies; use the individual database or service examples. Curated API snapshots include only examples checked with the selected SDK.