SlideShare a Scribd company logo
1 of 27
1CONFIDENTIAL
Nashorn, what is the
whole buzz about
2CONFIDENTIAL
Ask questions
By The U.S. Army
3CONFIDENTIAL
I love your feedback! 
@michalgruca
michal.gruca@gmail.com
www.rits.pl
4CONFIDENTIAL
5CONFIDENTIAL
GENERAL
NASHORN
6CONFIDENTIAL
7CONFIDENTIAL
• yet another js runtime -> on server
built on top of Java
quite fast
EcmaScript 5.1 compatible
Nashorn is …
By Valentina Storti
8CONFIDENTIAL
Allows to build DSL
Runtime modularity
Full access from .js to JVM
A lot of developers on market
Simple language
Even your user may try it
Why to use
9CONFIDENTIAL
Or because …
10CONFIDENTIAL
GENERAL
NASHORN :: DEMO
11CONFIDENTIAL
TWO WAY INTEROPERABILITY
NASHORN :: DEMO
12CONFIDENTIAL
TESTING
NASHORN :: DEMO
13CONFIDENTIAL
VALIDATION
NASHORN :: DEMO
14CONFIDENTIAL
SCRIPTING
NASHORN :: DEMO
15CONFIDENTIAL
PROJECT AVATAR
NASHORN
16CONFIDENTIAL
• Project Avatar is a JavaScript service
layer, that fully utilizes Nashorn
Engine.
• It aims at reducing JavaScript
knowledge required to start coding
• It’s a direct response to node
What avatar is
17CONFIDENTIAL
https://www.flickr.com/photos/45928872@N08/4211101808/
18CONFIDENTIAL
www.techempower.com/benchmarks
19CONFIDENTIAL
CONS
NASHORN
20CONFIDENTIAL
http://ariya.ofilabs.com/2014/03/nashorn-the-new-rhino-on-the-block.html
21CONFIDENTIAL
• Nashorn is much slower than Node
– But getting faster! (JDK8u20 & JDKu40)
• JDK 8 only
– JDK 7: Rhino and dynJS
• May have issues with various frameworks
• Yet another level of abstraction
– With not so many examples
https://www.threadless.com/@alanis
22CONFIDENTIAL
Can be tricky
• Types
– Collections
• Programming model
• Execution model
• Scopes & contextes
• Libraries
• Developers
by Yoel Ben-Avraham
23CONFIDENTIAL
ITERATING
NASHORN :: DEMO
24CONFIDENTIAL
REAL WORLD EXAMPLE
NASHORN
25CONFIDENTIAL
My project
• Soft real time
• Controlling thousands of
devices
• Multithreaded
• „Distributed”
26CONFIDENTIAL
27CONFIDENTIAL
I love your feedback! 
@michalgruca
michal.gruca@gmail.com
www.rits.pl

More Related Content

What's hot

$PENK->{'YAPC::Tiny'};
$PENK->{'YAPC::Tiny'};$PENK->{'YAPC::Tiny'};
$PENK->{'YAPC::Tiny'};
Ping-Hsun Chen
 

What's hot (19)

OSMC 2013 | Zabbix: A Practical Demo by Rihards Olups
OSMC 2013 | Zabbix: A Practical Demo by Rihards OlupsOSMC 2013 | Zabbix: A Practical Demo by Rihards Olups
OSMC 2013 | Zabbix: A Practical Demo by Rihards Olups
 
A~Z Of Accelerator
A~Z Of AcceleratorA~Z Of Accelerator
A~Z Of Accelerator
 
Vagrant for Development
Vagrant for DevelopmentVagrant for Development
Vagrant for Development
 
Kong Ingress Controller - Fullstaq Show N Tell
Kong Ingress Controller - Fullstaq Show N TellKong Ingress Controller - Fullstaq Show N Tell
Kong Ingress Controller - Fullstaq Show N Tell
 
Vagrantfordevops
VagrantfordevopsVagrantfordevops
Vagrantfordevops
 
Into the Wild with Node.js and Web Apps
Into the Wild with Node.js and Web AppsInto the Wild with Node.js and Web Apps
Into the Wild with Node.js and Web Apps
 
Local development environment through virtualisation
Local development environment through virtualisationLocal development environment through virtualisation
Local development environment through virtualisation
 
First Step towards WebAssembly with Rust
First Step towards WebAssembly with RustFirst Step towards WebAssembly with Rust
First Step towards WebAssembly with Rust
 
Deployment tales
Deployment talesDeployment tales
Deployment tales
 
Deployment tales
Deployment talesDeployment tales
Deployment tales
 
Web Crypto
Web CryptoWeb Crypto
Web Crypto
 
Simplestack
SimplestackSimplestack
Simplestack
 
G3 Summit 2016 - Dockerize your Grails!
G3 Summit 2016 - Dockerize your Grails!G3 Summit 2016 - Dockerize your Grails!
G3 Summit 2016 - Dockerize your Grails!
 
LinuxKit and OpenOverlay
LinuxKit and OpenOverlayLinuxKit and OpenOverlay
LinuxKit and OpenOverlay
 
Realtime MVC with Sails.js
Realtime MVC with Sails.jsRealtime MVC with Sails.js
Realtime MVC with Sails.js
 
$PENK->{'YAPC::Tiny'};
$PENK->{'YAPC::Tiny'};$PENK->{'YAPC::Tiny'};
$PENK->{'YAPC::Tiny'};
 
Ceph Day Beijing: Ceph-Dokan: A Native Windows Ceph Client
Ceph Day Beijing: Ceph-Dokan: A Native Windows Ceph Client Ceph Day Beijing: Ceph-Dokan: A Native Windows Ceph Client
Ceph Day Beijing: Ceph-Dokan: A Native Windows Ceph Client
 
Web Crypto
Web CryptoWeb Crypto
Web Crypto
 
Seleconf2015 - Automating for the Second Screen with WebdriverJS
Seleconf2015 - Automating for the Second Screen with WebdriverJSSeleconf2015 - Automating for the Second Screen with WebdriverJS
Seleconf2015 - Automating for the Second Screen with WebdriverJS
 

Viewers also liked

Otras diverisdades que determinan la diversidad en el aula. meisy orellana
Otras diverisdades que determinan la diversidad en el aula. meisy orellanaOtras diverisdades que determinan la diversidad en el aula. meisy orellana
Otras diverisdades que determinan la diversidad en el aula. meisy orellana
MEISYTAS
 
Countables and uncountables
Countables and uncountablesCountables and uncountables
Countables and uncountables
Sobre Letras
 
Principles of language assessment ( evaluation of language teaching)
Principles of language assessment ( evaluation of language teaching)Principles of language assessment ( evaluation of language teaching)
Principles of language assessment ( evaluation of language teaching)
Alfi Suru
 
Principles of language assessment ( evaluation of language teaching)
Principles of language assessment ( evaluation of language teaching)Principles of language assessment ( evaluation of language teaching)
Principles of language assessment ( evaluation of language teaching)
Alfi Suru
 
Project synopsis on online voting system
Project synopsis on online voting systemProject synopsis on online voting system
Project synopsis on online voting system
Lhakpa Yangji
 

Viewers also liked (15)

Леван Киладзе Фирменный стиль
Леван Киладзе Фирменный стильЛеван Киладзе Фирменный стиль
Леван Киладзе Фирменный стиль
 
Kiladze levan
Kiladze levanKiladze levan
Kiladze levan
 
Where refactoring meets big money #4developers
Where refactoring meets big money #4developersWhere refactoring meets big money #4developers
Where refactoring meets big money #4developers
 
Configuring Apache Solr for Thai Text Search
Configuring Apache Solr for Thai Text SearchConfiguring Apache Solr for Thai Text Search
Configuring Apache Solr for Thai Text Search
 
Levan kiladze 3-2
Levan kiladze 3-2Levan kiladze 3-2
Levan kiladze 3-2
 
Mobile applications for casual users #java2days
Mobile applications for casual users #java2daysMobile applications for casual users #java2days
Mobile applications for casual users #java2days
 
Otras diverisdades que determinan la diversidad en el aula. meisy orellana
Otras diverisdades que determinan la diversidad en el aula. meisy orellanaOtras diverisdades que determinan la diversidad en el aula. meisy orellana
Otras diverisdades que determinan la diversidad en el aula. meisy orellana
 
Database user’s
Database user’sDatabase user’s
Database user’s
 
learning and acquisition slide
learning and acquisition slidelearning and acquisition slide
learning and acquisition slide
 
Music (Língua inglesa)
Music (Língua inglesa)Music (Língua inglesa)
Music (Língua inglesa)
 
Countables and uncountables
Countables and uncountablesCountables and uncountables
Countables and uncountables
 
Principles of language assessment ( evaluation of language teaching)
Principles of language assessment ( evaluation of language teaching)Principles of language assessment ( evaluation of language teaching)
Principles of language assessment ( evaluation of language teaching)
 
Principles of language assessment ( evaluation of language teaching)
Principles of language assessment ( evaluation of language teaching)Principles of language assessment ( evaluation of language teaching)
Principles of language assessment ( evaluation of language teaching)
 
Project synopsis on online voting system
Project synopsis on online voting systemProject synopsis on online voting system
Project synopsis on online voting system
 
Unlock the next era of UI design with Polymer
Unlock the next era of UI design with PolymerUnlock the next era of UI design with Polymer
Unlock the next era of UI design with Polymer
 

Similar to Nashorn, what is the whole buzz about #4developers

OSCONF Hyderabad - Shorten all URLs!
OSCONF Hyderabad - Shorten all URLs!OSCONF Hyderabad - Shorten all URLs!
OSCONF Hyderabad - Shorten all URLs!
Nicolas Fränkel
 

Similar to Nashorn, what is the whole buzz about #4developers (20)

Java & JavaScript: Best Friends?
Java & JavaScript: Best Friends?Java & JavaScript: Best Friends?
Java & JavaScript: Best Friends?
 
Microservices: a journey of an eternal improvement
Microservices: a journey of an eternal improvementMicroservices: a journey of an eternal improvement
Microservices: a journey of an eternal improvement
 
HOW TO CREATE AWESOME POLYGLOT APPLICATIONS USING GRAALVM
HOW TO CREATE AWESOME POLYGLOT APPLICATIONS USING GRAALVMHOW TO CREATE AWESOME POLYGLOT APPLICATIONS USING GRAALVM
HOW TO CREATE AWESOME POLYGLOT APPLICATIONS USING GRAALVM
 
Node.js
Node.jsNode.js
Node.js
 
CRaSH the shell for the JVM
CRaSH the shell for the JVMCRaSH the shell for the JVM
CRaSH the shell for the JVM
 
Efficient mobile automation
Efficient mobile automationEfficient mobile automation
Efficient mobile automation
 
How To Add Any Feature To Your Selenium Grid
How To Add Any Feature To Your Selenium GridHow To Add Any Feature To Your Selenium Grid
How To Add Any Feature To Your Selenium Grid
 
Resilience Testing
Resilience Testing Resilience Testing
Resilience Testing
 
Mono for Android?
Mono for Android?Mono for Android?
Mono for Android?
 
Building Applications on Avalanche
Building Applications on AvalancheBuilding Applications on Avalanche
Building Applications on Avalanche
 
Urs Köster Presenting at RE-Work DL Summit in Boston
Urs Köster Presenting at RE-Work DL Summit in BostonUrs Köster Presenting at RE-Work DL Summit in Boston
Urs Köster Presenting at RE-Work DL Summit in Boston
 
FIWARE Tech Summit - Docker Swarm Secrets for Creating Great FIWARE Platforms
FIWARE Tech Summit - Docker Swarm Secrets for Creating Great FIWARE PlatformsFIWARE Tech Summit - Docker Swarm Secrets for Creating Great FIWARE Platforms
FIWARE Tech Summit - Docker Swarm Secrets for Creating Great FIWARE Platforms
 
Win Spinnaker with Winnaker - Open Source North Conf 2017
Win Spinnaker with Winnaker - Open Source North Conf 2017Win Spinnaker with Winnaker - Open Source North Conf 2017
Win Spinnaker with Winnaker - Open Source North Conf 2017
 
Shorten All URLs
Shorten All URLsShorten All URLs
Shorten All URLs
 
OSCONF Hyderabad - Shorten all URLs!
OSCONF Hyderabad - Shorten all URLs!OSCONF Hyderabad - Shorten all URLs!
OSCONF Hyderabad - Shorten all URLs!
 
Jax keynote
Jax keynoteJax keynote
Jax keynote
 
Open vSwitch Implementation Options
Open vSwitch Implementation Options Open vSwitch Implementation Options
Open vSwitch Implementation Options
 
Quick Yang v1.0
Quick Yang v1.0Quick Yang v1.0
Quick Yang v1.0
 
Quick Yang v1.0
Quick Yang v1.0Quick Yang v1.0
Quick Yang v1.0
 
NodeSummit - MEAN Stack
NodeSummit - MEAN StackNodeSummit - MEAN Stack
NodeSummit - MEAN Stack
 

Recently uploaded

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 

Nashorn, what is the whole buzz about #4developers