~/talk

GraalVM: The one to rule them all

Talkat SnowOne 2021 · 2021-02-26..02-27· [compilers-and-language-design, java]
links:none on file
slides:none on file

Shows GraalVM running Node.js on the JVM via Graal.js and Truffle and using Sulong for native-backed languages, with live demos: calling Java from JavaScript and vice versa, passing Java objects into JS, converting JS lambdas to java.util.Function, and a 11-line Node HTTP server that delegates file reads to Java. Solves Node’s single-thread limits by using Worker threads plus a blocking queue to synchronously wait for results. Builds an embedded Kafka/Rabbit example mixing Scala/Java/JS, and microbenchmarks (200×200 matrix multiply and directory traversals) showing comparable warmed performance.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 3:07What is GraalVM
  3. 8:51Running JavaScript from Java
  4. 14:59Passing Java objects to JavaScript
  5. 21:51Using Node.js with GraalVM
  6. 26:34Building a web server with JavaScript
  7. 29:14Java web server limitations
  8. 33:13Threading issues with Node.js
  9. 35:22Worker threads solution
  10. 43:40Integrating Kafka with GraalVM
  11. 49:23Performance benchmarks
  12. 53:53GraalVM use cases and benefits
  13. 56:06Q&A and closing remarks
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.