官术网_书友最值得收藏!

V8, JavaScript, and optimizations

V8 is Google's JavaScript engine, written in C++. It compiles and executes JavaScript code inside of a VM (Virtual Machine). When a webpage loaded into Google Chrome demonstrates some sort of dynamic effect, like automatically updating a list or news feed, you are seeing JavaScript, compiled by V8, at work.

V8 manages Node's main process thread. When executing JavaScript, V8 does so in its own process, and its internal behavior is not controlled by Node. In this section, we will investigate the performance benefits that can be had by playing with these options, learning how to write optimizable JavaScript, and the cutting-edge JavaScript features available to users of the latest Node versions (such as 9.x, the version we use in this book).

主站蜘蛛池模板: 龙泉市| 中方县| 团风县| 兖州市| 新闻| 太仓市| 济阳县| 嘉祥县| 龙南县| 宜丰县| 田阳县| 赤壁市| 曲阜市| 威海市| 吴江市| 女性| 汉中市| 桃园市| 凤山县| 衡水市| 衡东县| 清河县| 德钦县| 宾阳县| 慈溪市| 湟中县| 马山县| 新竹市| 中方县| 乌兰察布市| 拜泉县| 清涧县| 望奎县| 武定县| 灯塔市| 元朗区| 南通市| 寿宁县| 云南省| 平舆县| 三河市|