Rosetta Code
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 Michael Mol.
As of 10 October 2018, Rosetta Code has:[2]
- 907 programming tasks (or problems),
- 216 additional draft programming tasks,
- 682 computer programming languages,
- 61,224 programming language examples/entries.
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
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.
Selection of languages
The following represents a small sample of the over 682 computer programming languages found on Rosetta Code:[7]
- Ada
- ALGOL 60
- ALGOL 68
- ALGOL W
- APL
- AWK
- AutoHotKey
- BASIC (40 different forms)
- C
- C Sharp (C#)
- C++
- Clojure
- COBOL
- Common Lisp
- D
- Erlang
- F Sharp (F#)
- Factor
- Forth
- Fortran
- Elixir
- Go
- Groovy (Apache Groovy)
- Haskell
- Icon
- J
- Java
- JavaScript
- jq
- Julia
- Kotlin
- Maple
- Mathematica
- MATLAB
- Nim
- OCaml
- Octave
- PARI/GP
- Pascal
- Perl
- Perl 6
- PHP
- Picolisp
- PL/I
- PowerShell
- PureBasic
- Python
- R
- Racket
- REXX
- Ring
- Ruby
- Rust
- Scala
- Scheme
- Seed7
- SequenceL
- Swift
- Tcl
- Unicon
- XPL0
(To see a complete list of the computer programming languages that have examples (entries/solutions to the Rosetta Code tasks),
see: Rosetta Code computer programming language popularity list.
Selection of tasks
The following represents a sample of the tasks found on Rosetta Code:[8]
See also
References
- ↑ Ralf Lämmel. "Software chrestomathies". doi:10.1016/j.scico.2013.11.014. 2013.
- ↑ "Welcome to Rosetta Code". Retrieved 2018-10-10.
- ↑ "Rosetta Code:Copyrights". Retrieved 2010-12-19.
- ↑ Neil Walkinshaw. Chapter One: "Reverse-Engineering Software Behavior". "Advances in Computers". 2013. p. 14.
- ↑ Geoff Cox. "Speaking Code: Coding as Aesthetic and Political Expression". MIT Press, 2013. p. 6.
- ↑ Nick Montfort "No Code: Null Programs". 2013. p. 10.
- ↑ "Most linked-to categories". Retrieved 2018-09-25.
- ↑ "Pages with the most categories". Retrieved 2018-10-11.