Skip to content

Comment on What technology do they use to have Android/iOS emulator in web browser?parent

Comments

If there were virtual machines behind the web pages, every time user would create an emulator for testing.

How powerful those servers should be? You know, even on a plain PC, it would take dozens of seconds and 512MB/1GB+ RAM to boot.

If they did what you assume, the powerful PC should be very powerful.

And in the frontend-programming, the webpage can talk with VMs in Ajax or persistent socket connection, e.g. TCP connection via websockets. And the message protocol for persistence can be specific.

"jslinux" uses ajax to fetch binary from server and runs it locally in web browser. It does not need any internet connection after that. The JS VM actually runs in your browser other than from any server. I think this is different from what http://manymo.com does.

Here's is the picture. http://imgur.com/XRvvw8N

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.