Skip to content
Snippets Groups Projects
Commit 420fb32b authored by nimrod's avatar nimrod
Browse files

- Added a README file.

parent d1f20f12
No related branches found
No related tags found
No related merge requests found
...@@ -8,3 +8,6 @@ c: prime.c ...@@ -8,3 +8,6 @@ c: prime.c
clean: clean:
rm -r a.out __pycache__ rm -r a.out __pycache__
test:
echo 'Not yet implemented.'
The prime benchmark
===================
Bencmarking programming languages by running program to find the first X prime
numbers. The algorithm is naive and should be implemented the same regardless of
the language.
Added languages
---------------
- C
- Lua
- PHP
- Python3
Usage
-----
Build: ::
make
Clean: ::
make clean
Test: ::
make test
History
-------
When starting to learn Lua, I wrote a simple program to excersize the table data
structure. But I had difficulties expressing what I wanted so I first wrote the
program in Python. After I had the program written in both languages I did the
obvious thing, I timed them. From there on Barak implemented the program in PHP
and we implemented it in C. We hope to have many more languages tested.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment