Rosetta Code

From Rosetta Code

Rosetta Code is a programming chrestomathy site. The idea is to present solutions to the same task in as many different languages as possible, to demonstrate how languages are similar and different, and to aid a person with a grounding in one approach to a problem in learning another. Rosetta Code currently has 1,272 tasks, 403 draft tasks, and is aware of 944 languages, though we do not (and cannot) have solutions to every task in every language.

Places to start

Recently-Updated Tasks

 
Solve the no connection puzzle
Write to Windows event log
100 doors
N-queens problem
Ramer-Douglas-Peucker line simplification
Factors of an integer
Validate International Securities Identification Number
Luhn test of credit card numbers
Random sentence from book
Pseudo-random numbers/Combined recursive generator MRG32k3a
Word ladder
24 game
Trabb Pardo–Knuth algorithm
Combinations
Towers of Hanoi
more...

Ways to Contribute

 
Village Pump/Suggest a programming task
Village Pump/Suggest a language
Add a Language
Add a Task
Adding a new programming example
Examples needing attention
Unimplemented tasks by language