XU XUv0.13.1
中文

Blog

Xu 0.10.2

2026-10-24 · Official release

Xu 0.10.2 is officially released! This update completely resolves toolchain path discovery and ambient environment hijacking, brings native nonblocking socket readiness waiting (epoll / kqueue / IOCP) across all major platforms, integrates a compliant RFC 1951 fixed-Huffman DEFLATE compressor, introduces ergonomic high-level UI Screen abstractions, and achieves full three-generation bootstrap fixed-point verification.

Download SDKs and checksums

Toolchain Discovery and Environment Isolation

Previously, global configuration (e.g. ~/.xu/env.sh) could hijack xu env and internal standard library resolution in standalone local checkouts or workspace builds. Xu 0.10.2 refactors path discovery:

Native Socket Readiness (epoll / kqueue / IOCP)

At the runtime and system call layer, 0.10.2 introduces native nonblocking socket readiness waiting (sys_socket_wait and os.socket_wait):

RFC 1951 DEFLATE Compression

The standard library compress/flate now includes a fully compliant bounded LZ77 and fixed-Huffman DEFLATE compressor:

UI Screen Abstractions and Widget Expansion

Desktop UI gains an ergonomic Screen abstraction, eliminating boilerplate in view setup, event loops, and state management. The styled widget suite now includes Breadcrumbs, ColorPicker, ComboBox, DatePicker, TimePicker, MultiSelect, Pagination, Spinner, Table, Toast, Tooltip, and TreeView, alongside hardened map value struct slot layout calculation.

ARM32 / Thumb-2 Code Generation

Thumb-2 incorporates virtual register allocation, compact 16-bit T16 narrow encodings, and branch relaxation, boosting code density and execution efficiency on 32-bit ARM and embedded environments.

Verification and Bootstrap Convergence

The compiler has completed a full 3-generation self-bootstrap (Gen1 → Gen2 → Gen3) achieving bit-for-bit convergence (fixed point confirmed (Gen2 == Gen3)). All 8 companion tools (xu-doctor, xu-fmt, xu-map, xu-doc, xu-desktop, xu-setup, xu-lsp, xu-native) and 8 cross-compilation targets pass comprehensive contract verification.