2 ms·
> but can you show me any demo where a FP language outperforms C for parallel tasks? Modulo rewriting your C so that it does exactly what the FP language (runt
by srean 10y ago
> but can you show me any demo where a FP language outperforms C for parallel tasks?
Modulo rewriting your C so that it does exactly what the FP language (runtime) does, such examples are not difficult to come by. Stalin, Stalingrad and Roger Fateman would be good starting points.
Regarding rewriting your C to match what the FP compiles into (or executes on the fly), the point is its very hard to write such _correct_ C unaided. So you use the higher level constructs to write that machine code / assembly / C.