https://sekiban.connpass.com/event/380134/
イベントソーシング・CQRS勉強会 #5
2026/02/13(金) 12:00 〜 13:00
タイトル: Sekibanのコアを5言語で動かす ― イベントソーシング×WASMでやってみた
概要:
イベントソーシングのコアな機能は関数とシンプルなデータ型で定義できます。であれば、ドメイン部分をWASMにすることで、利用者はC#を知らなくても自分の得意な言語で開発し、インフラはMicrosoft Orleans + C#に任せられるのでは?この発想のもと、Rust、Go、TypeScript、MoonBitで実装してみた経緯についてお話しします。
## 日本語要約
イベントソーシングフレームワークSekibanはC#製のため他言語開発者への訴求が弱いという課題がありました。そこでドメインロジックをWASM化し、インフラはOrleans+C#に任せつつ、開発者は好きな言語でコアコードを書けるアーキテクチャを構築。AIコーディング(Codex・Claude)を活用してwasmtime-dotnetをWASI 0.2対応に拡張し、C#・Rust・Go・TypeScript・MoonBitの5言語でドメインを1サーバー上で動かすことに成功しました。将来的にはマネージドなイベントソーシングサービスとしての展開も目指しています。
## English Summary
Sekiban, an event sourcing framework built in C#, faced limited appeal to developers outside the C# ecosystem. To address this, we adopted WASM to decouple domain logic from infrastructure — letting developers write core event sourcing code in their preferred language while Orleans + C# handles the infrastructure. Using AI coding tools (Codex and Claude), we extended wasmtime-dotnet to support WASI 0.2, and successfully ran domain logic written in C#, Rust, Go, TypeScript, and MoonBit on a single server. We also plan to offer a managed event sourcing service powered by this architecture in the future.