4 ms·
When I rewrote applications from Java to Erlang I was amused of how much different it was. Not only codewise but how you attack the problem. FP makes the progr
by isodude 7y ago
When I rewrote applications from Java to Erlang I was amused of how much different it was. Not only codewise but how you attack the problem.
FP makes the programmer rethink the way that the problem is solved. I think that adding threads on non FP code makes it hard from the get go.
Don't hide it on hardware, rethink the approach instead.
- pdimitar 7y agoI mean, many people have the right idea but for now we have no choice but to emulate the right parallelism approaches on top of the wrong hardware architecture. Maybe this will change one day. As for FP... I remember a guy saying "imperative/OOP shows you how it does stuff, while FP shows you what is it doing". It was a very eye-opening statement for me.
- isodude 7y agoI'm not saying you are wrong btw, there are multiple efforts put there to create truly parallell processors. But it's not until recently that the technique exist to make them good enough. Good times ahead I would say. I personally know someone part of such effort. I clearly remember the feeling of just getting it as well. It was a very binary moment :)