January 26, 2026
Say Yes to Rust, pray for laptop
Porting 100k lines from TypeScript to Rust using Claude Code in a month
Solo dev mashes Enter to make AI rewrite his code — and the crowd goes wild
TLDR: A developer used Claude Code to port 100k lines from JavaScript to Rust, Mac auto-pressing “Enter” to keep it going. Commenters split between applauding the hustle and worrying about safety and cost, debating context limits, $200/month bills, and AI dreams of fixing Python’s thread lock.
An indie tinkerer claims he ported 100k lines from JavaScript to Rust in a month using Claude Code — and a whole lot of creative chaos. Highlights: a homegrown web server to “git push,” Docker to dodge antivirus popups, and an AppleScript that literally presses Enter every few seconds so the AI keeps working. Add an auto-clicker to swat away annoying popups, and you’ve basically got a laptop babysitter. The result? A fast Pokémon battle brain and a comment section melting down over ingenuity vs. insanity.
The strongest reactions split into three camps: hype beasts cheering the hustle, security folks clutching pearls over “escaping sandboxes,” and accountants asking, “But how much does this cost?” One user deadpanned that you could just use the yes command, sparking a meme wave of “press F for Yes.” Another demanded receipts on the $200/month Claude plan, while dreamers wanted AI to port all of Python to a version without the GIL (the “global interpreter lock” that slows multi-threading). Practical voices pitched Oh My Opencode as a better continuous runner. A technical skeptic asked if Claude kept “recapping” because of context limits (LLM = large language model). And the line “I’ve never interacted with Rust in my life” had pros raising eyebrows while hobbyists shouted, “Ship it!”
Key Points
- •The author used Claude Code to port the Pokémon Showdown engine from JavaScript to Rust to enable faster AI training loops.
- •Sandbox restrictions blocked SSH-based git pushes, so a local Node.js HTTP server was built to execute git commands and enable GitHub publishing.
- •Antivirus prompts for new binaries were avoided by compiling and running Rust code inside Docker containers.
- •Unattended operation was achieved with AppleScript to auto-approve prompts (Enter) and paste queued tasks (Cmd+V) when the model paused.
- •A MurGaa Auto Clicker maintained terminal focus during modal pop-ups and prevented the system from sleeping, supporting long continuous runs.