Fifteen Ways to Leave Your Random Module by Kenji Rikitake

By Erlang Central | Published: September 29, 2016

Slides and more info:

Legacy “random” module is deprecated in Erlang/OTP Release 19, and will be removed from the Release 20. Erlang developers are supposed to use “rand” module as the primary Pseudo Random Number Generators (PRNGs), available from Release 18. Kenji describes the details in the brief history of Erlang/OTP PRNGs and how to migrate to the newer algorithms including those of “rand” module, with showing their advantages and limitations.

Talk objectives:

* Show the general information of when and how to choose a specific PRNG algorithm

* Show the pitfalls on using PRNGs and how to avoid them on Erlang

* Show the advantages and limitations of newer algorithms in “rand” module

* Show the practical use cases of PRNGs, focusing on concurrency and parallelism

Target audience:

Programmers interested in Erlang library internals, and the users intending to apply Erlang for simulation and modelling.

Follow Erlang Central:

Have an Erlang Question?

Reach out to the Erlang community