Jump to content

Rosetta Code

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Short Circuit (talk | contribs) at 17:28, 19 December 2010 (Added and referenced hard data, reduce size of language and task selections. Updated task and language count. Added and ref'd note on copyright status.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Rosetta Code is a wiki-based programming chrestomathy website with solutions to various programming problems in many different programming languages. It was created in 2007 by Mike Mol. As of 19 December 2010 Rosetta Code includes 450 programming tasks, and covers 351 programming languages[1]. The site's content is licensed under the GNU Free Documentation License 1.2, though some components may be dual-licensed under more permissive terms[2].

Data and Structure

The site is organized as a browseable cross-section of tasks (specific programming problems or considerations) and programming languages. A task's page displays visitor-contributed solutions in various languages, allowing a viewer to compare each language's approach to the task's stated problem. Task pages are included in per-language listings based on the languages of provided solutions; a task with a solution in C will show up in the listing for C. If the same task has a solution in Ruby, the task will appear in Ruby's listing as well.

Selection of Languages

The following represents a sample of the languages found on Rosetta Code, ordered by sitewide application:[3]

  1. Tcl
  2. Python
  3. J
  4. Ruby
  5. C
  6. Haskell
  7. PureBasic
  8. OCaml
  9. Ada
  10. Perl

Selection of Tasks

The following represents a sample of the tasks found on Rosetta Code, ordered by sitewide involvement.[4]

  1. Hello world
  2. 99 Bottles of Beer
  3. Comments
  4. Empty Program
  5. Fibonacci sequence
  6. 100 doors
  7. Ackermann function
  8. Function definition
  9. FizzBuzz
  10. Loops/Infinite

References

  1. ^ "Welcome to Rosetta Code". Retrieved 2010-12-19.
  2. ^ "Rosetta Code:Copyrights". Retrieved 2010-12-19.
  3. ^ "Most linked-to categories". Retrieved 2010-12-19.
  4. ^ "Pages with the most categories". Retrieved 2010-12-19.