3 ms·
Here is a worked example of how to implement radix sort using only immutable data-parallel operations: https://futhark-lang.org/examples/radix-sort.html https:/
by Athas 7y ago
Here is a worked example of how to implement radix sort using only immutable data-parallel operations: https://futhark-lang.org/examples/radix-sort.html https://futhark-lang.org/examples/radix-sort.html
There will of course be "impure" writes at the machine level, but at the language level, the abstraction doesn't leak.