3 ms·
Being able to write asynchronous (multi-threaded or not) code so easily using FP is most definitely not a pitfall. Even in the most simple multi-threaded imper
by ece 9y ago
Being able to write asynchronous (multi-threaded or not) code so easily using FP is most definitely not a pitfall.
Even in the most simple multi-threaded imperative programs, no compiler or hardware will give you almost any sort ordering guarantees by default. You have to use atomics or volatile or something else to get specific ordering guarantees. It's the same in FP compilers too.
- crimsonalucard 9y ago>Being able to write asynchronous (multi-threaded or not) code so easily using FP is most definitely not a pitfall. Your point? You're saying this as if I disagreed with you. What are you trying to argue here? That FP is the better than imperative? Did I ever dispute that claim? Where are you going with this?