Rosetta Code: Difference between revisions

Content deleted Content added
Update screenshot
Citation bot (talk | contribs)
Removed URL that duplicated identifier. Removed access-date with no URL. Removed parameters. | Use this bot. Report bugs. | Suggested by Headbomb | Linked from Wikipedia:WikiProject_Academic_Journals/Journals_cited_by_Wikipedia/Sandbox | #UCB_webform_linked 314/967
 
(23 intermediate revisions by 15 users not shown)
Line 6:
| screenshot_alt = Front page of rosettacode.org
| caption = Front page of rosettacode.org
| url = {{URL|https://www.rosettacode.org}}<!-- {{URL|example.com}} -->
| language = English
| content_license = [[GNU Free Documentation License|GFDL]]
| programming_language = [[PHP]], [[MediaWiki]]
| owner = Michael Mol
| launch_date = {{Start date and age|df=no|2007|01|01}}
| current_status = Online
}}
'''Rosetta Code''' is a [[wiki]]-based programming [[chrestomathy]] website with implementations of common [[algorithms]] and solutions to various [[computer programming|programming]] problems in many different [[programming languages]].<ref>Ralf Lämmel. "Software chrestomathies". {{doi|10.1016/j.scico.2013.11.014}}. 2013.</ref><ref name="ieee">{{Cite book|title=A Comparative Study of Programming Languages in Rosetta Code|date=2015 |doi=10.1109/ICSE.2015.90 |arxiv=1409.0252 |s2cid=2570311 |last1=Nanz |first1=Sebastian |last2=Furia |first2=Carlo A. |pages=778–788 |isbn=978-1-4799-1934-5 }}</ref> It is named for the [[Rosetta Stone]], which has the same text inscribed on it in three languages, and thus allowed [[Egyptian hieroglyphs]] to be deciphered for the first time.<ref name="RCA">{{Cite web|url=http://www.rosettacode.org/wiki/Rosetta_Code:About|title=Rosetta Code:About - Rosetta Code|website=www.rosettacode.org|date=8 August 2010 }}</ref>
 
==Website==
Rosetta Code was created in 2007 by Michael Mol.<ref name="RCA"/> 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.<ref>{{cite web|url=http://rosettacode.org/wiki/Rosetta_Code:Copyrights|title=Rosetta Code:Copyrights|accessdatedate=24 January 2010 |access-date=2010-12-19}}</ref>
 
The Rosetta Code web repository illustrates how desired functionality is implemented very differently in various [[Programming_paradigm|programming paradigms]],<ref>Neil Walkinshaw. Chapter One: "Reverse-Engineering Software Behavior". [https://books.google.com/books?id=zvNvk-1OuBoC "Advances in Computers"]. 2013. p. 14.</ref><ref>Geoff Cox. [https://books.google.com/books?id=wgnSUL0zh5gC "Speaking Code: Coding as Aesthetic and Political Expression"]. MIT Press, 2013. p. 6.</ref> and how "the same" task is accomplished in different [[programming language]]slanguages.<ref>Nick Montfort [http://tropetank.mit.edu/TROPE-13-03.pdf "No Code: Null Programs"]. 2013. p. 10.</ref>
 
{{As of|20212024|0802|22}}, Rosetta Code has:<ref>{{cite web|url=http://rosettacode.org/wiki/Welcome_to_Rosetta_Code|accessdateaccess-date=2007-01-07|title=Welcome to Rosetta Code}}</ref>
::* 1,121266 computer programming tasks (or problems)
::* 303404 additional draft programming tasks
::* 810933 computer programming languages that are used to solve tasks
 
::* 83,043 computer programming language examples/entries
In August 2022, Rosetta Code migrated from independent hosting to [[Miraheze]].
In August 2022, Rosetta Code migrated from independent hosting to Miraheze.
 
===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.<ref name="ieee"/> 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)|C]] programming language will appear in the listing for C. If the same task has a solution in [[Ruby (programming language)|Ruby]], the task will appear in the listing for Ruby as well.
 
 
===Languages===
Some of the computer programming languages found on Rosetta Code (which have Wikipedia descriptions) include: <ref>{{cite web|url=httphttps://rosettacode.org/wiki/Special:MostLinkedCategories?limit=500|accessdateaccess-date=20202024-0102-0122|title=Most linked-to categories}} </ref>
{{columns-list|colwidth=15em|
* [[Ada (programming language)|Ada]]
Line 49 ⟶ 46:
* [[C Sharp (programming language)|C#]]
* [[C++]]
* [[Ceylon (programming language)|Ceylon]]
* [[Clojure]]
* [[COBOL]]
Line 69 ⟶ 67:
* [[Julia (programming language)|Julia]]
* [[Kotlin (programming language)|Kotlin]]
* [[Lua (programming language)|Lua]]
* [[Maple (software)|Maple]]
* [[Mathematica]]
Line 75 ⟶ 74:
* [[OCaml]]
* [[GNU Octave|Octave]]
* [[Object REXX|ooRexx]]
* [[PARI/GP]]
* [[Pascal (programming language)|Pascal]]
* [[Perl]]
* [[PHP]]
* [[Picat]]
* [[Picolisp]]
* [[PL/I]]
Line 89 ⟶ 88:
* [[Racket (programming language)|Racket]]
* [[Raku (programming language)|Raku (Perl 6)]]
* [[Red (programming language)|Red]]
* [[REXX (programming language)|REXX]]
* [[Ruby (programming language)|Ruby]]
Line 99:
* [[Tcl]]
* [[Unicon (programming language)|Unicon]]
* [[V (programming language)|V (Vlang)]]
* [[XPL0]]
}}
 
A complete list of the computer programming languages that have examples (entries/solutions to the Rosetta Code tasks) is available.<ref>{{Cite web|url=httphttps://rosettacode.org/wiki/RC_POP.OUT#outputRosetta_Code/Rank_languages_by_popularity/Full_list|title=RC POP.OUT - Rosetta Code/Languages/Full list|website=rosettacode.org|date=4 March 2024 }}</ref>
 
==Tasks==
Some of the tasks found on Rosetta Code include:<ref>{{cite web|url=http://rosettacode.org/wiki/Special:MostCategories|accessdateaccess-date=2018-10-11|title=Pages with the most categories}}</ref>
{{columns-list|colwidth=18em|
* "[[99 Bottles of Beer]]" (song)
Line 190 ⟶ 191:
* {{Official website}}
 
[[Category:Programming languages]]
[[Category:Programming language comparisons]]
[[Category:Wikis about programming]]