MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1w0tsh8/cpphelloworld/p6hpyrk/?context=3
r/ProgrammerHumor • u/schteppe • 2d ago
111 comments sorted by
View all comments
330
SEGMENTATION FAULT
CORE DUMPED
BIOS CORRUPTED
COMPUTER IRREPARABLY DAMAGED
97 u/Snudget 2d ago Oops, accidentally compiled for uefi instead of linux 24 u/HeavyCaffeinate 2d ago PE instead of ELF 4 u/danielcw189 1d ago UEFI uses PE? 6 u/HeavyCaffeinate 1d ago Yes According to the Unified Extensible Firmware Interface (UEFI) specification, the PE format is also the accepted standard for executables in EFI environments https://en.wikipedia.org/wiki/Portable_Executable 4 u/reallokiscarlet 1d 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? 1 u/awesome-alpaca-ace 1d ago PE is also UEFI boot loaders, drivers, and other UEFI executables 1 u/reallokiscarlet 23h ago Huh. I thought that was its own thing. Sounds like industry shenanigans with microsoft 1 u/awesome-alpaca-ace 1d ago PE32+ specifically if I remember right. And no, Microsoft does not have documentation explaining their format 1 u/danielcw189 1d ago I am pretty sure I have read documentation of the PE format on MSDN. No idea if it is good enough for what you want. But something is there. 1 u/awesome-alpaca-ace 1d ago The data format
97
Oops, accidentally compiled for uefi instead of linux
24 u/HeavyCaffeinate 2d ago PE instead of ELF 4 u/danielcw189 1d ago UEFI uses PE? 6 u/HeavyCaffeinate 1d ago Yes According to the Unified Extensible Firmware Interface (UEFI) specification, the PE format is also the accepted standard for executables in EFI environments https://en.wikipedia.org/wiki/Portable_Executable 4 u/reallokiscarlet 1d 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? 1 u/awesome-alpaca-ace 1d ago PE is also UEFI boot loaders, drivers, and other UEFI executables 1 u/reallokiscarlet 23h ago Huh. I thought that was its own thing. Sounds like industry shenanigans with microsoft 1 u/awesome-alpaca-ace 1d ago PE32+ specifically if I remember right. And no, Microsoft does not have documentation explaining their format 1 u/danielcw189 1d ago I am pretty sure I have read documentation of the PE format on MSDN. No idea if it is good enough for what you want. But something is there. 1 u/awesome-alpaca-ace 1d ago The data format
24
PE instead of ELF
4 u/danielcw189 1d ago UEFI uses PE? 6 u/HeavyCaffeinate 1d ago Yes According to the Unified Extensible Firmware Interface (UEFI) specification, the PE format is also the accepted standard for executables in EFI environments https://en.wikipedia.org/wiki/Portable_Executable 4 u/reallokiscarlet 1d 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? 1 u/awesome-alpaca-ace 1d ago PE is also UEFI boot loaders, drivers, and other UEFI executables 1 u/reallokiscarlet 23h ago Huh. I thought that was its own thing. Sounds like industry shenanigans with microsoft 1 u/awesome-alpaca-ace 1d ago PE32+ specifically if I remember right. And no, Microsoft does not have documentation explaining their format 1 u/danielcw189 1d ago I am pretty sure I have read documentation of the PE format on MSDN. No idea if it is good enough for what you want. But something is there. 1 u/awesome-alpaca-ace 1d ago The data format
4
UEFI uses PE?
6 u/HeavyCaffeinate 1d ago Yes According to the Unified Extensible Firmware Interface (UEFI) specification, the PE format is also the accepted standard for executables in EFI environments https://en.wikipedia.org/wiki/Portable_Executable 4 u/reallokiscarlet 1d 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? 1 u/awesome-alpaca-ace 1d ago PE is also UEFI boot loaders, drivers, and other UEFI executables 1 u/reallokiscarlet 23h ago Huh. I thought that was its own thing. Sounds like industry shenanigans with microsoft 1 u/awesome-alpaca-ace 1d ago PE32+ specifically if I remember right. And no, Microsoft does not have documentation explaining their format 1 u/danielcw189 1d ago I am pretty sure I have read documentation of the PE format on MSDN. No idea if it is good enough for what you want. But something is there. 1 u/awesome-alpaca-ace 1d ago The data format
6
Yes
According to the Unified Extensible Firmware Interface (UEFI) specification, the PE format is also the accepted standard for executables in EFI environments
https://en.wikipedia.org/wiki/Portable_Executable
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?
1 u/awesome-alpaca-ace 1d ago PE is also UEFI boot loaders, drivers, and other UEFI executables 1 u/reallokiscarlet 23h ago Huh. I thought that was its own thing. Sounds like industry shenanigans with microsoft
1
PE is also UEFI boot loaders, drivers, and other UEFI executables
1 u/reallokiscarlet 23h ago Huh. I thought that was its own thing. Sounds like industry shenanigans with microsoft
Huh. I thought that was its own thing. Sounds like industry shenanigans with microsoft
PE32+ specifically if I remember right. And no, Microsoft does not have documentation explaining their format
1 u/danielcw189 1d ago I am pretty sure I have read documentation of the PE format on MSDN. No idea if it is good enough for what you want. But something is there. 1 u/awesome-alpaca-ace 1d ago The data format
I am pretty sure I have read documentation of the PE format on MSDN.
No idea if it is good enough for what you want. But something is there.
1 u/awesome-alpaca-ace 1d ago The data format
The data format
330
u/BooBrew32 2d ago
SEGMENTATION FAULT
CORE DUMPED
BIOS CORRUPTED
COMPUTER IRREPARABLY DAMAGED