News for hackers. Stuff that matters.
Re:αcτµαlly pδrταblε εxεcµταblε by schoen on Sunday August 23, 2020 @10:04PM (#24256957)
The source code equivalent of this is a polyglot program:

https://en.wikipedia.org/wiki/Polyglot_(computing)

Apparently people on Stack Exchange have been working together on a single polyglot program for four years and have gotten a single codebase up to validity in nearly 300 languages.

https://codegolf.stackexchange.com/questions/102370/add-a-la...

Edit: also, Yusuke Endoh is a master at this art form

https://github.com/mame/quine-relay

and has even written a book about it

http://uguu.org/words/2015_10_01.html

which I would still love to have available in English!

Re:αcτµαlly pδrταblε εxεcµταblε by chrisdalke on Sunday August 23, 2020 @11:00PM (#24257205)
+1 for the mention of Endoh's work -- Yusuke Endoh's YouTube channel with many of his quines is really fantastic: https://www.youtube.com/c/YusukeEndoh/videos

A quine that prints itself as scrolling text in an AVI file: https://www.youtube.com/watch?v=rMlJy5He-Tk

A self-similar quine that behaves like a fractal zooming out infinitely: https://www.youtube.com/watch?v=6J7u2G52scc

A quine with source code that contains sheet music to a Bach song in comments and plays it: https://www.youtube.com/watch?v=OryXKUgRVOg

Re:αcτµαlly pδrταblε εxεcµταblε by logicallee on Monday August 24, 2020 @01:01AM (#24257633)
>Apparently people on Stack Exchange have been working together on a single polyglot program for four years and have gotten a single codebase up to validity in nearly 300 languages.

Wow, what a link. I submitted it just now as a separate HN post using your phrasing:

https://news.ycombinator.com/item?id=24257630

Re:αcτµαlly pδrταblε εxεcµταblε by jaclaz on Monday August 24, 2020 @07:31AM (#24259630)
Classical examples of chimera/polyglots are:

PoC||GTFO International Journal of Proof-of-Concept or ... https://www.alchemistowl.org/pocorgtfo/

Corkami: https://github.com/corkami