Native Script Engine: Integrating V8 JavaScript with Java - Jim Laskey
Offered By: Java via YouTube
Course Description
Overview
Explore the integration of V8 JavaScript as a sister javax.script to Nashorn in this 47-minute Java conference talk. Delve into the challenges and solutions of implementing a high-performance JavaScript runtime in Java with a native JVM. Learn about native overhead, build issues, memory management, and API adaptation. Discover the JVMV8 proof of concept, performance considerations, and code examples for both Java and JavaScript sides. Examine V8 objects in Java, Java objects in V8, and the JavaScript constructor generator. Gain insights into garbage collection strategies, multi-threading API implementation, and Node.js integration with Java. Investigate sustainable JavaScript solutions for JVM and ongoing experiments in this comprehensive exploration of Native Script Engine and Go Panama.
Syllabus
Intro
Overthinking A Title
Back Story
Nashorn Backlog
Let's Face It, V8 Rules
Proof Of Concept: JVMV8
Rough Notes on Performance
Example: Java Side
Example: JavaScript Side
Example: Beyond Nashorn
JVMV8 Components
V8 Objects In Java
Java Objects in V8
JavaScript Constructor Generator
V8 JNI primitives
jvmv8.boot
Garbage Collection Java Side
Garbage Collection V8 Side
Multi-threading API
Example: Multi-threading
Node.js: Creating JVM
Node.js: Using Java
Sustainable JavaScript for JVM
Experiments In Progress
Taught by
Java
Related Courses
Netty Best Practices for Optimal PerformanceMeta via YouTube Gazelle-JNI: Offloading Spark SQL to Native Engines for Execution Acceleration
Databricks via YouTube Tracking App Behaviors With - Nothing Changed - Phone For Evasive Android Malware
Black Hat via YouTube Beyond JVM - How the Platform is Evolving for New Languages and Features
GOTO Conferences via YouTube Foreign Function and Memory API in Java 17 - Replacing JNI
Okta via YouTube