Moving MOMENT from Flutter to a Rust core
We are moving MOMENT from Flutter to a Rust core. The documents said “done” and 910 tests passed, but comparing it with the original showed missing features.
MOMENT started in Flutter last June, and a year of work left 950 commits behind. Now we want the product's decisions in one place, in Rust, with each platform's screens built natively in Swift and Kotlin. The point is to stop rebuilding the same rules once per platform.
We also had to decide how much to bring into Rust. Moving everything would make the structure look tidy. But audio has to be processed in real time, so we left it in C++. The goal isn't to unify the languages. It's to have one place where decisions are made. The Flutter app stays only while we move.
Doubting “done”
On May 26 there were 0 lines of Rust. Today there are about 69,000, not counting blank lines, comments or generated code. Most of the Flutter code is still there. The plan documents say everything is finished, and all 910 tests pass.
Yet the audit the day before found that not one of the 18 features matched the original. When we recounted on the day the document was written, 4 were finished and 4 were only partly done. About 9 were still waiting. The documents and the tests weren't lying. We were just looking at the answer to a different question.
A test tells you whether the new code does what the test says. It doesn't tell you whether it matches what people actually used in the original app. A difference we missed while writing the test is a difference the test doesn't know about either. A move should end not at “tests pass” but at “same as the original.”
Written from that day’s point of view, using the documents and change history of the time. Published 2026.12.01.
