3 ms·
The source code equivalent of this is a polyglot program: https://en.wikipedia.org/wiki/Polyglot_(computing) https://en.wikipedia.org/wiki/Polyglot_(computing)
by schoen 6y ago
The source code equivalent of this is a polyglot program:
https://en.wikipedia.org/wiki/Polyglot_(computing) 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-language-to-a-polyglot?answertab=oldest#tab-top 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 https://github.com/mame/quine-relay
and has even written a book about it
http://uguu.org/words/2015_10_01.html http://uguu.org/words/2015_10_01.html
which I would still love to have available in English!
- donaldcuckman 6y agoseems like youre trying to diminish the importance and significance of justines work by brushing it off as a polyglot, which you clearly watched youtube video of this past week . As i have and all i see everyone must also be subjected to via logic of mine
- chrisdalke 6y ago+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 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 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 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 https://www.youtube.com/watch?v=OryXKUgRVOg
- logicallee 6y ago>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 https://news.ycombinator.com/item?id=24257630
- jaclaz 6y agoClassical examples of chimera/polyglots are: PoC||GTFO International Journal of Proof-of-Concept or ... https://www.alchemistowl.org/pocorgtfo/ https://www.alchemistowl.org/pocorgtfo/ Corkami: https://github.com/corkami https://github.com/corkami