English [en]  

BECOME A MEMBER

Together we have the opportunity to empower the world through the use of free software. The only way to counter proprietary software companies and the billions of dollars they use to strip user rights is through the power of your voice and your generosity.

44 Joined
600 New Members

BrainFuck

Brainfuck is an amusing and minimalistic programming language which doesn't serve any real purpose except being a funny joke, challenging programmers and testing the boundaries of computer language design.

Warning! Brainfuck isn't suitable for practical use when programming!

This is a piece of source code like Ed in Brainfuck language:

+[[,][-]+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.[-]+++++++++++++.---.+]

The following was offered from Andrea Bolognani, with this comment:

The above version reads from standard input until it encounters a EOF character, and then starts printing ? in an infinite loop. I've written a drop-in replacement…as an added bonus, this version uses only 69 instructions, which is 30 less than the one above.

++[>+++++[>++++++<-]<-]++[>+++++<-]>>+++<<+[[,----------]>>.<.<+]

More information about Brainfuck language: http://en.wikipedia.org/wiki/Brainfuck.

Other humor in the GNU Humor Collection.

Disclaimer

The joke on this page was obtained from the FSF's email archives of the GNU Project.

The Free Software Foundation claims no copyright on this joke.

The code from Andrea Bolognani is licensed under the terms of the GNU GPL, version 2 or later.

TOP

 [FSF logo] “The Free Software Foundation (FSF) is a nonprofit with a worldwide mission to promote computer user freedom. We defend the rights of all software users.”

JOIN SHOP

招财蟾蜍APP 手机高频彩 佳佳赚怎样看广告赚钱 足球分析赚钱 腾讯分分彩计划软件 星空棋牌手机版下载 赚钱计划方案 分分彩计划网页版 山西十一选五任二遗漏数据 腾讯棋牌麻将来了 大盘股票 沈阳中彩票 北京pk10官网与黑彩 2011年4月股票推荐 qq分分彩投注网站 北京快中彩开奖结果查询 贵州茅台股票分析2017