📜 ⬆️ ⬇️

Jvm on javascript

Programmer Arthur Ventura (Artur Ventura) has a very specific look at the place of JavaScript in web development. In his opinion, along with the engine for rendering JavaScript, browsers need to include a virtual machine that will allow programs to be run in any programming language. To demonstrate the thesis, Arthur spent six months developing a BicaVM virtual machine that interprets and executes Java bytecode, and the virtual machine itself is written in JavaScript.

BicaVM can handle approximately 60% of the bytecode and is not yet optimized, but it runs on an iPad / iPhone and supports the JNI interface for the DOM.

Like many other JavaScript experiments (see JavaScript “operating system” or H.264 decoder in JavaScript ), BicaVM is hardly practical, it’s just a conceptual development to prove the idea that a browser should be perceived as a virtual machine for various programs. Well, JavaScript seems to play the role of an assembler on the Internet.
')
As a joke, Arthur can be advised to write another browser in Java and experiment with both of their developments.

Source: https://habr.com/ru/post/133406/


All Articles