On 10/27/2026 8:03 AM, Scott Lurndal wrote:
> cro…@spitfire.i.gajendra.net (Dan Cross) writes:
>> In article <2026…@yahoo.com>, >> Michael S <alre…@yahoo.com> wrote:
>>> On Tue, 27 Oct 2026 09:06:26 +0100 >>> David Brown <davi…@hesbynett.no> wrote:
>>>> [snip] >>>> And there are languages like Erlang that divide everything into >>>> micro-processes, and use the same mechanisms for controlling and >>>> passing data around regardless of whether this little processes are >>>> in the same thread, or different threads, different OS processes, or >>>> different computers. That works because there are very narrow and >>>> tightly controlled mechanisms for sharing data. >>>> >>>> Note that these are both languages that run on a VM, not compiled >>>> languages.
>>> >>> What you wrote about Erlang resembles MPI, which of course is readily >>> available for many compiled or jitted languages, including Fortran, C >>> and C++. >>> I tried to utilize MPI 20 years ago, but the thinking behind it is to >>> different from mine, so I ran away in horror.
>> >> Erlang uses the "actor" model to represent concurrency; state is >> held by each actor, and actors communicate via message passing, >> potentially changing state in response to messages. This is a >> model for _concurrency_, in which multiple independent threads >> of execution are coordinated to some in a single system.
> > Chorus (the microkernel) worked in a similar fashion. The > microkernel coordinated between actors using message passing. > > The actors implemented the higher level operating system > functionality. The Amadeus project, for example, implemented > a version of unix on top of the microkernel using message > passing between actors (The Object manager handled files and > filesystems, the Process actor handled the POSIX process > and thread (SVR4.2ES/MP threads) interfaces including fork, > and light-weight processes that implemented threads, and > the Streams actor provide system V streams support and > networking. > > Unisys released the OS as part of their massively parallel > OPUS computer system.
There are many ways to handle proper sync in multiprocess systems. Indeed.