Why not use/contribute to MoonBit [0]?
It already checks boxes listed in the article:
- wasm(-gc) target
- uses gc
- rust type system, without borrow checker difficulties
- formal verification
- ...and has few more like fast compile times, which is a must/underappriciated in agentic development (see below) etc.
As an example I attempted to rewrite MSSQL 3 times:
1. TS based on SQLite [1]
2. Rust based on DuckDB [2]
3. MoonBit [3]
MoonBit version materialized more than order of magnitude faster compared to Rust version, tasks that were taking weeks in Rust took hours in MoonBit (!) – not only that, instead of using multiple build machines including maxed 128 GB RAM Ryzen box eating hundreds of gigabytes of SSD to support Rust worktrees / parallel compilation, MoonBit was run on MacMini M1 with 16GB RAM and limited disk space – still destroying Rust version in terms of development speed going more than 10x faster.
Formal proofs is early stage support, you can see some of it here [4] if you're interested.
If you find it somehow interesting, feel free to have a look at bitSQL repo/website [3] (it's public domain like all my recent projects), especially the final artifact which is a marvel – ~30 MB (!) of hardened container image, drop it replacement for MSSQL container – tiny, performant (wins all benchmarks against MSSQL), passes 25k tests, low resource usage (MBs instead of GBs of RAM needed) – what a beauty. Great for ie. running CI tests on projects using MSSQL.
[0] https://www.moonbitlang.com
[1] https://github.com/mirek/mssqlite
[2] https://github.com/mirek/msduck
[3] https://github.com/mirek/bitsql
[4] https://github.com/mirek/bitsql/blob/main/docs/design/verifi...