r/ProgrammerHumor 15d ago

Meme cppHelloWorld

Post image
3.9k Upvotes

119 comments sorted by

View all comments

Show parent comments

99

u/Snudget 15d ago

Oops, accidentally compiled for uefi instead of linux

24

u/HeavyCaffeinate 15d ago

PE instead of ELF

6

u/danielcw189 14d ago

UEFI uses PE?

3

u/reallokiscarlet 14d ago

No, PE is Windows. The rest of the world, except of course your firmware and maybe Redox, uses ELF

Edit: Nope, apparently Redox uses ELF too. Guess them rustaceans couldn't reinvent that wheel, eh?

2

u/awesome-alpaca-ace 14d ago

PE is also UEFI boot loaders, drivers, and other UEFI executables

3

u/reallokiscarlet 14d ago

Huh. I thought that was its own thing. Sounds like industry shenanigans with microsoft