13202 shaares
347 private links
347 private links
The rewrite use FFI instead of a NodeJS subprocess. The rewrite occured component by component compared to Bun.
The agents used most of their time for reading and searching. It costs 120 000$ in tokens.
The rust version takes 55.3ms to create run on turn and dispose a client session; memory peak usage went from 1 383MB to 126 MB.
(from Let's get Rusty - AI loves rewriting codebases to Rust