logoalt Hacker News

geir_iseneyesterday at 5:16 PM3 repliesview on HN

Less memory footprint. No reliance on libs. Pure first-person control. No wasted CPU cycles is the target here for me. And if you read the post, the asm set is only for the desktop itself. The tools I use are in Rust. Result is: Laptop now runs at between 5-6W (down from ~9W) [XPS14 latest hw] on Ubuntu 26.04 - giving me around 3.5h extra battery life.


Replies

jstanleyyesterday at 6:57 PM

My guess is you're likely to waste more cycles on development time, and on suboptimal algorithms because the implementation is harder, than you would waste on rust-related bloat.

Still a cool project, thanks for sharing.

I have wondered about having LLMs output machine code directly and skipping the compiler/assembler altogether. Then you'd just commit your spec/prompt and run it through the LLM to get your binary.

cultofmetatronyesterday at 5:20 PM

> Less memory footprint. No reliance on libs.

rust can do that. You can run a hyper stripped down rust that was made for embedded devices specifically because those devices don't have room for a runtime.

show 1 reply
globalnodetoday at 3:22 AM

+3.5h extra battery life is a real measurable result! well done.