by cromwellian · 10y ago · 0 comments
The WeChat SDK allows apps to run JS from inside WeChat itself. You see this in action in China where you can actually do complex stuff like book a taxi via Didi Dache without necessarily having to switch back and forth between heavyweight apps.
How many layers of cruft do we need?
- The phone OS has a shell, usually written in native code.
- The messenger app runs on top of the shell, usually written on top of some type of VM.
- The messenger app contains a web browser that renders other apps, written in js.