Home  >  Article  >  Web Front-end  >  Mainstream browser kernel and JS engine

Mainstream browser kernel and JS engine

黄舟
黄舟Original
2017-03-25 11:07:534265browse

Give you some popular scienceMainstream browsers

Learn web front-end, browsers and editors are our good friends
So there are It is necessary to understand some small knowledge about browsers
For example: What is a mainstream browser

Mainstream browser

A mainstream browser has a certain market share and has its own independent research and development kernel The browser can also be called a native browser
The common ones we all have are:

IE/Edge, Chrome, Safari, Opera, Firefox As for The qq browser, uc browser, etc. that are also commonly used by all of us are shell browsers
They just take the core of the native browser, streamline it, and package it,


Yeah Today is 2016.10.29

Let me show you today’s browser market share statistics

Mainstream browser kernel and JS engineNet Market Share
From this picture, we can see which company There are more browser customers
Sure enough, chrome is still far ahead. Well, I also think chrome is the best browser...

browser kernel

There are many names for the browser kernel, rendering Engine, typesetting engine, interpretation engine, English Rendering Engine

is used to render web page content and convert your web page code into visible pages
In the early kernel, the js engine was also included, but now js engines are becoming more and more popular. Independent, you can put it forward separately
The core and changes of mainstream browsers are as follows
(The focus of the interview questions, many written online are outdated now, so I summarized it)

Mainstream BrowserKernel##IE -> EdgeChrome##SafariwebkitFirefoxGeckoOperaPresto->blinkEdge was launched by Microsoft with win10 (Microsoft dislikes IE)
trident-> ;EdgeHTML
webkit->blink

Browser js engine

js engine is used to interpret and execute js code

When extended Get to know it, don’t remember it carefully


Mainstream browserjs engineIE -> EdgeJScript (IE3.0-IE8.0) / Chakra (after IE9+, Chakra, does Microsoft also watch Naruto...)ChromeV8(famous)SafariNitro(4-)FirefoxSpiderMonkey(1.0-3.0)/TraceMonkey(3.5-3.6)/JaegerMonkey(4.0-)Linear A(4.0-6.1) / Linear B (7.0-9.2) / Futhark (9.5-10.2) / Carakan (10.5-) SpiderMonkey is the first JS engine, the father of JavaScript Written by Brendan Eich when he was at Netscape
##Opera

Here are some pictures


Mainstream browser kernel and JS engine
Mainstream browser kernel and JS engine I didn't expect that IE, the winner of the first browser war, would end up in such a miserable situation
In the end, it was ruthlessly abandoned by Microsoft, ending in tragedy
If you don't want it, you don't want 22w lines of code

I think Microsoft is also struggling with this After a long time, I finally made a difficult decision

Decided to develop the Edge engine from scratch

The former IE used the monopoly of Windows to formulate its own independent "IE standard"
The past five years of IE There were no updates, and by the time it realized the problem, it was too late
The subsequent launch of IE7 and IE8 (the source of evil in writing compatibility) made it even more questionable and criticized

Having said this Actually, I just want to say that chrome is really great (~ ̄▽ ̄)~
Just kidding
I also hope everyone will remember the lessons of IE

Finally, let me give you an old saying...(Although It has nothing to do with the title)



Learning is like sailing against the current, if you don’t advance, you will retreat.
—–"Zengguang Xianwen"

The above is the content of the mainstream browser kernel and JS engine. For more related content, please pay attention to the PHP Chinese website (m.sbmmt.com)!

Related articles:

Browser kernel summary

Browser kernel information arrangement

php Get browser kernel version

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn