3 ms·
Even stuff that can be handled by futures and message passing feels relatively trivially parallelizable to me. Anytime you've got a problem that can be decompo
by bunderbunder 11y ago
Even stuff that can be handled by futures and message passing feels relatively trivially parallelizable to me. Anytime you've got a problem that can be decomposed into distinct subcomponents that only need minimal contact with each other you can keep most the real nasty concurrency issues swept under the carpet. And the functional stuff still feels like it works fairly well to me because it's easy enough to model all the different subcomponents as more-or-less idempotent operations on the elements of a message stream.
The spot where I'm finding that functional programming just cannot help me is when I really do need to have all the cooks in the same kitchen to get good performance. Those situations exist in a world of highly refined, weapons-grade side effect, and the only thing to be done for it if you find yourself there is to come to terms with that fact and get on with your job.