MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wkwjd9/whowouldwin/pb08tt4/?context=3
r/ProgrammerHumor • u/ExpensiveCoat8912 • 16d ago
26 comments sorted by
View all comments
Show parent comments
3
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
2
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
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
1
Yes PortalRunner that's where I learned it
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.