JavaScript & co. for Java Developers
summary
Claims that GraalVM polyglot JVM runs Java, JavaScript, Ruby, R with full interop and near-native speed; shows benchmarks where early Rhino takes ~20s for 100k primes, V8 hits ~100–110 ms, Java is ~20–40% faster in the demo, and Graal narrows the gap versus v8 while beating Nashorn by 2–3x. Demonstrations include running NetBeans transpiled into the browser (NetBeans transpiled into browser), Node on JVM, cross-language debugging and native-image startup via SubstrateVM native images.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 1:04History of JavaScript and Java
- 10:17Speed comparison JavaScript vs Java
- 13:41Standardization differences
- 17:25UI toolkit evolution
- 21:27Java to JavaScript interoperability
- 30:14MVC vs MVVM patterns
- 35:44Conclusion Java in browser
- 37:11API design patterns
- 40:03JavaScript entering server space
- 42:54GraalVM demo introduction
- 51:16Polyglot programming choices
- 56:26Q&A and thanks
