Remix.run Logo
geir_isene 4 hours ago

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.

jstanley 2 hours ago | parent | next [-]

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.

cultofmetatron 4 hours ago | parent | prev [-]

> 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.

geir_isene 4 hours ago | parent [-]

I'm sure I can. The original challenge was more in line of "I wonder if CC can do this now?"

And it apparently can. And very well.

One advantage seems to be that the complete asm file fits easily into CC context window.

cultofmetatron 2 hours ago | parent [-]

> The original challenge was more in line of "I wonder if CC can do this now?"

well, I can respect that for sure