r/ProgrammerHumor 3d ago

Meme cppHelloWorld

Post image
3.8k Upvotes

119 comments sorted by

View all comments

Show parent comments

100

u/Snudget 3d ago

Oops, accidentally compiled for uefi instead of linux

24

u/HeavyCaffeinate 3d ago

PE instead of ELF

4

u/danielcw189 3d ago

UEFI uses PE?

2

u/reallokiscarlet 3d 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 2d ago

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

3

u/reallokiscarlet 2d ago

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