Rosetta Code

From Wikipedia, the free encyclopedia
Jump to: navigation, search
This article is about a website. For code written for the protein-folding system, see Rosetta@home.

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] It was created in 2007 by Mike Mol.

As of 1 September 2015, Rosetta Code includes 775 programming tasks, and covers 569 programming languages with 45,546 language examples/entries.[2] 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.[3]

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

Data and structure[edit]

The Rosetta Code site is organized as a browseable 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   C   will appear in the listing for the computer language   C.   If the same task has a solution in   Ruby,   the task will appear in the listing for the   Ruby   computer language as well.

Selection of languages[edit]

The following represents a sample of the computer programming languages found on Rosetta Code:[7]

Selection of tasks[edit]

The following represents a sample of the tasks found on Rosetta Code:[8]

References[edit]

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

External links[edit]