Programming Tasks

So that you can get a comparative feel, code for a few programming tasks is shown in each of the languages. The tasks are described below.

Hello World

If you don't know what this is, see the References ;-)

Concurrently Say "Enjoy" "Rosetta" "Code"

Using either native language concurrency syntax or freely available libraries write a program to display the strings "Enjoy" "Rosetta" "Code", one string per line, in random order. Concurrency syntax must use threads, tasks, co-routines, or whatever concurrency is called in your language.

Compute the Digits of π

The program should print the digits, 10-to-a-line, of the mathematical constant π with the running total of digits calculated. See http://shootout.alioth.debian.org/.

Quick Sort

Standard quick sort algorithm found in most text books.