Source on Codeberg (opens in a new tab)

kern 1.1.0

Editions, package management, Go-parity stdlib breadth

The first feature release on the 1.0 line2,073 tests432 stdlib modules

Release notes

Editions

Edition "2027" promotes two warnings to errors (W0005 container read-modify-write to E0309, W0003 SSRF-bypassable string comparison to E0332), proving the mechanism handles multiple semantic changes per edition; the default edition stays backward-compatible; --edition= or KERN_EDITION selects; an unknown edition is refused.

Package management

kern mod / kern get delegate to the native kern-pkg-port manager (built once to a cached binary, exec'd, never linked into the compiler). Deterministic resolution by Go's Minimal Version Selection; kern.sum (h1:<sha256-hex>, trust-on-first-use then immutable) enforced on top of kern.lock and the Ed25519 kern.trust signature path.

Compiled-regex handle API

compile / is_match_compiled / find*_compiled / replace*_compiled over a 256-slot handle table (compile once, match many), plus batch ops.

Stdlib breadth

std.flag, std.csv, std.tabwriter, std.base32, std.glob, std.mime, std.strconv, std.template (with conditionals), std.xml (structured tree), std.crc, std.mail; std.time gained fixed-offset time zones, RFC 3339 parse, Duration and a drift-compensating Ticker.

M:N scheduler

Cooperative scheduler with per-coroutine preemption, coroutine-aware HTTP context, and in-process zstd OCI layer read with a no-subprocess-escape invariant (SEAL-4 Step 2).

file_io restored to Go parity

Capability-confined filesystem resolution now caches the confined-root fd with per-call revalidation (2.68x slower to 0.94x).

v1.0.0 compat corpus

12 frozen programs exercising core 1.0.0 features.

By the numbers

2,073 tests (1,521 conformance + 85 compat + 467 negative). 432 stdlib modules (309 core + 123 in 10 bundled packages), 4,846 public functions. 59K-line self-hosted compiler (LLVM + native ARM64), 67K-line C runtime (42,207-line audited TCB).