@orangy: Sounds cool, and good to know that they can be serializable in the future even if not out the gate. I think that opens up some amazing possibilities. eg. making communication between a server and browser almost invisible to the programmer by transparently moving computation between server and browser depending on what’s needed.
That would be ambitious of course, not just security, plus it assumes you support coroutines in JavaScript too and the serialization format is compatible. But I think some day this is how web apps will work.