Is there a virtual machine for HTML 5, like there is in Object Oriented Programming languages?

Ask a question+

I noticed HTML 5 has classes. Do you think its possible to have a binary code for HTML 5 one day? Then web design would be like coding for object oriented programming languages.

yu_30 0
add comment

1 Answer


Javascript already has classes. As for the binary code I did read somewhere a while ago that something was being done about running compiled machine code in the browser but I didn’t pay much attention to it and it has not happend yet.

The problem with compiled machine code is that its dangerous, you have the same privilages as the running program and it can be easily exploited. It would be unsafe running machine code in a browser from a web page.

Byte code on the other hand would be a lot safer

add comment

Your Answer