All 4,799 reports

YesClaude, Gemini · 8 Sep 2025

I was able to port a legacy thermal printer user mode driver from legacy convoluted JS to pure modern Typescript in two to three days at the end of which printer did work

wg0 on Hacker News

two to three days

In the thread “Using Claude Code to modernize a 25-year-old kernel driver”

Helped: Decent understanding of both languages and legacy patterns.

I have used Gemeni and OpenAI models too but at this point - Sonnet is next level undisputed King. I was able to port a legacy thermal printer user mode driver from legacy convoluted JS to pure modern Typescript in two to three days at the end of which printer did work. Same caveats apply - I have decent understanding of both languages specifically various legacy JavaScript patterns for modularity to emulate other language features that don't exist in JavaScript such as classes etc.