1. Actually the first version was finished in three days, but its performance was very poor. After a week of refactoring it barely reached the current performance. The reason it was written so quickly is that most of the code was produced by AI.
2. I think if Ring were also implemented with AI, an initial version could be completed within about a week.
3. The benefit of implementing Lua in Rust is that it enables test-driven development — you can write and test as you go.
4. Compared to C, implementing Lua semantics in Rust is more difficult, and performance is hard to match the C implementation. Modern C implementations are highly optimized; Rust code has many bounds checks, and even using unsafe it is hard to close the gap. On the other hand, Rust allows native use of its ecosystem libraries and can be compiled directly to the wasm-unknown-unknown target, which is an advantage.
5. The previous performance test results were wrong; I have corrected them in the README. The test platform was Windows, built with MSVC using a CMake script I wrote.