tubeshowcase●1,676,035 videos♡ My collection 0
← Learn to Code

Learn to Code57:15

Nashorn War Stories: Dynamic Language Performance on the JVM • Marcus Lagergren • GOTO 2013

GOTO Conferences ↗

From the creator

This presentation was recorded at GOTO Aarhus 2013 http://gotocon.com Marcus Lagergren - Co-author of Oracle JRockit @MarcusLagergren ORIGINAL TALK TITLE The Quest for Dynamic Language Performance on the JVM - Nashorn War Stories ABSTRACT This is a highly technical session about dynamic languages on the JVM. Marcus Lagergren discusses the performance challenges encountered during the implementation of Oracle's Nashorn project: a 100% ECMAScript compliant JavaScript implementation on top of the JVM, open source and available in Java 8. We will look at how the biggest paradigm shift in the history of the JVM specification, the invokedynamic bytecode, available as of Java 7, and how it was put to use to get performance in an environment where traditionally the JVM has been lacking. The JVM is becoming more and more feasible as a polyglot runtime, and this session will explain why. We will cover the Nashorn project in some detail, but mostly concentrate on ongoing dynamic language research in the Java team. TIMECODES 0:00 Introduction 3:35 What is Nashorn? 5:20 Why Nashorn? 7:07 When is Nashom available? 11:12 Let's talk about JavaScript - Numbers 13:37 Let's talk about JavaScript - Types/Numbers 15:41 Let's talk about JavaScript - Static type info 20:35 Fibonacci calculator 20:58 Callsite specialization 24:22 Type Specialization - Prove ints 24:49 Type Specialization - Prove doubles 25:03 Static range analysis-fold doubles to ints 27:04 Summary - Static analysis 28:07 Stat

Published 2014-04-08 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code