I'm working on optimizing memory usage for the browser process, but I enjoy thinking about global once-and-for-all solutions. Lately I've been thinking: can we compile some Mojoified components as NaCL code, run them in NaCL sandboxes, and kill those sandboxes on low-memory conditions? (So sandboxes will serve as cheap processes.)
I guess Mojo-wise there shouldn't be any problem talking with a component inside NaCL? And handling a situation where it suddenly dies?