Different languages compared
Posted: November 29th, 2010 | Author: Mars | Filed under: Reference | 2 Comments »A number of web sites offer comparisons of the same task implemented in different programming languages:
- 99 Bottles of Beer: a program to print out the text of the song “99 Bottles of Beer”, implemented in 1,348 languages
- Rosetta Code: several hundred reasonably common programming tasks represented in a few hundred different languages
- Langref: several dozen common problems implemented in the fifteen currently-hip languages
- PLEAC: all the examples from the Perl Cookbook, implemented to varying degrees in 28 languages; has lots of content but appears to be dead (no updates since early 2007)
It will be good to see how Radian examples compare :)
Here’s a stab at the 99 Bottles of Beer program, lightly adapted from the Python example: