星云 (MoonNebula) 是一款原生基于 moonbitlang/async 构建的高性能、强类型的 Actor 并发框架。它借鉴了 Erlang/OTP 和 Rust Actix 的成熟设计哲学,为 MoonBit 开发者提供了一套开箱即用的无锁并发模型。星云允许开发者将状态隔离在独立的 Actor 实体中,通过异步的消息邮箱 (Mailbox) 进行通信。框架内置了生命周期管理和基础的监
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
MoonNebula (星云)
MoonNebula is a high-performance, strongly typed Actor concurrency runtime and ecosystem framework built natively on
moonbitlang/asyncfor the MoonBit ecosystem. It draws inspiration from Erlang/OTP and Rust’s Actix, providing a highly scalable, fault-tolerant, and lock-free programming model.Architecture Overview
Features
OneForOneself-healing strategies.RoundRobinandRandomRouter actors.Quick Start
1. Define an Actor
2. Spawn and Send Messages
Running Tests
Verify the concurrent runtime and all ecosystem components: