Traditional Culture Encyclopedia - Traditional culture - There are several types of browser kernels.

There are several types of browser kernels.

A browser consists of a shell and a kernel. The shell is the shell of the browser, and various functions are realized by calling the kernel. The kernel is the core of the browser, and it is a program or module that displays content based on markup language. There are five kinds of browser kernels, namely Trident kernel, Gecko kernel, Webkit kernel, Blink kernel and obsolete Presto kernel. There are three main technical branches: typesetting rendering engine and JavaScript engine. Let's look at several types of browser kernels. 1. What does the browser kernel mean?

Browser kernel refers to the core part of the browser, which is responsible for explaining the grammar of web pages (such as HTML and JavaScript, an application under standard generalized markup language) and rendering (displaying) web pages.

Browser is divided into two parts, shell+kernel. Shell refers to the shell of the browser, such as menu, toolbar, etc. , which is mainly provided for user interface operation and parameter setting, calls the kernel to realize various functions. The kernel is the core of the browser, and it is a program or module that displays content based on markup language.

Usually the so-called browser kernel is the rendering engine used by the browser, which determines how the browser displays the content of the web page and the format information of the page. Different browser cores have different interpretations of the syntax of webpage writing, so the rendering (display) effect of the same webpage in different kernel browsers may be different.

Second, there are several types of browser kernels.

Browsers have more than one kernel, and there are five types:

1, trident kernel

Trident (also known as MSHTML) is an open kernel. Because its engine is designed as a software module, other software developers can add the browsing function of web pages to their developed applications. Trident kernel interface is very mature, but it can't be used on other operating systems except windows operating system, so it can't be used across platforms.

2. clam kernel

Ecko is characterized by completely open code, so it can be highly developed, and programmers all over the world can write code and add functions for it. Because it is an open source kernel, it is favored by many people, and there are many browsers for the gecko kernel, which is also an important reason why the gecko kernel can rapidly increase its market share although it is young.

3. presto kernel

The feature of this browser kernel is that the rendering speed is optimized to the extreme. It's actually a dynamic kernel. The biggest difference from the previous kernel is script processing. Presto has a natural advantage that it can reparse all or part of a page in response to script events. However, at the expense of the compatibility of web pages, development has stopped and abandoned.

4.Webkit kernel

Webkit engine includes WebCore typesetting engine and JavaScriptCore parsing engine, both of which are derived from KDE's KHTML and KJS engines. They are free software, authorized by GPL protocol, and support the development of BSD system. So Webkit is also free software and open source code.

Step 5 blink the kernel

Blink rendering engine was launched on 20 13, which is a multi-processing architecture system. The new kernel will improve the function of the whole open source network ecosystem.

Third, the browser kernel has several technical branches.

There are three main technical branches in the browser kernel: typesetting and rendering engine, JavaScript engine and others:

1, typesetting and rendering engine

The function of typesetting and rendering engine is mainly responsible for obtaining web content (HTML, XML, pictures, etc. ), sort out the information, calculate the display mode of the web page, and then output it to the display. All web browsers, e-mail clients and other applications that need to edit and display the content of web pages need typesetting and rendering engines, especially typesetting and rendering engines, which determine how browsers display the content and format information of web pages.

2.JavaScript engine

The JavaScript engine is used to render JavaScript. The faster the rendering speed of JavaScript, the faster the display speed of dynamic web pages. Therefore, the browser kernel developed under this branch technology mainly focuses on the usage speed and user experience of the browser.

3. Others

Other types of technology branches are mainly a few technologies.