Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

New brainfuck hello world record!!

Name: Anonymous 2016-01-03 20:04

http://codegolf.stackexchange.com/a/68494/48742

Brainfuck, 87 bytes

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

The first half initializes the tape to the following:

[0, 0, 0, 72, 36, 102, 108, 111, 108, 90, 33, 45, 0]

The second half transforms this into the string !dlroW , while outputting Hello along the way.

There may have been some brute forcing involved.
Hello, world!, 84 82 bytes

Saved 2 bytes due to Mitch Schwartz.

Small w can be done slightly shorter:

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

These seem to be the shortest solutions ever produced for either variation, at least as far as I can tell.

Name: Anonymous 2016-01-04 6:44

I don't understand this at all. Does this mean that I am a mental midget? Should I kill myself?

Name: Anonymous 2016-01-04 7:00

>>2
Its clever optimization of writing "hello world",
try doing brainfuck interpretation step-by-step
and write it on paper.You'll end up with decimal ascii values
of "Hello world!".

Name: Anonymous 2016-01-04 14:18

>>3
What happens if I end up with binary ascii values?

Name: Anonymous 2016-01-04 16:30

JACKSON 5 GET

Name: Anonymous 2016-01-04 19:48

ASCII is a form of cultural imperialism. My character set begins with Helo, Wrd!.

Don't change these.
Name: Email:
Entire Thread Thread List