Built on Python 2.7 on MacOS
$ python parallelism_python.py
Built on Go 1.75 on MacOS
$ go run paralleism_go.go
Built on Ruby 2.3.1 on MacOS. Process forking example will only work on *nix systems. Behaviour may be different in Ruby < 1.9.
$ ruby parallelism_ruby.rb
Built on OTP 19, Elixir 1.4.1 (the necessary async_stream function does not exist on Elixir < 1.4) on MacOS
$ elixir -r parallelism_elixir.ex -e 'Concurrency.async_with_limit'
$ elixir -r parallelism_elixir.ex -e 'Concurrency.async_eager
$ elixir -r parallelism_elixir.ex -e 'Concurrency.async_lazy'
$ elixir -r parallelism_elixir.ex -e 'Concurrency.sync'
Built on rust 1.15.1 on MacOS 10.10. To compile and run:
$ rustc parallelism_rust.rs && ./parallelism_rust