Back to browse
GitHub Repository

Battery info program for x86-64 Linux laptops in 307 bytes of machine code

100 starsAssembly

A (marginally) useful x86-64 ELF executable in 301 bytes

by meribold·Apr 6, 2026·65 points·21 comments

AI Analysis

●●●●GemWizardryCozy

Fits battery monitoring into 301 bytes — pure demoscene craft.

Strengths
  • 301 bytes total including ELF headers — extreme constraint engineering
  • Direct syscalls without libc, hand-written x86-64 assembly
  • Actually functional output, not just a toy that prints hello
Weaknesses
  • Linux-only, x86-64 specific, no practical advantage over normal tools
Category
Target Audience

Low-level programmers, demoscene enthusiasts

Similar To

Sameshi · 1KB demos · sizecoding projects

Similar Projects