I'm Xinyu, a software engineer interested in AI and open-source software.

Articles

  • From 4 Minutes to 6 Tokens a Second

    tiny-llm runs a 1-billion-parameter language model on a MacBook Air’s CPU. It has no GPU, no ML framework, and its tensors are written by hand. It also has a terminal UI that shows, token by token,...

  • Sunsetting OpenNote: A Year of Building a Note App I Didn't Need

    I made the first commit to OpenNote on December 21, 2025. Eleven months, 664 commits, 10 releases and about 76,000 lines of Rust later, I’m sunsetting it.

  • Develop an AI-Based CLI Tool in Rust

    I developed a CLI tool called you — a command-line interface that generates and executes shell scripts from natural language input. This tool addresses a common developer frustration: forgetting te...

  • Develop a Rust Macro for Automating Data Extraction

    Not just procedural macros, but macros in general, has been a difficult topic for me since my first hands-on experience with Rust. I never understood why they needed such complex syntax and abstrac...