by madflame991 · 4y ago · 0 comments
I saw a talk a while ago that was advocating for the same thing, except this was about JS and not webassembly. I can't find it tho - I remember it being related to the WAT js talk; It also mentioned that it would eliminate rings on the cpu (and simplify cpus) and context switches which would make execution faster; they were citing some MS research on the matter - damn I really wanna find the talk now...
Edit: https://www.destroyallsoftware.com/talks/the-birth-and-death...
thanks BoppreH
MS research: "Hardware-based isolation incurs nontrivial performance costs (up to 25-33%) and complicates system implementations" (virtual memory and protection rings); I think MS knows what they're talking about here
https://en.wikipedia.org/wiki/Singularity_(operating_system)
There is also a really great blog about Singularity’s “rebirth” experimental OS, Midori, that continued in its footsteps.
To put in another way - I don't think that security or performance are that hard to achieve on their own - the hard part is getting both at once. And then, adding expressiveness on top is even more difficult, as Rust as aptly demonstrated.