luke5542 / LanguageComparison

A comparison of various programming languages for similar problems to demonstrate the syntactic and run-time differences.
0 stars 3 forks source link

Language Comparison

Docker Repository on Quay.io

This is a collection of programs written in various languages to perform the exact same tasks as a demonstration of both the syntactic differences between these languages as well as the run-time speeds of their respective compiled (or interpreted) outputs.

Running the examples:

There are two ways to run the code examples:

Direct (install all the runtimes locally)

Inside a docker container (no installation required):

Note: Running docker on Windows or MacOSX (currently) requires the use of a boot2docker VM or something similar. This obviously has an overhead associated with it - however as long as the tests are all run in a container, the results should be roughly consistent with those obtained outside of a container.

Generating HTML Output:

A HTML page can be generated in order to visualise the various run timings.