Date post: | 08-May-2015 |
Category: |
Software |
Upload: | everett-toews |
View: | 749 times |
Download: | 2 times |
Nashorn in Java 8
Everett Toews
Developer Advocate
@everett_toews
AustinJUGApril 22, 2014 @ 7:00 pm
What Is It?
Nashorn
Embedded
JavaScript
Engine
Nashorn
JavaScript 5.1
Nashorn
JavaScript
to
Java Bytecode
Nashorn
2 x to 10x
Performance
Improvement
Nashorn
JSR 292
“InvokeDynamic”
Nashorn
Efficient method
invocation without
type information
Nashorn
YADLOTJVM
What Does It Compare To?
Nashorn
V8
Nashorn
Google Chrome
Node.js
What Can I Do With It?
Nashorn
Shell Scripts
Nashorn
Command-line
Tool
Nashorn
Embedded
Interpreter
Nashorn
Anything
Node.js Can Do?
Nashorn
Avatar.js
Nashorn
Node.js apps using
Java libraries
Nashorn
Using legacy Java
code from Node.js
How Do I Use It?
Nashorn
export JAVA_HOME=
`/usr/libexec/java_home -v 1.8`
Nashorn
export PATH=
$JAVA_HOME/bin:$PATH
Nashorn
Interpreted
Nashorn
Script
CLI
Nashorn
Java
Nashorn
Java Interop
Where Did You Get This Information?
Nashorn
infoq.com/articles/nashorn
Thank You
developer.rackspace.com
Everett Toews
Developer Advocate
@everett_toews