A potpourri of programming languages
Go to file
2022-01-08 18:57:26 -06:00
LICENSE Initial commit 2020-08-31 20:42:31 -05:00
README.md Remove old blog link from header in README 2021-12-31 14:42:10 -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 Add run script 2021-12-08 12:32:19 -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.04 ± 0.34 times faster than './testcpp'
    1.28 ± 0.44 times faster than './testrs'
    1.55 ± 0.43 times faster than './testgo'
    1.92 ± 0.50 times faster than 'mono test.exe'
    3.36 ± 0.80 times faster than 'node test.js'
    3.62 ± 0.97 times faster than 'java test'
    5.75 ± 1.39 times faster than './tesths'
   10.10 ± 2.26 times faster than 'lua test.lua'
   14.64 ± 3.13 times faster than 'ruby test.rb'
   16.16 ± 3.49 times faster than 'julia test.jl'
   26.99 ± 5.82 times faster than 'python test.py'
   40.10 ± 8.57 times faster than 'perl test.pl'
   50.02 ± 10.75 times faster than 'ecl --shell test.lisp'
  182.08 ± 39.19 times faster than 'Rscript test.r'

¯\_(ツ)_/¯