AS

V8

时光总嘲笑我的痴心妄想 提交于 2019-12-01 13:45:49
Getting Started 新手导读 This document introduces some key V8 concepts and provides a hello world example to get you started with V8 code. 这篇文章介绍一些关于 V8 的概念的关键,以及一个小例子 “ Hello World ” 来帮助你使用 V8 的代码。 Contents 目录 阅读对象 Hello World 运行例子 Audience 阅读对象 This document is intended for C++ programmers who want to embed the V8 JavaScript engine within a C++ application. 这篇文档是面向那些想要嵌入 V8 JS 引擎到其 C++ 程序中的 C++ 程序员。 Hello World Let's look at a Hello World example that takes a JavaScript statement as a string argument, executes it as JavaScript code, and prints the result to standard out. 让我们来看看在 Hello World 例子中