Re:Ruby 3.0.0 RC1
by pjmlp on Monday December 21, 2020 @02:56PM
(#25498810)
Smalltalk collections have map reduce, and it is as OOP as it gets.
[ Parent
| on HN ]
Parallelize smalltalk collections across multiple machines without a distributed coordinator (reduce). Even the pedantic original version of smalltalk OOP has this problem.
map-reduce and functions do not require coordination until reduction. map doesn't require a serialized mailbox (like actors), or worrying about ordering in time. Smalltalk requires a consistent state and the location of where to send messages is important. Distributed map is stateless. All versions of OOP concern themselves with state encapsulation, whereas map is state elimination. map is functional.