Rosetta Code

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Rosetta Code
Screenshot-2019-10-31 Rosetta Code.png
Front page of
Available inEnglish
OwnerMichael Mol
LaunchedJanuary 1, 2007; 13 years ago (2007-01-01)
Current statusOnline
Content license
Written inPHP, MediaWiki

Rosetta Code is a wiki-based programming chrestomathy website with implementations of common algorithms and solutions to various programming problems in many different programming languages.[1]


Rosetta Code was created in 2007 by Michael Mol. 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]

The Rosetta Code web repository illustrates how desired functionality is implemented very differently in various programming paradigms,[3][4] and how "the same" task is accomplished in different programming languages.[5]

As of 17 June 2020, Rosetta Code has:[6]

  • 1,058 programming tasks (or problems)
  • 194 additional draft programming tasks
  • 763 computer programming languages
  • 71,346 computer programming language examples/entries

Data and structure[edit]

The Rosetta Code site is organized as a browsable cross-section of tasks (specific programming problems or considerations) and computer programming languages. A task's page displays visitor-contributed solutions in various computer 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 the C programming language will appear in the listing for C. If the same task has a solution in Ruby, the task will appear in the listing for Ruby as well.


Some of the computer programming languages found on Rosetta Code include:[7]

A complete list of the computer programming languages that have examples (entries/solutions to the Rosetta Code tasks) is available.[8]


Some of the tasks found on Rosetta Code include:[9]

See also[edit]


  1. ^ Ralf Lämmel. "Software chrestomathies". doi:10.1016/j.scico.2013.11.014. 2013.
  2. ^ "Rosetta Code:Copyrights". Retrieved 2010-12-19.
  3. ^ Neil Walkinshaw. Chapter One: "Reverse-Engineering Software Behavior". "Advances in Computers". 2013. p. 14.
  4. ^ Geoff Cox. "Speaking Code: Coding as Aesthetic and Political Expression". MIT Press, 2013. p. 6.
  5. ^ Nick Montfort "No Code: Null Programs". 2013. p. 10.
  6. ^ "Welcome to Rosetta Code". Retrieved 2020-06-17.
  7. ^ "Most linked-to categories". Retrieved 2020-01-01.
  8. ^
  9. ^ "Pages with the most categories". Retrieved 2018-10-11.

External links[edit]