This repository contains the source code for an implementation of the merge sort algorithm using C and NIM programming languages. The purpose was to compare raw performance (memory size footprint and CPU time consumption) of the resultant binaries under a platform running the GNU/Linux OS.
- Linux: 4.4.0-170-generic #199-Ubuntu SMP Thu Nov 14 01:45:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
- Distributor ID: Ubuntu
- Description: Ubuntu 16.04.6 LTS
- Release: 16.04
- Codename: xenial
- CPU(s): 4 x Intel(R) Core(TM) i3 CPU M 330 @ 2.13GHz
- MemTotal: 3841960 kB
$ git clone https://github.com/grial1/C-vs-nim-little-benchmark benchmarks
$ cd benchmarks
$ make
$ make run