LoginSignup
0

More than 5 years have passed since last update.

自分用メモ: V8の基本的なAPI

Posted at

参考

https://qiita.com/komukomo/items/316afadd04f95808f338
https://laogen.site/v8/expose-cpp-func-params/
https://v8.dev/docs/embed

API

Isolateは実行環境。多分同じIsolateを使うと同じ環境でスクリプトを実行できる。

contextにビルトインクラスや関数等を登録できる。これらはC++で書く。
また、contextコンストラクタはisolateを要求する。

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0