mame/quine-relay
View on GitHub ↗ ★ 14,616 Ruby
An uroboros program with 100+ programming languages
99 mentions on Hacker News by 93 people: 31 stories, 68 comments · first 2013-07-15 · latest 2026-08-07
20082026
-
…Another awe-inspiring quine of his, from about a decade ago, is the 128-language ouroboros quine: https://github.com/mame/quine-relay
comment by chao- · 2026-08-07 · in A quine in Piet – a GIF image that prints itself [video] -
…his book "Gödel, Escher, Bach"). Probably most interesting to the people here is the quine relay: https://github.com/mame/quine-relay ("a Ruby program that generates a Rust program that generates a Scala program that generates ...(through…
comment by Zinu · 2026-07-21 · in Shorter is longer than longer [video] -
https://github.com/mame/quine-relay
comment by dheera · 2026-04-02 · in The Claude Code Source Leak: fake tools, frustration regexes, undercover mode -
Or this, the uroboros quine. Which I think is for sure art. https://github.com/mame/quine-relay
comment by adamgordonbell · 2024-11-13 · in A Mathematician in a School of Art -
You can chain 128 quines: https://github.com/mame/quine-relay
comment by f1shy · 2024-09-09 · in A tiny self-remaking C program -
…but an incredibly robust system for escaping strings in 128 wildly different languages. [1] https://github.com/mame/quine-relay/blob/master/src/code-gen...
comment by BoppreH · 2023-06-02 · in Radiation-hardened Quine (2014) -
…next one, looping all the way to the original one. In alphabetical order and as ASCII art, no less. https://github.com/mame/quine-relay
comment by purkka · 2023-06-02 · in Radiation-hardened Quine (2014) -
…in brainfuck are impressive but don't come nearly as close to black magic as quine-relay. [1] https://github.com/mame/quine-relay
comment by fouronnes3 · 2023-01-15 · in 30 years of Brainfuck -
…...(through 128 languages in total)... REXX program that generates the original Ruby code again." https://github.com/mame/quine-relay (HN thread: https://news.ycombinator.com/item?id=6048761 )
comment by tfehring · 2022-10-31 · in Ask HN: What piece of code/codebase blew your mind when you saw it? -
…https://mobile.twitter.com/David3141593/status/1368957384471... http://aem1k.com/world/ https://github.com/mame/quine-relay https://news.ycombinator.com/item?id=24824977 https://news.ycombinator.com/item?id=4326164…
comment by notRobot · 2022-10-27 · in Time.gif (2017) -
This issue imploring Yusuke Endoh to write a paper about it is amusing: https://github.com/mame/quine-relay/issues/10 > p-e-w: > This is more than a cool program – it's a computer science breakthrough! Apparently, you have discovered a…
comment by faitswulff · 2022-10-06 · in A Ruby program that generates itself through a 128-language quine loop -
The top of the repo explains it: https://github.com/mame/quine-relay
comment by viraptor · 2022-10-06 · in A Ruby program that generates itself through a 128-language quine loop -
…...(through 128 languages in total)... REXX program that generates the original Ruby code again. https://github.com/mame/quine-relay
comment by AMICABoard · 2022-05-23 · in Feather Wiki: app for creating personal non-linear notebooks, databases, wikis -
The most amazing multi-quine I've seen is the quine relay here: https://github.com/mame/quine-relay It goes through 128 programming languages to regen its starting point.
comment by dwheeler · 2022-01-11 · in Quines (Self-Replicating Programs) -
How does one do something like this https://github.com/mame/quine-relay Does anyone know the core concept?
comment by tmd83 · 2022-01-11 · in Awesome Self-Reference -
The quine (through 128 languages in total): https://github.com/mame/quine-relay
comment by Val_ · 2022-01-11 · in The Classic C Quine (2003) -
…people in Actually Interesting Positions. For example, you might've heard of the Oroboros Quine ( https://github.com/mame/quine-relay ), a program that emits source code in over 128 programming languages in successive steps (as you run…
comment by exikyut · 2022-01-05 · in Leetcode has taught me that I'm a bad engineer -
…famous for quine-relay [1] but has lots of other interesting art code projects in their repos. [1] https://github.com/mame/quine-relay
comment by mythz · 2021-11-10 · in A no-go fantasy: writing Go in Ruby with Ruby Next -
That's a quine https://github.com/mame/quine-relay
comment by Val_ · 2021-09-01 · in A Quine Made with Love -
…to do with the brutal winner-take-all nature of that space than any failure of the technology. [1]: https://github.com/mame/quine-relay
comment by mwcampbell · 2021-08-31 · in RFC-0082: Runnning unmodified Linux programs on Fuchsia -
….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…
comment by schoen · 2020-08-24 · in αcτµαlly pδrταblε εxεcµταblε -
…apparent to a programmer examining its structure. [1] https://www.nyx.net/~gthompso/quine.htm [2] https://github.com/mame/quine-relay [3] http://www.tessellations.org/eschergallery2.shtml
comment by mopierotti · 2020-08-01 · in Spotify CEO: musicians can no longer release music only “once every 3-4 years” -
…issue at heart. Yusuke Endoh created a tantalizing Ouroboros quine cycling through 128 languages: https://github.com/mame/quine-relay
comment by IngoBlechschmid · 2020-06-13 · in Bertrand Russell’s infinite sock drawer -
You'd almost have a quine relay: https://github.com/mame/quine-relay
comment by kevinmgranger · 2020-04-09 · in Scheme.forth.jl: Scheme in Forth in Julia -
https://github.com/mame/quine-relay
comment by shoeffner · 2020-02-06 · in Writing a triple polyglot script -
I always remember that https://github.com/mame/quine-relay https://raw.githubusercontent.com/mame/quine-relay/master/QR...
comment by jrimbault · 2020-01-25 · in Writing a Polyglot Script -
This is one of the most impressive things I've ever seen: a 128 language quine replay. https://github.com/mame/quine-relay
comment by nordsieck · 2019-12-28 · in RosettaGit: Same projects in many programming languages -
Not exactly what you're looking for, but: https://github.com/mame/quine-relay
comment by klyrs · 2019-11-30 · in Mal – Make a Lisp, implemented in 79 languages -
…of other languages, have the flexible formatting that allows for unreadable code. Ruby, anyone? https://github.com/mame/quine-relay/blob/master/QR.rb > As for the reasons for this - I've honestly no idea at all. Bad formatting is a bug…
comment by kazinator · 2019-05-18 · in TXR – A Programming Language for Convenient Data Munging -
The ultimate: https://github.com/mame/quine-relay
comment by Intermernet · 2018-06-27 · in Quines and Multi-Quines (2005) -
…a remarkably impressive piece of engineering. I put that up there with some really hairy quines ( https://github.com/mame/quine-relay ), except it can actually be useful !
comment by zbentley · 2018-02-19 · in OneLang – A tool to help writing code in multiple languages at the same time -
…this spinning globe quine as art? https://github.com/knoxknox/qlobe or this 100 language quine https://github.com/mame/quine-relay/blob/master/README.md
comment by IanCal · 2017-03-20 · in An Apology for Roger Ebert (2011) -
It appears all the languages' code is encoded in the `code_gen.rb` file: https://github.com/mame/quine-relay/blob/master/src/code-gen... < VB https://github.com/mame/quine-relay/blob/master/src/code-gen... < PHP
comment by nacs · 2017-03-09 · in An animated GIF that shows its own MD5 -
Have you seen this one? It's insane: https://github.com/mame/quine-relay
comment by djsumdog · 2017-03-09 · in An animated GIF that shows its own MD5 -
…a multi step quine that hashes to the same value at every stage! BTW quine relay is impressive: https://github.com/mame/quine-relay
comment by mrybczyn · 2017-02-24 · in Announcing the first SHA-1 collision -
Notably missing from the list: the 100-language quine. https://github.com/mame/quine-relay
comment by al2o3cr · 2017-02-15 · in Creepy Code Collection -
…programming languages (each producing an input for the next one) to finally produce its own code https://github.com/mame/quine-relay
comment by joegreen · 2016-11-11 · in Regex that only matches itself -
…this, you may also like Quine Relay, a quine program that cycles through 100 different languages: https://github.com/mame/quine-relay
comment by apeace · 2016-09-14 · in QuineDB – A quine that is also a key-value store -
That was pretty much THE thing that won my respect for the Ruby community. https://github.com/mame/quine-relay/blob/master/thumbnail.pn... That and the radiation-hardened quine: https://github.com/mame/radiation-hardened-quine Prior to…
comment by terminado · 2016-09-01 · in Code that is valid in both PHP and Java, and produces the same output in both -
https://github.com/mame/quine-relay/ This 100-language quine relay passes through both on its way around the clock. :)
comment by taneq · 2016-09-01 · in Code that is valid in both PHP and Java, and produces the same output in both -
Phava is great! But, quine-relay still wins: https://github.com/mame/quine-relay
comment by IANAD · 2016-09-01 · in Code that is valid in both PHP and Java, and produces the same output in both -
Have you seen this? https://github.com/mame/quine-relay
comment by nathancahill · 2016-06-30 · in Goa: Design-First API Generation -
I first learned about that language from this quine: https://github.com/mame/quine-relay
comment by djsumdog · 2016-06-16 · in Google praises 86-year-old for polite internet searches -
Hmm ... 100 langs circuit, impressive ... thumbnail of code ... %&$#!! https://github.com/mame/quine-relay/blob/master/thumbnail.pn... (Attention to detail, they haz it.)
comment by B1FF_PSUVM · 2016-05-22 · in Shebang Quine -
This one is also amazing. https://github.com/mame/quine-relay
comment by takeda · 2016-05-20 · in Shebang Quine -
…[3] https://www.youtube.com/watch?v=l6XQUciI-Sc#t=1h7m15s [4] https://github.com/mame/quine-relay
comment by bcantrill · 2016-03-30 · in Microsoft and Canonical partner to bring Ubuntu to Windows 10 -
https://github.com/mame/quine-relay 100 language cyclic quine relay.
comment by knotty66 · 2015-07-17 · in A fast Lisp interpreter in Dart -
FWIW the guy who made this also made that huge quine from a year or two ago: https://github.com/mame/quine-relay
comment by wetmore · 2015-03-06 · in ASCII fluid dynamics (2013) [video] -
…from us in this first calendar quarter. [1] https://www.youtube.com/watch?v=TrfD3pC0VSs [2] https://github.com/mame/quine-relay [3] https://twitter.com/bcantrill/status/554076708173643776 [4] https://github.com/joyent/sdc-docker
comment by bcantrill · 2015-01-15 · in Show HN: Jetpack, a FreeBSD Jail/ZFS-based container runtime