<<  brutally short introduction to erlang    index    multiple process erlang implementation  >>

single process erlang implementation

let's first implement it across a single list on one machine before generalising to a number of lists across multiple erlang processes
you can download this code from github

try it out with

bash> erlc median.erl
bash> ./generate_test_data.rb 0 40 60 1000 > numbers
bash> erl -noshell -s median from_file numbers
40

<<  brutally short introduction to erlang    index    multiple process erlang implementation  >>

nov 2008