XU XUv0.8.8
中文

Docs / Language

Standard library and package boundaries

The language kernel retains operations coupled to the compiler, including println, args, read_file, and xu_target_os. Public standard-library sources live in src/, without a std prefix: #fmt, #net/http, #crypto/sm2, #ui/webview.

The library now includes stream I/O and explicit read/write progress contracts, process pipes, HTTP/2, network pools, timer/rate utilities, and SQL pooling and transaction interfaces. Generated API pages list the actual public declarations; API presence does not imply identical support on every target.

Concrete service drivers live in the separate packages module. Import MySQL as mysql #github.com/xulang-org/packages/mysql, with its root module in require:. database/sql remains in the standard library. SQLite uses a native C bridge.

The language does not expose unsafe, reflect, arbitrary runtime pointers, or arbitrary syscall addresses. SM2/SM3/SM4/SM9/ZUC/GMTLS packages are implemented in Xu; this does not imply commercial-cryptography certification.

Current API catalog and counts · External packages