browser kernel, render engine, JS engine
The browser kernel can also be divided into two parts: the Render engine (layout engineer or Renderingengine) and the JS engine.
Rendering Engine function
The rendering engine, which is responsible for interpreting the syntax of Web pages (such as HTML, JavaScript) and rendering Web pages. So, usually the so-called browser kernel is the browser's use of the rendering engine, the rendering engine determines how the browser to display the content of the page and the format of the page information. Different browser kernels have different interpretations of the syntax of the Web page, so the rendering (display) effect of the same Web page in different kernel browsers may also be different, which is why the page creator needs to test the page display in different kernel browsers.
Current mainstream rendering engine kernel:
Firefox uses Gecko engine
IE uses Trident engine
2015 Microsoft launched its own new browser, formerly known as Sparta, later renamed Edge, using Edge engine
Opera first used the Presto engine, and later abandoned
Chrome\safari\opera use WebKit engine
13 Chrome and Opera start using Blink engine
JS engine function
The first rendering engine and JS engine did not distinguish the very clear, then the JS engine more and more independent, the kernel is inclined to refer only to the rendering engine. JavaScript was originally designed by Netscape's Brendan Eich, a dynamic, weakly typed, prototype based language with built-in support classes. Based on it, the ECMAScript standard is established. JavaScript must also contain the DOM and BOM in the browser's implementation. Web browsers typically use a public API to create host objects that are responsible for reflecting the DOM objects into JavaScript. The JS engine is responsible for interpreting, compiling, and executing JavaScript to enable Web pages to achieve some dynamic effects.
The main web browser JavaScript engine:
1) Mozilla
· Rhino, managed by the Mozilla Foundation, is open source and is written entirely in Java.
· SpiderMonkey, the first JavaScript engine, was written by Brendaneich at Netscapecommunications, for the Mozilla firefox1.0~3.0 version.
· Tracemonkey, an engine based on Just-in-time compilation, where part of the code is taken from the Tamarin engine for the Mozilla Firefox 3.5~3.6 version.
· Jägermonkey, (Jägermonkey, also someone spelled Jagermonkey) German Jäger intended for hunters, combined with tracking and combination of code technology to significantly improve performance, some of the technology to borrow Chisel V8, JavaScriptCore, WebKit, For Mozilla Firefox version 4.0 above.
2) Google
· V8, open source code, developed by Google Denmark, is part of Google Chrome.
3) Microsoft
· Chakra, Chinese translation of chakra, for Internet Explorer 9.
· JScript is an Active scripting language developed by Microsoft and is the implementation of Microsoft's ECMAScript specification. JS engine used by IE 3.0-ie8.0
4) Other
O Kjs,kde's Ecmascript/javascript engine, originally developed by Harri Porten, is used in Konqueror Web browsers for KDE projects.
o Narcissus, open source code, written by Brendaneich (he also participated in the preparation of the first SpiderMonkey).
o Tamarin, written by Adobelabs, the engine used by Flash Player 9.
O Nitro (formerly Squirrelfish), written for Safari 4.
o Carakan, written by Opera Software, has been used since the Opera10.50 version.
· From:http://www.cnblogs.com/xiaohuochai/p/4750452.html
· The article is the reference, reproduced other blog income, only for their own learning to take notes use ...