3 ms·
Pure functional programming provides benefits in domains where you don't need parallelism or concurrency, too. It controls side effects, allowing safe compositi
by TazeTSchnitzel 11y ago
Pure functional programming provides benefits in domains where you don't need parallelism or concurrency, too. It controls side effects, allowing safe composition of functions.
- seanmcdirmid 11y agoRight. Just like it is often useful to avoid functional code in cases where parallelism is needed for performance reasons (e.g. in CUDA).
- sebastianconcpt 11y agoWhat's the paradigm that fits best for CUDA?
- seanmcdirmid 11y agoSIMT of course, it is more similar to array programming than functional (of course, array and relational programming all have relationships with FP).