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

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).

主站蜘蛛池模板: 靖江市| 青神县| 合作市| 西乌珠穆沁旗| 平罗县| 临朐县| 安西县| 江永县| 扎赉特旗| 张家界市| 萝北县| 芜湖县| 乐至县| 凤山县| 南涧| 共和县| 依安县| 余姚市| 黑河市| 清水县| 绵阳市| 吉安县| 邳州市| 六枝特区| 库尔勒市| 肇东市| 读书| 永德县| 团风县| 城口县| 新和县| 广东省| 松原市| 南江县| 淮安市| 阿克苏市| 江孜县| 伊川县| 石泉县| 慈利县| 百色市|