Embedding V8 in the real world
summary
NativeScript ships V8 inside the Android APK and uses a metadata generator that traverses Android SDK classes to produce a compact runtime binary of constructors and signatures. The runtime wires V8 callbacks via JNA to create Java proxies, uses a marshaling service for type conversion, and manages lifetimes with finalizer callbacks and strong and weak references to keep Java and V8 GCs in sync. It also hints V8 about external memory and uses worker isolates to avoid UI jank.
AI-written summary · about
chapters (4)
related talks
43mEmbedding V8 in the real world
31mEmbedding V8 in the Real World
28mThe Hidden Features from V8 to Boost Your React Native Apps
47mAn Introduction to NativeScript
17mV8 engine, JS Code Interpretation, and Execution
26mnative.js: JavaScript in your native mobile apps
28mWhat's Happening in V8?
42mBlurring the Line between Native and Web
