Re:OCaml on Baremetal Shakti RISC-V Processor
by pjmlp on Saturday March 30, 2019 @05:54AM
(#19528650)
Each process would execute with the minimal set of permissions that it needs to perform its tasks.
Whereas in interprocess, each thread can do everything that the whole process is allowed to do, so a security exploit in e.g. file parser, opens the door for doing other stuff that a file parser shouldn't be allowed to start with.
An easy to use IPC is to use pipes, mailboxes, message queues, just like channels.
Yes it might be slower, but for a large set of problems it is fast enough.
Whereas in interprocess, each thread can do everything that the whole process is allowed to do, so a security exploit in e.g. file parser, opens the door for doing other stuff that a file parser shouldn't be allowed to start with.
An easy to use IPC is to use pipes, mailboxes, message queues, just like channels.
Yes it might be slower, but for a large set of problems it is fast enough.