Sign in

MoonBit

@moonbitlang.bsky.social
135 followers 2 following 91 posts

MoonBit, a Cloud & AI native programming language and toolchain.

PostsRepliesMedia
MoonBit @moonbitlang.bsky.social · 13/03/2026
MoonBit Meetup #12 — MoonBit v0.8.3 Release 📅 Mar 19 (Thu) · 10:00 AM London / 6:00 PM Beijing 💻 Mark calendar:https://calendar.app.google/i62szdp1m6Y3nqA96 • A quick tour of what’s new in v0.8.3, from language ergonomics to tooling and CLI development
013
MoonBit @moonbitlang.bsky.social · 13/03/2026
QuickCheck Tutorial Part 3 is out! This final part looks at what happens after a property fails — how QuickCheck shrinks a failing sample, and how to tell whether the final counterexample actually explains the bug. Read it here: www.moonbitlang.com/pearls/quick...
moonbitlang.com
QuickCheck Tutorial Part 3 | MoonBit
QuickCheck tutorial part 3: shrinking, failure analysis, and SmallCheck in MoonBit
001
MoonBit @moonbitlang.bsky.social · 06/03/2026
Part 2 of our QuickCheck tutorial is out. This time we look at one of the hardest parts of property-based testing: constrained random generation — when valid inputs are rare and simple generators stop working. Full Write-up: moonbitlang.com/pearls/quick...
moonbitlang.com
001
MoonBit @moonbitlang.bsky.social · 06/03/2026
Most GC'd languages (Python, JS) make FFI painful. MoonBit doesn't. With lifetime annotations (`#borrow`/`#owned`), MoonBit interops cleanly with almost any C memory pattern — making it surprisingly easy to bind to system APIs, native libraries, game engines, you name it. Even stackful coroutines:
011
MoonBit @moonbitlang.bsky.social · 05/03/2026
Really like MoonBit’s is expression. Destructuring + guards in one line, reducing boundary checks without unsafe operations
000
MoonBit @moonbitlang.bsky.social · 04/03/2026
AI refactors better with guidance. `moon ide analyze` shows real API usage, so agents can tighten internal package APIs instead of guessing. Less AI slop, cleaner boundaries, better MoonBit code. ⚠️This is available on MoonBit nightly for now, and will be in the next stable
001
MoonBit @moonbitlang.bsky.social · 12/02/2026
QuickCheck Tutorial Part 1 is live 🧪 We’re starting a series on property-based testing in MoonBit. New to QuickCheck? This is a good place to begin 🙂 Read: moonbitlang.com/pearls/quick... 📍 Live demo & chat today :http://meet.google.com/ibx-rsuq-mmt(10am London/6pm Beijing)
moonbitlang.com
000
MoonBit @moonbitlang.bsky.social · 12/02/2026
Is LLM ready for large scale software engineering? OpenAI Codex5.3 vs AnthropicAI Opus4.6 — which is better and how about the open weights model? How good LLM can adapt to new programming languages like @moonbitlang checkout swe-agi.com for our latest research 📊
swe-agi.com
SWE-AGI Leaderboard
000
MoonBit @moonbitlang.bsky.social · 11/02/2026
MoonBit 0.8.0 has landed 🎉 ✅Backtrace support across WasmGC, LLVM, and Native backends — much better debugging experience for large codebases ✅AI-native specification support with declare keyword, separating specs from implementations for agent-assisted workflows www.moonbitlang.com/blog/moonbit...
moonbitlang.com
MoonBit 0.8.0 Released | MoonBit
MoonBit 0.8.0 marks a major step toward production-ready development with upgrades across language semantics, tooling, and AI-native workflows.
011
MoonBit @moonbitlang.bsky.social · 10/02/2026
See You This Thursday-Online Meetup#11 We’re about to ship MoonBit v0.8, and we’d love to walk you through what changed, why we made those choices, and what’s coming next! 💻 Google Meet: meet.google.com/ibx-rsuq-mmt 🎥 Live on YouTube (simulcast)
001
MoonBit @moonbitlang.bsky.social · 09/02/2026
We recently completed Fastcc — a self-hosting C compiler with minimal human involvement. In ~10 days, an AI agent implemented ~35k LOC, reached self-hosting, and compiled real-world C code, including Sqlite, QuickJS and Tcc Full article:www.moonbitlang.com/blog/fastcc-ai-driven-development
moonbitlang.com
Building a C Compiler from Scratch with AI-Driven Development | MoonBit
How Fastcc, a self-hosting ARM64 C compiler, was built from scratch in 10 days with largely autonomous AI-driven development.
001
MoonBit @moonbitlang.bsky.social · 04/02/2026
MoonBit v0.8 Release Online Meetup — Join us Next Thursday! 📅 Feb 12 (Thu) · 10:00 AM London / 6:00 PM Beijing 💻 Mark your calender calendar.app.google/qr5D85x4kFSpviJ58 🎥 Live on Google Meet and YouTube (simulcast) ✨ MoonBit v0.8 Release Highlights 🛠 Language & toolchain updates
calendar.app.google
MoonBit Community
Online Meetup #11 — Invitation via Google Calendar
011
MoonBit @moonbitlang.bsky.social · 28/01/2026
Why do two people edit the same doc at once… and sometimes end up with different results? We breaks down concurrent conflicts, compares OT vs CRDT, and shows how RGA/Event Graph-Walker make everyone converge to the same final state — even after reconnection. www.moonbitlang.com/blog/crdt-al...
moonbitlang.com
Implementing CRDT Algorithms with MoonBit and Building Real-time Collaborative Applications | MoonBit
A deep dive into OT, RGA, and EG-Walker CRDTs with MoonBit implementations and a Lomo-based collaborative editor demo.
011
MoonBit @moonbitlang.bsky.social · 22/01/2026
Community spotlight: Agentic Adventures of MoonBit (AAoM) AAoM-03: A WHATWG HTML5 Parser, Driven by Tests, documents building a WHATWG-compliant HTML5 parser in MoonBit, using agentic workflow to grind failures down to zero. dev.to/milky2018/aaom-03-a-whatwg-html5-parser-driven-by-tests-40o7
dev.to
AAoM-03: A WHATWG HTML5 Parser, Driven by Tests
December 2025 This post covers aaom-html: a WHATWG HTML5 parser implemented in MoonBit. As with the...
000
MoonBit @moonbitlang.bsky.social · 15/01/2026
👏Uncover the underlying logic that enables compilers to "foresee" potential risks before your code even runs. This guide explores the elegance of static analysis and demonstrates how to build a mature MCIL framework using MoonBit. www.moonbitlang.com/blog/moonbit...
moonbitlang.com
Static Analysis with MoonBit: From Simple Language Analysis to MCIL | MoonBit
Build a static analyzer in MoonBit, from AST to CFG and data-flow analysis, ending with MCIL.
001
MoonBit @moonbitlang.bsky.social · 15/01/2026
Community spotlight: Agentic Adventures of MoonBit (AAoM) by @M_Wildwhisky AAoM-02 : building an XML parser in MoonBit with the W3C Conformance Test Suite, exploring the use of Claude Code Skills in MoonBit . Full write-up: dev.to/milky2018/aaom-02-xml-parser-with-w3c-conformance-5a2f
001
MoonBit @moonbitlang.bsky.social · 14/01/2026
MoonBit Monthly Update Vol.07 is out! New language features, toolchain improvements, and stdlib updates just landed — from loop reasoning to experimental package support. 🔗Full update: moonbitlang.com/weekly-updat... 📅 This Saturday, join our online meetup to see these features live
001
MoonBit @moonbitlang.bsky.social · 09/01/2026
MoonBit Community Online Meetup #10 🗓 Jan 17 (Sat), 6:00 PM Beijing / 10:00 AM London 📍 Mark your calendar: calendar.app.google/TPGyJxGsCaVU... Next weekend, we’ll focus on our Monthly Meetup highlights: 🔮 Community & Tooling Updates and MoonBit 2026 Outlook 🤖 Using Codex with MoonBit to Scale Up
000
MoonBit @moonbitlang.bsky.social · 09/01/2026
Community spotlight:Agentic Adventures of MoonBit (AAoM) by @M_Wildwhisky AAoM-01: A Pug Template Engine, documents the process of building a complete Pug engine in MoonBit,using an agentic workflow with Claude Code (Opus 4.5). Fullwrite-up:https://dev.to/milky2018/aaom-01-pug-template-engine-11ka
dev.to
AAoM-01: Pug Template Engine
December 2025 Let's kick off the Agentic Adventures of MoonBit series with a complete Pug template...
001
MoonBit @moonbitlang.bsky.social · 30/12/2025
We’re building two open-source WebAssembly runtimes in MoonBit, focused on portable, secure, and consistent wasm execution across platforms. 🧩 wasm5 — a lightweight interpreter with strong sandboxing ⚡ wasmoon — a JIT runtime (aarch64) 📖 Full write-up: www.moonbitlang.com/blog/moonbit-wasm-runtime
moonbitlang.com
Open Source WebAssembly Runtimes Built in MoonBit | MoonBit
Open Source WebAssembly Runtimes Built in MoonBit
053
MoonBit @moonbitlang.bsky.social · 19/12/2025
Join us for a MoonBit online meetup 🚀 DEC 20(sat) 10:00am London time We’ll share where MoonBit is today, what’s on the roadmap, and do a live coding session showing how AI can help build a MoonBit library from scratch. calendar.app.google/J1Dunq3PduWV... See you there 👋
011
MoonBit @moonbitlang.bsky.social · 03/12/2025
MoonBit Monthly Update Vol.6 This month we’ve added JS-module FFI, improved lexmatch and warnings, enhanced ReadOnlyArray, and expanded bitstring pattern matching with signed integers! 📷Check out the highlights below or read our blog: www.moonbitlang.com/weekly-updates/
001
MoonBit @moonbitlang.bsky.social · 07/11/2025
Learn step-by-step how to build a secure AI tool with MoonBit and Wassette, powered by the WebAssembly Component Model. Read more:https://www.moonbitlang.com/pearls/moonbit-wassette
021
MoonBit @moonbitlang.bsky.social · 04/11/2025
🌕 MoonBit Monthly Update Vol.5 This month, we update alias syntax, new built-ins like ReadOnlyArray and Iterator, and smarter linting and IDE tools. 👉Check out the highlights below or read our blog:www.moonbitlang.com/weekly-updates/
001
MoonBit @moonbitlang.bsky.social · 14/10/2025
We’ve rolled out some exciting language updates this month! ✨ Read more:www.moonbitlang.com/weekly-updates/2025/10/14/index 💬 Join our upcoming online meetup to see how these features enable building real AI Agents with MoonBit — details dropping soon!
011
MoonBit @moonbitlang.bsky.social · 11/10/2025
Learn how to install and configure the Wasm version of the MoonBit toolchain ——on any Node.js-supported environment ! www.moonbitlang.com/blog/moonbit... join us in discord:http://discord.gg/mNf8NG73Te
moonbitlang.com
Install the Wasm version of the MoonBit toolchain | MoonBit
Install the Wasm version of the MoonBit toolchain
001
MoonBit @moonbitlang.bsky.social · 29/09/2025
MoonBit now ships async programming support! Powered by structured concurrency → safer & more reliable async. Yes, you can now build your own AI agents、Cloud services with MoonBit ! Check details:www.moonbitlang.com/blog/moonbit-async Repo:https://github.com/moonbitlang/async
011
MoonBit @moonbitlang.bsky.social · 24/09/2025
Mini-adapton: incremental computation in MoonBit In this article, we will show how to implement an incremental computation library in MoonBit with api used: www.moonbitlang.com/pearls/mini-...
001
MoonBit @moonbitlang.bsky.social · 16/09/2025
We’ve just open-sourced our async networking framework! 🚀 It’s already stable enough to build web services with MoonBit. An article with more details will be coming later this month—stay tuned!
001
MoonBit @moonbitlang.bsky.social · 08/09/2025
🚀 MoonBit Monthly Update Vol.03 is here! Highlight of the month: Bitstring Pattern Matching ✨ Now you can match specific-width bits directly when pattern matching on Bytes or @bytes.View.Full update 👉 www.moonbitlang.com/weekly-updates/2025/09/08/index
001
MoonBit @moonbitlang.bsky.social · 03/09/2025
Want to use C libraries in MoonBit? Now you can😆 With C-FFI, MoonBit can call native C functions — from low-level hardware ops to high-performance math. A step-by-step guide to MoonBit’s C-FFI www.moonbitlang.com/pearls/moonb...
moonbitlang.com
A Guide to MoonBit C-FFI | MoonBit
A Guide to MoonBit C-FFI
042
MoonBit @moonbitlang.bsky.social · 28/08/2025
🚀 MoonBit Pearls Series continues! Last time we built the frontend of TinyMoonbit with parsing & type checking. 👉 Now we dive into the backend: turning AST → LLVM IR → RISC-V assembly with MoonBit’s llvm.mbt. 🔗 Read here :www.moonbitlang.com/pearls/moonbit-and-llvm-2
moonbitlang.com
Dancing with LLVM: A Moonbit Chronicle (Part 2) - LLVM Backend Generation | MoonBit
Dancing with LLVM: A Moonbit Chronicle (Part 2) - LLVM Backend Generation
001
MoonBit @moonbitlang.bsky.social · 20/08/2025
🚀 Introducing MoonBit Pilot — the AI-native code agent built into the MoonBit toolchain. From language design to compiler, debugger, and package management, The toolchain offer Moonbit Pilot real-time feedback and guidance at every step. www.moonbitlang.com/blog/intro-m...
moonbitlang.com
Introducing MoonBit Pilot: The Code Agent dedicated to the MoonBit toolchain | MoonBit
Introducing MoonBit Pilot: The Code Agent dedicated to the MoonBit toolchain
011
MoonBit @moonbitlang.bsky.social · 20/08/2025
🚀 New MoonBit Pearls Series Programming language design and compiler implementation are often seen as the toughest challenges in CS. But with Moonbit, a functional language built for the AI era, we’re rethinking the journey. In this series, we’ll build a small compiler — TinyMoonbit — step by step:
moonbitlang.com
Dancing with LLVM: A Moonbit Chronicle (Part 1) - Implementing the Frontend | MoonBit
Dancing with LLVM: A Moonbit Chronicle (Part 1) - Implementing the Frontend
001
MoonBit @moonbitlang.bsky.social · 11/08/2025
MoonBit Monthly vol. 2 is here! 🚀 Check out the latest updates in MoonBit this month, from new language features to improved tooling. 🥳 Full updates: moonbitlang.com/weekly-updat...
001
MoonBit @moonbitlang.bsky.social · 30/07/2025
🎉 The next MoonBit Community Meetup is coming this Saturday(8.2)! 🌙 Join us for a global conversation with MoonBit creator @bobzhang1988 🧭 Topic: What’s next after the MoonBit Beta — and a preview of 1.0! 📅 Add to calendar: calendar.app.google/mydS9eD9QqF5...
001
MoonBit @moonbitlang.bsky.social · 25/07/2025
MoonBit is heading toward 1.0 in 2026 — but what makes it different from any other new language? 👀 Find out:https://www.moonbitlang.com/blog/roadmap/
moonbitlang.com
MoonBit Programming Language 1.0 Roadmap Preview | MoonBit
MoonBit Programming Language 1.0 Roadmap Preview
042
MoonBit @moonbitlang.bsky.social · 15/07/2025
MoonBit Monthly vol. 1 is out!🚀 See what’s new in MoonBit after our Beta release. 🥳 Full Updates:https://moonbitlang.com/weekly-updates/2025/07/15/index
011
MoonBit @moonbitlang.bsky.social · 03/07/2025
The moonbit compiler can be embedded in other host like Rust using wasm, check out for more details www.moonbitlang.com/blog/moonbit...
moonbitlang.com
Running WebAssembly-based MoonBit compiler using rusty_v8 | MoonBit
Running WebAssembly-based MoonBit compiler using `rusty_v8`
011
MoonBit @moonbitlang.bsky.social · 19/06/2025
🚀MoonBit Beta is here! After 2 years of fast iteration, MoonBit enters its stable phase with regard to language syntax! ✨Built-in async 🛠Fast tooling and IDE-aware error handling www.moonbitlang.com/blog/beta-re...
moonbitlang.com
Announcing MoonBit Beta | MoonBit
Announcing MoonBit Beta
032
MoonBit @moonbitlang.bsky.social · 16/06/2025
🌕 MoonBit Update Vol.74 - Error Function Syntax Updated to `raise` - Error Type Declaration Syntax Changed - New Arrow Function Syntax `(..) => expr` 🌟 Full update: moonbitlang.com/weekly-updat... Beta lands soon — stay tuned.🤩
001
MoonBit @moonbitlang.bsky.social · 11/06/2025
🚀 Markdown-Oriented Programming is live — and here’s our first featured .mbt.md article: Build a Pratt Parser in MoonBit 📘Code + docs + runnable demo in one file. 👉 moonbitlang.com/pearls/
moonbitlang.com
Blog | MoonBit
MoonBit Pearls
001
MoonBit @moonbitlang.bsky.social · 03/06/2025
🟣 MoonBit Update Vol.73 Highlight: – Trait impl via method removed - try? f(..) replaces f?(..) - fn f[..] → fn[..] f (consistent with impl) – Method-as-function deprecated – Error polymorphism is here! - .mbt.md now supports external deps 🔗 moonbitlang.com/weekly-updat... 📦 aka.moonbitlang.com/vsbs
000
MoonBit @moonbitlang.bsky.social · 23/05/2025
MoonBit enables seamless Integration with Python — Built for AI and Large Systems! ⚙ Seamless integration via pyimport 🚀Static analysis + IDE support 💥 Built for AI and large systems 🔗 www.moonbitlang.com/blog/moonbit... #MoonBitLang #PythonInterop #AIProgramming
moonbitlang.com
MoonBit Programming Language: Born for AI and Large Systems, Seamlessly Integrating Python | MoonBit
MoonBit Programming Language: Born for AI and Large Systems, Seamlessly Integrating Python
011
MoonBit @moonbitlang.bsky.social · 06/05/2025
🌕 MoonBit Update Vol.71 - Explicit Trait implementation required - Underscore (`_`) as placeholder in anonymous functions - `fnalias`: function aliases for Types and Traits - New `moon bench` command for benchmarking 🌟 www.moonbitlang.com/weekly-updat... ⬇️ aka.moonbitlang.com/vsbs
021
MoonBit @moonbitlang.bsky.social · 21/04/2025
🌕 MoonBit Update Vol.70 - Async function call syntax changed to `f!(...)` - Operator overloading migration to traits - New `= _` syntax for traits - Implicit conversion from `String` to `@string.View` 🌟 Full update: www.moonbitlang.com/weekly-updat... ⬇️ Download: aka.moonbitlang.com/vsx
001
MoonBit @moonbitlang.bsky.social · 16/04/2025
🚀 Introducing Rabbit-TEA — a lightweight UI framework built 100% with MoonBit. 🧑‍💻 Powered by MoonBit’s expressive pattern matching and dead code elimination optimization, Rabbit-TEA achieves exceptional speed and minimal code size. www.moonbitlang.com/blog/rabbit-...
moonbitlang.com
Introduce The Elm Architecture to MoonBit: build robust web app with simple principles | MoonBit
Introduce The Elm Architecture to MoonBit: build robust web app with simple principles
022
MoonBit @moonbitlang.bsky.social · 11/04/2025
🗨️ How should MoonBit handle effect polymorphism (allow one single higher order function to work over callback with/without error or async)? 1. Error + Async 2. Error only 3. No polymorphism, dup code 4. Hybrid/Other solution ⬇️Download: aka.moonbitlang.com/vsx 👥Community: discord.gg/5d46MfXkfZ
aka.moonbitlang.com
MoonBit Language - Visual Studio Marketplace
Extension for Visual Studio Code - MoonBit Language Support
021
MoonBit @moonbitlang.bsky.social · 07/04/2025
🌕 MoonBit Update Vol.69 - Wasm: `extern type T` now storable in arrays and data structures - C FFI supports `borrow` - `type` & `trait` support the `#deprecated` attribute - Testing and debugging supports for `.mbt.md` 🌟 www.moonbitlang.com/weekly-updat... ⬇️ Download: aka.moonbitlang.com/vsx
001
MoonBit @moonbitlang.bsky.social · 03/04/2025
Markdown files with a `*.mbt.md` suffix now support MoonBit LSP, bringing a next-gen doc writing experience—complete with language services🛠️ and test integration✅ right inside markdown code blocks. #MoonBitTips ⬇️Download: aka.moonbitlang.com/vsbs
002