3 ms·
The difference is that in canvas, you have to reimplement a rendering engine; in native code, you just run WebKit. This is key! Cross-website communication is
by ezyang 14y ago
The difference is that in canvas, you have to reimplement a rendering engine; in native code, you just run WebKit. This is key!
Cross-website communication is certainly tricky, check out section 4 of the technical report.
- maxerickson 14y agoThe comparison to the browser based web seems like a bad way to sell the idea. Not managing a huge stack is a pretty nice feature, and the comparison invites people to imagine managing the whole stack. Why not just call it a sandboxed environment and delivery mechanism for untrusted native code? Then a browser implementation demonstrates how great the security model is and how rich/capable the environment is.