A potpourri of programming languages
Go to file
2022-01-14 12:11:15 -06:00
data.json Rerun tests and update summary 2022-01-14 12:11:15 -06:00
LICENSE Initial commit 2020-08-31 20:42:31 -05:00
README.md Rerun tests and update summary 2022-01-14 12:11:15 -06:00
run.sh Modify run script to run all languages in one line 2021-12-31 14:38:50 -06:00
test.c Add run script 2021-12-08 12:32:19 -06:00
test.cpp Create test.cpp 2020-09-01 12:30:28 -05:00
test.cs Create test.cs 2021-04-18 21:55:42 -05:00
test.go Update test.go 2021-04-18 22:31:04 -05:00
test.hs Haskell: use sum instead of foldl 2022-01-14 12:08:23 -06:00
test.java Create test.java 2020-09-06 09:54:06 -05:00
test.jl Specify global ans variable on same line as usage in test.jl 2022-01-08 18:57:26 -06:00
test.js Add test.js 2020-09-12 16:00:30 -05:00
test.lisp Fix Lisp package locking 2021-12-08 12:32:27 -06:00
test.lua Add Lua code 2021-12-08 12:40:12 -06:00
test.php Add test.php 2020-09-14 10:17:03 -05:00
test.pl Add test.pl 2020-09-10 16:23:36 -05:00
test.py Create test.py 2020-09-03 10:12:11 -05:00
test.r Add test.r 2020-09-15 10:55:32 -05:00
test.rb Add test.rb 2020-09-13 10:43:14 -05:00
test.rs Update test.rs 2021-04-18 22:30:44 -05:00
test.sh Add test.sh 2020-09-16 11:13:36 -05:00
test.txt Update test.txt 2020-09-01 11:47:50 -05:00

print("Hello, World!")

One program in a potpourri of programming languages.

Summary
  './testc' ran
    1.06 ± 0.30 times faster than './testcpp'
    1.21 ± 0.40 times faster than './testrs'
    1.31 ± 0.35 times faster than './testgo'
    2.12 ± 0.50 times faster than 'mono test.exe'
    3.59 ± 0.82 times faster than 'java test'
    3.66 ± 0.82 times faster than 'node test.js'
    5.43 ± 1.13 times faster than './tesths'
   10.00 ± 1.90 times faster than 'lua test.lua'
   15.52 ± 2.77 times faster than 'ruby test.rb'
   16.78 ± 3.00 times faster than 'julia test.jl'
   26.43 ± 4.69 times faster than 'python test.py'
   39.73 ± 7.00 times faster than 'perl test.pl'
   49.11 ± 8.64 times faster than 'ecl --shell test.lisp'
  186.17 ± 32.73 times faster than 'Rscript test.r'

¯\_(ツ)_/¯