Skip to content
Loopfunder
All projects
Proposed

Rosetta Code polyglot verified algorithm archive

Standalone implementations of 500 classic algorithms across 20 languages, each run against shared hidden tests.

Ask us to open it

Architecture diagram of a Firecracker microVM showing hardware-virtualized isolation boundaries.
An example: Firecracker's microVM isolation design showing the security boundary needed to run untrusted code safely. Firecracker contributors (AWS) · Apache-2.0

Polyglot code wikis let programmers compare how different languages express the same algorithm, yet many wiki snippets have never been executed and quietly fail on modern compilers. Contributors submit standalone solutions using only a language's standard library. Every submission is compiled and checked inside an isolated sandbox against 50 hidden test inputs.

How one piece works

  1. Pick an open cell

    Choose an unfilled (algorithm, language) pair from the 500-by-20 matrix and read its input-output specification.

  2. Write standalone code

    Implement the algorithm using only the language's standard library and test it locally in 15 to 35 minutes.

  3. Sandbox runs hidden tests

    An isolated microVM compiles and runs the file against 50 hidden randomized test vectors under strict time and memory caps.

What you would make

One standalone source file under 16 KB implementing one algorithm in one programming language with zero external libraries, taking 15 to 35 minutes.

What it becomes

A side-by-side MIT/CC0 reference matrix of 10,000 verified implementations (500 algorithms across 20 languages) with timing comparisons.

Why it is worth doing

  • Upgrades classic polyglot wikis like Rosetta Code (1,363 tasks across 1,028 languages) with automated execution and green checkmarks.
  • Strong proven community appeal: Exercism reached 1.9 million users across 65+ language tracks and TheAlgorithms/Python has 226,583 GitHub stars.
  • Hidden randomized test vectors prevent hardcoded sample answers and confirm identical behavior across all 20 languages.
  • Clean MIT or CC0 licensing avoids GFDL reuse limits and lets learners and educators copy verified snippets freely.

How a piece is checked

A network-disabled microVM sandbox checks standard-library-only imports and formatting, compiles the file, and runs it against 50 hidden randomized JSON test inputs within a 5-second CPU and 256 MB memory cap.

Before this can open

Needs a hardened networkless microVM code runner (such as Firecracker or gVisor), 20 pinned language runtime images, and shared hidden test generators.

Read more

  • Rosetta Code main pageLong-running polyglot wiki hosting 1,363 tasks and 1,028 languages without automated test execution.
  • TheAlgorithms/Python repositoryMIT-licensed tested algorithm collection (226,583 GitHub stars) showing broad learner demand.
  • Exercism platformTest-checked multi-language coding practice site reaching 1.9 million users across 65+ tracks.
  • AWS Firecracker microVMApache-2.0 microVM virtualizer (38,297 GitHub stars) for safely isolating untrusted code execution.

Ask us to open it

Tell us why you would like this project to open.