Reductions vs. OS Time Slices: The Portability Edge

BEAM uses reductions for preemptive scheduling instead of traditional OS time slices primarily for performance and portability. Counting reductions (integer decrements) is more efficient and consistent across different operating systems than relying on expensive, variable OS-level time readings.

Open the full topic