In the Erlang/OTP group since 2000, currently in the Protocols team. Author of for example gen_statem, the etp toobox, major contributor to rand, socket, and diverse stuff in the VM, Kernel, Stdlib and the SSL application
A description of the selection and development of the new list shuffle algorithm in the rand module in OTP 29, what makes the different possible algorithms fast or slow, and how to optimize them.
We look at known shuffling algorithms, where functional ones are hard to find online, study their implementation in Erlang, benchmark how they perform with the garbage collector, show some optimizations, and arrive at the chosen algorithm that the author could not find on the Internet.
Key Takeaways:
Target Audience: