As a local vat never shares direct access to objects outside of itself, with the notable exception of the GC, it may be safe to put a separate vat on a different native thread. I am still trying to resurrect RemotePromises, needed for any inter-vat messaging (Async sending), but what is in PromisesLocal would provide the native vat.
I’m wanting to make each message send activation it’s own green thread to implement a non-blocking VatScheduler VatSemaphore>>#wait, which would unschedule the waited green process and activate the next scheduled Async message send. Signaling the semaphore would reschedule the waited send to resume.
However, do you think it may be possible using Vats to provide a multithreaded Squeak VM?
Have a good one; keep it, light. Kindly, rabbit . .. … ‘…^,^
Sent from Callisto House :: decentralized mobile homeless solutions
On Sep 9, 2022, at 22:09, rabbit rabbit@callistohouse.org wrote:
As a local vat never shares direct access to objects outside of itself, with the notable exception of the GC
I meant to say that a vat never shares direct access to objects inside itself, with the notable exception of the GC.
Might this work?
Have a Good One; Keep it, Light. Kindly, rabbit . .. … ‘…^,^
Sent from Callisto House :: decentralized mobile homeless solutions
On Sep 10, 2022, at 13:59, rabbit rabbit@callistohouse.org wrote:
On Sep 9, 2022, at 22:09, rabbit rabbit@callistohouse.org wrote:
As a local vat never shares direct access to objects outside of itself, with the notable exception of the GC
I meant to say that a vat never shares direct access to objects inside itself, with the notable exception of the GC.
I intend to say: A vat never shares objects inside itself with any other vat.
Might this work?
Have a Good One; Keep it, Light. Kindly, rabbit . .. … ‘…^,^
Sent from Callisto House :: decentralized mobile homeless solutions
On Sep 10, 2022, at 14:02, rabbit rabbit@callistohouse.org wrote:
On Sep 10, 2022, at 13:59, rabbit rabbit@callistohouse.org wrote:
On Sep 9, 2022, at 22:09, rabbit rabbit@callistohouse.org wrote:
As a local vat never shares direct access to objects outside of itself, with the notable exception of the GC
I meant to say that a vat never shares direct access to objects inside itself, with the notable exception of the GC.
I intend to say: A vat never shares objects inside itself with any other vat.
A vat shares objects either as pass-by-copy or as a FarRef/RemotePromise.
Might this work?
Have a Good One; Keep it, Light. Kindly, rabbit . .. … ‘…^,^
Sent from Callisto House :: decentralized mobile homeless solutions
vm-dev@lists.squeakfoundation.org