Weekend Programming Challenge – Week #33 – Infinite output


Image

Problem:

Write the shortest possible code which will make infinite output.

Come on let see how many characters your smallest code will be🙂

The rules:

You can code the solution in any programming language during the weekend and have to submit it to info@olimex.com latest on Sunday November 17th.

On Monday we will upload the solutions on GitHub https://github.com/OLIMEX/WPC

You can play with your real name or with nick if you want to be anonymous, we will not disclosure your personal info if you do not want to.

11 Comments (+add yours?)

  1. José Xavier
    Nov 15, 2013 @ 19:52:47

    Hi,
    English is not my mother language and I can’t understand what are the goal. Is it a infinite loop?

    Reply

  2. Emiliano Daddario
    Nov 15, 2013 @ 20:46:19

    BASH program:
    cat /dev/urandom

    Reply

  3. Стефан Стоилов
    Nov 16, 2013 @ 00:28:59

    Sorry for not sending to e-mail , but :
    PERL:

    print 1 while 1

    a little bit shorter

    Reply

  4. Maciej
    Nov 16, 2013 @ 00:30:44

    What do you mean output? Serial port, register, LCD, memory cell…?
    Is output already prepared (configured)?
    Should the code be architecture specific?

    Reply

  5. Hans Franke
    Nov 16, 2013 @ 00:37:29

    Well, what about:

    JMP *

    Pick any assembler you want (maybe adjust the encoding of * to $), The programm will run infinit and outputs heat.

    Reply

  6. Piotr
    Nov 16, 2013 @ 01:33:34

    rebol:
    forever []
    forever [print 1]

    prolog:
    repeat,fail.
    repeat,writeln(1),fail.

    Reply

  7. ventosus
    Nov 16, 2013 @ 13:08:51

    This following short code in Brainfuck even let’s you choose which character to print indefinitely😉

    ,[.]

    Reply

  8. ggg
    Nov 17, 2013 @ 02:54:04

    1 ?:goto 1

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: