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

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

主站蜘蛛池模板: 大名县| 冀州市| 黄平县| 密山市| 临朐县| 南皮县| 八宿县| 望城县| 进贤县| 南靖县| 准格尔旗| 宜君县| 叙永县| 宜君县| 遵化市| 沙洋县| 行唐县| 四子王旗| 日喀则市| 宁远县| 阜康市| 七台河市| 彭州市| 商南县| 阿图什市| 大埔县| 沂南县| 鲁甸县| 武义县| 沂源县| 沈丘县| 阿城市| 舟山市| 修水县| 广元市| 隆安县| 儋州市| 永平县| 囊谦县| 都江堰市| 宜州市|