From: Tim Vaughan Date: Sat, 1 May 2021 20:04:32 +0000 (+0200) Subject: Added notes. X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?a=commitdiff_plain;h=0738ba46a46bfb68ef66ea0593b9510ddc7e7685;p=sam.git Added notes. --- diff --git a/NOTES.org b/NOTES.org new file mode 100644 index 0000000..0491b32 --- /dev/null +++ b/NOTES.org @@ -0,0 +1,19 @@ +#+TITLE: Implementation notes and ideas + +* Initial actor + SAM has just one pre-defined actor: the system actor which can: + - return the terminal actor + - make and return network-terminal actors + - shut down the system + - save and restore system images + + As for other actors, the address of this actor is not guessable and must + be explicitly provided. This is especially important for the system actor + as this is the only thing preventing arbitrary actors from killing or otherwise + interfering with the VM. + +* Initial behaviour + On startup, SAM can be passed a behaviour. An actor with + this behaviour will be created and passed the address to the + system actor. This defines the eventual behaviour of the machine. +