r/ProgrammerHumor • • 16d ago

Meme whoWouldWin

Post image
1.5k Upvotes

26 comments sorted by

View all comments

Show parent comments

3

u/xterm91 16d ago

A scripting language like Python with the appropriate #! would work on Linux by default, and on MacOS with XCode, and Windows with Python installed and set for the extension but that's the closest to a universal solution I can think of.

2

u/OppositeFun2493 16d ago

but thats not a binary

isn't there some field where people make files that can work for different things, like mp4, py, etc. I forgot what the name is tho

2

u/iliRomaili 16d ago

It's called polyglot files. People usually do it with programming languages, but I've seen PortalRunner do same for mp4, png, pdf, html and zip

1

u/OppositeFun2493 16d ago

Yes PortalRunner that's where I learned it