~/talk

Nashorn: implementing a dynamic language runtime on JVM in 2014

Talkat Strange Loop 2014 · 2014-09-17..09-19· [javascript]
links:none on file
slides:none on file

Nashorn compiles JavaScript to JVM bytecode, uses invoke dynamic, and ships as ECMAScript 5.1 in OpenJDK; it passes the 11,500‑test suite. It implements on-stack replacement and optimistic typing: it generates type-specialized variants (int/long/double/object), lazily compiles per-parameter shapes, deoptimizes by throwing and catching a rewrite exception, and synthesizes continuations to resume execution. Concrete results: large speedups over Rhino and big gains in number‑crunching workloads; the project aims to become a reusable dynamic‑language toolkit for the JVM.

AI-written summary · about

  1. 0:00Introduction to Nashorn
  2. 1:10Nashorn architecture
  3. 4:40Performance and goals
  4. 8:05Type specialized compilation
  5. 18:11Arithmetic and property optimizations
  6. 21:42On-stack replacement
  7. 25:18De-optimization mechanism
  8. 29:32Type inference and lattice
  9. 34:26Static type analysis
  10. 40:51Future goals and library
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.