Get the latest tech news

The smallest ELF executable (2021)


Quick edit: While I work on a proper update, I'll note here that several posters on reddit and hackernews have pointed out ways to bring the total size of the program down to 105 bytes while still printing the full "Hello, world!" Much credit goes to Josh Triplett, who produced the 105-byte version which you can find here. I fully plan to include this in an updated version of the page! Here are the tricks I wasn't aware of when writing the article: Many years ago, I came across this famous article, which I largely credit changing the trajectory of my career.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of ELF

ELF

Related news:

News photo

planckforth: Bootstrapping a Forth interpreter from hand-written tiny ELF binary

News photo

Zig got a new ELF linker and it's fast

News photo

Show HN: ELF Injector