Skip to content

Releases

Wings VM 0.0.3 — Managed AOT Microprocess Runtime & Bilingual Docs

Choose a tag to compare

@wsafight wsafight released this 22 Nov 05:50
b206718

Overview

0.0.3 upgrades all 10 Wings workspace crates from the 0.0.2 scalar AOT prototype to the end-to-end managed AOT microprocess runtime, wings-lang v2 frontend, multi-actor RPC server, and bilingual documentation & website (site/).

Early-Stage Notice (0.0.x): Wings provides zero backward-compatibility guarantees across 0.0.x releases. Syntax, ABI layouts, artifact manifests, CLI flags, and Rust APIs evolve directly without legacy shims.

Highlights

  • Language & Tooling (wings-source, wings-syntax, wings-sema, wings-lsp): actor, struct, multi-field state, scalars / [int] / bytes / str, nullable pid?<Actor>, spawn, ! / .tell, non-blocking .ask(..., timeout, then), send_after, monitor, bounded direct/mutual recursion, and single-file wings-lsp.
  • Managed AOT Compiler (wings-abi, wings-ir, wings-artifact, wings-codegen, wings-compile): Precise CFG GC reference root liveness, superblock & call-site safepoints, single-module build, and multi-actor build-app bundles.
  • Microprocess Runtime (wings-vm): O(1) slot + generation capability addressing, pooled 256 KiB coroutine stacks (zero idle native stack), per-process chunked precise mark-sweep GC, lock-free fast mailboxes, multi-worker preemptive Scheduler, synchronous termination quota refunds across Process -> Tenant -> VM, and wings-vm serve (stdio / --tcp / --http JSON-RPC).
  • Bilingual Docs & Astro Website: English default (README.md, docs/*.md, /) and Simplified Chinese (README.zh-CN.md, docs/zh/*.md, /zh/).

Installation

cargo install wings-compile wings-vm wings-lsp --version 0.0.3 --locked

Published Crates (0.0.3)

  1. wings-source
  2. wings-syntax
  3. wings-sema
  4. wings-abi
  5. wings-ir
  6. wings-artifact
  7. wings-codegen
  8. wings-compile
  9. wings-lsp
  10. wings-vm

Open Formal MVP Gates

  • Hot-queue open-loop service p99 remains higher than same-host BEAM, and simultaneous throughput + whole-machine-memory sign-off under Linux cgroup v2 hard CPU quotas is still pending.
  • Native dlopen loader metadata and global allocator fragmentation are not yet closed inside the three-level ledger.

Wings VM 0.0.2 — 可信标量 AOT 预览

Choose a tag to compare

@wsafight wsafight released this 11 Nov 20:06
58dc907

发布范围

全部十个已有实现的 crate 已发布到 crates.io,版本统一为 0.0.2,许可证为 Apache-2.0:

wings-source、wings-syntax、wings-sema、wings-abi、wings-ir、wings-artifact、wings-codegen、wings-compile、wings-lsp、wings-vm。

  • wings-compile build:将当前支持的直线标量 handler 通过 Cranelift AOT 构建为本机产物。
  • wings-vm run --trusted:装载可信本机产物,以 JSON 行驱动 Counter 等标量状态调用。
  • 保留前端检查与 stdio LSP;未发布 wings 或 wings-lang 聚合包。

安装

需要 Rust 1.85 或更新版本;AOT 构建还需要系统 C 工具链。未提供预构建二进制。

CARGO_REGISTRIES_CRATES_IO_INDEX=sparse+https://index.crates.io/ cargo install wings-compile wings-vm wings-lsp --version 0.0.2 --locked --registry crates-io

示例路径相对于源码仓库,输出目录须不存在:

wings-compile check examples/counter.wings
wings-compile build examples/counter.wings -o target/installed-counter-aot
wings-vm run --trusted target/installed-counter-aot < examples/counter.messages.jsonl
wings-lsp --help

验证与边界

归档源码为 PR #1 合并提交 58dc9073ae17162375de0b666764170a19938750。每个包均经过 dry-run、归档许可证与依赖检查、独立构建和实际上传;crates.io API 已核对版本、所有者 wsafight、许可证、依赖及未撤回状态。

发布 PR CI 与 合并后 CI 均通过 macOS AArch64、Linux x86-64 原生执行与 Rust 1.85 构建。端到端脚本覆盖 Counter、Bool/Unit、溢出、除零、输入和产物拒绝;当前 cargo test 无 Rust 测试用例。

这是 M0 可信标量原型,不是安全沙箱或完整微进程 VM。尚无 safepoint、抢占、GC、mailbox、资源计费或 BEAM 性能/内存结果。

此版本之后专注功能开发,暂不安排新版本;main 继续要求 PR 与 CI,PR 不自动触发发布。

Wings VM 0.0.1 — M0 前端预览

Pre-release

Choose a tag to compare

@wsafight wsafight released this 11 Nov 18:39

已交付

  • wings-source:源码位置与诊断基础。
  • wings-syntax:词法分析、保留原文的 token 流与容错解析。
  • wings-sema:局部名称与类型检查。
  • wings-compile:check 静态检查命令。
  • wings-lsp:stdio LSP,支持 UTF-16 位置、整文档同步、诊断、局部跳转、悬停与基础补全。

五个包均已在 crates.io 发布 0.0.1,采用 Apache-2.0 许可证。不包含空壳 VM 或同名聚合包。

安装

CARGO_REGISTRIES_CRATES_IO_INDEX=sparse+https://index.crates.io/ cargo install wings-compile wings-lsp --version 0.0.1 --locked --registry crates-io
wings-compile check examples/counter.wings
wings-lsp --help

示例路径相对于本仓库。

验证与边界

macOS AArch64 上通过 workspace check、Clippy、格式检查、示例静态检查及 LSP 协议冒烟检查。另从 crates.io 实际安装并验证两个命令。cargo test 执行成功,但当前没有自动化测试用例。

这是 M0 前端预览,不承诺稳定 API。尚无 AOT 代码生成、产物装载或 VM 执行;Linux 运行验证、BEAM 性能与内存对照尚未完成。不提供预构建二进制。

发布包源码提交:247cf72ad24f78d7451955a90acdaf359361900e。