Live data from Hacker News

A Ruby program that generates itself through a 128-language quine loop

github.com

1–10 of 63 posts

Re: A Ruby program that generates itself through a 128-language quine loop

#4

How exactly does this work? Does one language invoke another and another in a chain, or ruby at the top calling A, then B, then C.. And is that an Ouroboros snake, or something else

The top of the repo explains it: https://github.com/mame/quine-relay

Re: A Ruby program that generates itself through a 128-language quine loop

#6
I am amazed. I have no idea how the hell could the author even do that.

Apparently, they have a book called "The world of obfuscated, esoteric, artistic programming", but it seems to be written in Japanese. I hope it will be translated to English someday, so I may learn this dark sorcery.

Re: A Ruby program that generates itself through a 128-language quine loop

#7
Some background: https://esoteric.codes/blog/the-128-language-quine-relay

Note that the author made the challenge even harder by sorting the languages in alphabetical order:

> According to Endoh, the most challenging transitions were Befunge to BLC8 to brainfuck, as all three are esoteric. It runs through languages strictly in alphabetical order, so there was no opportunity to group easier-to-work-with languages together.

Re: A Ruby program that generates itself through a 128-language quine loop

#9
Many programmers complain that they can't complete a hello world example in one or more of the languages featured here because they're too difficult.

This guy demonstrated enough understanding of 128 of them to make this work.

Is the difference in competence really so big between us?

Re: A Ruby program that generates itself through a 128-language quine loop

#10
post #9

Many programmers complain that they can't complete a hello world example in one or more of the languages featured here because they're too difficult. This guy demonstrated enough understanding of 128 of them to make this work. Is the difference in competence really so big between us?

Yes.

I see this every single day.

And it becomes more and more obvious the better you become.

Post reply on HN