Content deleted Content added
Corrected what I believe to be a small typo: "Elm-generates" to "Elm-generated" |
WebAssembly technology allows a Javascript to be pre-compiled into a Virtual Machine binary instruction format known as a WebAssembly that allows near native performance execution of Javascript. |
||
Line 681:
The differences between the two languages are more prominent than their similarities. Java has [[static typing]], while JavaScript's typing is [[Dynamic typing|dynamic]]. Java is loaded from compiled bytecode, while JavaScript is loaded as human-readable source code. Java's objects are [[Class-based programming|class-based]], while JavaScript's are [[Prototype-based programming|prototype-based]]. Finally, Java did not support [[functional programming]] until Java 8, while JavaScript has done so from the beginning, being influenced by [[Scheme (programming language)|Scheme]].
==Web Assembly==
Starting in 2017, Web Browsers started supporting [[WebAssembly]] technology standardized by the [[WC3]]. This Technology allows a Javascript to be pre-compiled into a Virtual Machine binary instruction format known as a [[WebAssembly]] that allows near native performance execution of Javascript. To enable this feature Javascript source is compiled into a binary format using a compiler backend tool such as [[LLVM]] to produce WebAssembly binary format that is placed on the web server for direct download by the client browser, thus hiding the javascript source code as binary instruction code. Further, the introduction of WebAssemebly Technology into the Web Browsers allows other programming languages such as C, C++, C#, Java, etc. to directly compete against Javascripts without the need to install a web-browser plugins to enable a competing non-javsscript language to run instead a browser, simply by compile these langauges into the same shared WebAssembly format.
== See also ==
|