~/lightning

Writing Hello World in 0x A Presses

Lightningat Rust Belt Rust 2019 · 2019-10-18..10-19· [rust]
links:none on file
slides:none on file

Claims a Rust binary can print Hello World without ever typing the letter A by using shell tricks and entrypoint hacks, and demonstrates the concrete sequence: use printf C\141 cargo new to insert an a press, avoid main by adding a custom entry point and symbol attributes, run the test harness with no capture and reopen stdout, scrub noise with ANSI escape codes, then exit early so the test runner only shows the cleaned Hello World.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.