Rosetta Code

From Simple English Wikipedia, the free encyclopedia
Rosetta Code
Front page of
Available inEnglish
OwnerMike Mol
LaunchedJanuary 1, 2007; 16 years ago (2007-01-01)
Current statusOnline
Content license
Written inPHP, MediaWiki

Rosetta Code is a wiki-based website that features ways to solve various programming problems in many different programming languages.[1]

Website[change | change source]

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 have two licenses under less strict terms.[2]

Rosetta Code's collection of code examples shows how the functionality the user desires is achieved differently in various ways,[3][4] and how "the same" task can be done in different programming languages.[5]

As of 25 September 2019, Rosetta Code has:[6]

  • 971 programming problems
  • 225 additional draft programming tasks
  • 723 programming languages
  • 66,679 programming language examples

Data and structure[change | change source]

The Rosetta Code site is organized as a browsable cross-section of programming problems and programming languages. A programming problem's page displays solutions contributed by visitors in various programming languages, allowing someone who views the solution to compare the solution to the programming problem.

Each programming language has its own page, which contains a list of programming problems that have solutions in that programming language. For example, a task that has a solution in the C programming language will appear in the listing for the C programming language, and if the same task has a solution in the Ruby programming language, the task will also appear in the listing for the Ruby programming language.

Languages[change | change source]

Some programming languages that are listed on Rosetta Code are:[7]

A list of all programming languages that have solutions to programming problems on Rosetta Code is available.[8]

Tasks[change | change source]

Some tasks that are listed on Rosetta Code are:[9]

Related pages[change | change source]

References[change | change source]

  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" Archived 2014-05-22 at the Wayback Machine. 2013. p. 10.
  6. "Welcome to Rosetta Code". Retrieved 2019-09-25.
  7. "Most linked-to categories". Retrieved 2018-09-25.
  8. "RC POP.OUT - Rosetta Code".
  9. "Pages with the most categories". Retrieved 2018-10-11.

Other websites[change | change source]