by r12343a_19 · 4y ago · 0 comments
I mean, there's so much work to keep C safe and make sure memory is managed well, etc.
What the project needs is a virtual machine! Clearly they don't care about performance when security is on the line (they did disable multithreading, no?). A good virtual machine will be a small performance loss compared to dealing with this stuff... forever.
Of course, you still have to deal with user land binaries.
This mailing list article is about providing new or modified behavior in the kernel to guarantee behaviors - and security - to userland programs in any language.
Re: Disabling multithreading, I think you might be referring to disabling simultaneous multithreading (SMT) (edited: fixed thanks to a comment), also known as hyperthreading.
"Eric Bier Demonstrates Cedar"
https://www.youtube.com/watch?v=z_dt7NG38V4
Or, for another example,
https://people.inf.ethz.ch/wirth/ProjectOberon/Sources/Kerne...
It is only incompatible with UNIX school of thought.
Symmetric multiprocessing (SMP) is when all processors have uniform distance from all memory, as opposed to non-uniform memory access (NUMA).
Java's virtual machine is so substantially different it's hard to know where to begin.