编程与软件工程github.com
Quine Relay:多语言自产生程序接力
Quine Relay
2013 — 2022,它一次次回到首页
黑点是上首页(≥ 50 分)的那次投稿,空心点是没冲上去的投稿,点越大分数越高。
导读
Quine Relay 是 Yusuke Endoh(Ruby 核心成员)的著名代码艺术项目:一串程序在多种编程语言之间接力,每个程序输出下一种语言的源码,最终又回到最初的程序,形成自复制循环。仓库里连 README 都有生成器,元层次很高。
为什么经久不衰:它把自指、多语言互操作和 esoteric programming 推到极致,既是智力挑战也是可运行的代码艺术,多年后看仍令人惊叹。
HN 评论精选
作者是 Ruby 核心成员,写 Quine 是他的爱好。
我知道我们不该在意作者是谁——他显然疯得厉害——但顺便说,作者是 Ruby 核心成员之一的 Yusuke Endoh。RubySource 曾采访过他:……他把自己的“编程爱好”列为“写 Quine 和享受 esoteric programming”。
danso查看英文原文
I know we shouldn't care about the source, crazy-insane as he obviously is, but FWIW, the author is Yusuke Endoh, one of the Ruby core members. RubySource had an interview with him here: http://rubysource.com/meet-fifteen-ruby-core-committers/ He lists his "hobby in programming" as: "writing a Quine and enjoying esoteric programming."
README 本身由生成器生成,元层次更高。
太迷人了。连 README 生成器都处在另一个层次的元:https://github.com/mame/quine-relay/blob/master/src/README.md.gen.rb
epidemian查看英文原文
Fascinating. Even the README generator is on another level of meta: https://github.com/mame/quine-relay/blob/master/src/README.md.gen.rb
有人提供了可复现运行环境。
如果有人想试试,我做了个 Vagrant 配置,会安装操作系统和工具,并运行这整条程序链:https://github.com/rabidgremlin/vagrant-quine-relay
Rabidgremlin查看英文原文
If anyone wants to give this a go. I have created a Vagrant config which installs the OS, tools and runs the chain of programs. You can find it here: https://github.com/rabidgremlin/vagrant-quine-relay
作者是顶级 esolang/混淆代码高手,另有圣诞动画 quine。
注意,这是 Yusuke Endoh 写的,他是世界顶级混淆代码竞赛获奖者之一。圣诞节快到了,而它在 HN 似乎一直没什么热度,我借机链到他另一个 quine:这是我最喜欢的代码之一,一个圣诞主题动画,同时又是 quine:https://www.youtube.com/watch?v=r0eaf9iLKxg 补充:他真是天才,值得花时间看看他的其他视频。
montalbano查看英文原文
Note this is written by Yusuke Endoh, one of the top obfuscated-code competition winners in the world. Given that Christmas is coming up, and it never seems to get traction here on HN, I'll take the opportunity to link to another of his quines here. It's one of my favourite pieces of code ever, a christmas-themed animation which doubles as a quine: https://www.youtube.com/watch?v=r0eaf9iLKxg Edit: I have to re-iterate, he is truly a genius. It's worth spending time going through his other videos too.
历次讨论
同类还值得读
开源应用架构
The Architecture of Open Source Applications
《开源软件架构》(AOSA)是一本在线免费书,邀请知名开源项目的作者亲自剖析其内部设计,涵盖 SQLAlchemy、LLVM、Audacity、Apache、Bash 等系统。
编程与软件工程上首页 9 次 · 2011–2024aosabook.org编辑精选编程语言简史:简短、不完整且多半错误
A Brief, Incomplete, and Mostly Wrong History of Programming Languages
一篇以戏谑、故意不准确的方式回顾编程语言史的博客文章,用夸张轶事和讽刺定义串起 Lisp、C、C++、Java、JavaScript、PHP 等语言。
编程与软件工程上首页 8 次 · 2009–2021james-iry.blogspot.comSQLite 是如何测试的
How SQLite is tested
SQLite 官方文档页,系统介绍 SQLite 的测试体系:多种测试方法(TCL 测试、模糊测试、回归测试、静态分析等)和海量测试用例,展示了这个小型开源项目如何靠极致测试获得…
编程与软件工程上首页 8 次 · 2009–2025sqlite.org编辑精选高级编程语言(2009)
Advanced programming languages (2009)
Matt Might 的经典文章,按用途推荐“高级编程语言”:如果追求就业就选主流语言,如果追求表达力、学术研究或创业,则推荐 Haskell、OCaml、Scala 等函数式语…
编程与软件工程上首页 8 次 · 2009–2022matt.might.net我的 Forth 与栈机器经历
Yosefk - My history with Forth & stack machines
作者以亲身经历回顾了使用 Forth 语言和栈式机器的历程:既赞叹其简洁优雅、代码量小、可自举的优点,也坦率指出栈操作在实际编程中的痛苦,以及 Forth 社区文化中的问题。
编程与软件工程上首页 8 次 · 2010–2024yosefk.com编辑精选