3 ms·
The Actor model comes from CSP and OOP from Simula. The core difference is in the expectation of data handling rather than machine boundaries or scale. Certainl
by karmakaze 5y ago
The Actor model comes from CSP and OOP from Simula. The core difference is in the expectation of data handling rather than machine boundaries or scale. Certainly actors can run in a single process or OOP across machine boundaries. An object in OOP is meant to be a representation of some thing and all its state/behaviours. An actor has state but only one 'inbox' which of course could be abused to do any computation but that's not the motivation of the style. It's the complex or highly-interconnected relationships with OOP that makes it less suitable for distributed computing. K8s is about utilizing infrastructure and largely orthogonal.