For performace testing between Python, Pypy, Go and Rust
Some results are at RESULTS
claus@telco:~/code/nanog90i/python% python3.12 --version
Python 3.12.0
claus@telco:~/code/nanog90/python% pypy3 --version
Python 3.6.9 (7.3.1+dfsg-4ubuntu0.1, Nov 15 2022, 06:22:42)
[PyPy 7.3.1 with GCC 9.4.0]
claus@telco:~/code/nanog90/go% go version
go version go1.21.6 linux/amd64
claus@telco:~/code/nanog90/rust% rustc --version
rustc 1.75.0 (82e1608df 2023-12-21)
% /usr/bin/time -f "%MKB %P %es" python3.12 flipsum-threads.py
% /usr/bin/time -f "%MKB %P %es" pypy3 flipsum-threads.py
% go build flipsum-goroutines.go
% /usr/bin/time -f "%MKB %P %es" ./flipsum-goroutines
% rustc -C opt-level=3 flipsum-threads.rs
% /usr/bin/time -f "%MKB %P %es" ./flipsum-threads
% /usr/bin/time -f "%MKB %P %es" python3.12 prime-multiproc.py
% /usr/bin/time -f "%MKB %P %es" pypy3 prime-multiproc.py
% go build prime-goroutines.go
% /usr/bin/time -f "%MKB %P %es" ./prime-goroutines
% rustc -C opt-level=3 prime-threads.rs
% /usr/bin/time -f "%MKB %P %es" ./prime-threads