3 ms·
>runs in a VM Would you please elaborate on this? I tried to find some info but no luck. Does gmail.com actually load some virtualization technology in the bro
by npteljes 6y ago
>runs in a VM
Would you please elaborate on this? I tried to find some info but no luck. Does gmail.com actually load some virtualization technology in the browser?
- v8dev123 6y agoGmail use custom bytecode interpreter implemented on Javascript. It's like Dart VM ;) I however got down voted for explaining purpose of all this. Guess attackers hate me. Whatever. Leaving HN for all good!
- yasinaydin 6y agoIt makes me happier to see HN will have less user who sees the world in binary as "good guy billionaire DRM industry lords with lots of secrecy for good" and "communists, hackers, terrorists and bin laden".
- v8dev123 6y ago> "good guy billionaire DRM industry lords with lots of secrecy for good" Youngsters these days lack sense of capitalism (and hard work) and that's why they fail to start companies that produce value to the society. DRM Industry protects intellectual property. The entire Hollywood fully invested in DRMs because they value their hard work. A DRM-free world is a world without capitalism, where every hard work becomes pirated and the economy starts to crumble.
- sequoia 6y agoAll JavaScript apps run in the browser with its own JS engine (V8 in chrome) garbage collection, etc. This is effectively a VM I think. Like you deploy Java apps to the JVM, you deploy JavaScript apps for the “browser VM.” Google writes gmail but they also write chrome and V8, so they are in a unique position of writing both the application and the platform it runs upon. Presumably this would allow them to make something more performant than most, not less.
- npteljes 6y agoI see, thanks for the clarification!