It is JavaScript Engine developed for web browser Google Chrome .
JavaScript Engine is Program or Library that helps to compile and execute JavaScript code.
It mainly used in Web Browsers.
Examples of JavaScript Engines-
V8- Chrome
Rhino -Firefox
Chakra - Microsoft IE
V8 complies JavaScript code to machine code before executing it.
Traditional Approach is compiling whole program to machine code before executing it.
Instead V8, optimizes complied code at runtime.
Applications -
NodeJs, MongoDB, and Couchbase use V8 engine
Uses ->
Client Side Applications - Chrome (All Browsers)
Server Side Applications - NodeJs
**Advantages -
1.It is much faster than its peers because it compiles code directy to machine code without generating byte code(intermediate code).
2.It uses 2 compilers to compile code one after another.Second run compiler mainly optimizes main functions.
JavaScript Engine is Program or Library that helps to compile and execute JavaScript code.
It mainly used in Web Browsers.
Examples of JavaScript Engines-
V8- Chrome
Rhino -Firefox
Chakra - Microsoft IE
V8 complies JavaScript code to machine code before executing it.
Traditional Approach is compiling whole program to machine code before executing it.
Instead V8, optimizes complied code at runtime.
Applications -
NodeJs, MongoDB, and Couchbase use V8 engine
Uses ->
Client Side Applications - Chrome (All Browsers)
Server Side Applications - NodeJs
**Advantages -
1.It is much faster than its peers because it compiles code directy to machine code without generating byte code(intermediate code).
2.It uses 2 compilers to compile code one after another.Second run compiler mainly optimizes main functions.
No comments:
Post a Comment