SlideShare a Scribd company logo
Java MIDP implementation
on
HTML5 and Flash
Yu Kobayashi
(yukoba)
Who am I?
□ “Virtual Machines on JavaScript and
ActionScript” OTAKU
□ My 4th
project of screen sharing
implemented by JavaScript and
ActionScript
Web Browser
HTML5 Flash
Java MIDP Implementation
Application
My Compiler
Java class file
JavaScript ActionScript
Java source code
Demo
http://orto-app.com/
Just release now!
Alpha Version
Control Flow Graph
Java Source code
a = 1
b = 1
while (true) {
c = a + b;
System.out.println(c);
a = b;
b = c;
}
a = 1
b = 1
Is thread resume?
Resume
System.out.println(c)
c = a + b
System.out.println(c)
a = b
b = c
Java mnemonic
iload 2
istore 1
iload 3
istore 2
Java source code
a = b
b = c
JavaScript
stack.push(localVar2)
localVar1 = stack.pop()
stack.push(localVar3)
localVar2 = stack.pop()
More Optimized JavaScript
localVar1 = localVar2
localVar2 = localVar3
JIT x86
mov eax, [0004h]
mov [0000h], eax
mov eax, [0008h]
mov [0004h], eax
Optimized JavaScript
stack1 = localVar2
localVar1 = stack1
stack1 = localVar3
localVar2 = stack1
Java mnemonic
iload 2
istore 1
iload 3
istore 2
Java source code
a = b
b = c
JavaScript
stack.push(localVar2)
localVar1 = stack.pop()
stack.push(localVar3)
localVar2 = stack.pop()
More Optimized JavaScript
localVar1 = localVar2
localVar2 = localVar3
JIT x86
mov eax, [0004h]
mov [0000h], eax
mov eax, [0008h]
mov [0004h], eax
Optimized JavaScript
stack1 = localVar2
localVar1 = stack1
stack1 = localVar3
localVar2 = stack1

More Related Content

What's hot

Designing and coding for cloud-native applications using Python, Harjinder Mi...
Designing and coding for cloud-native applications using Python, Harjinder Mi...Designing and coding for cloud-native applications using Python, Harjinder Mi...
Designing and coding for cloud-native applications using Python, Harjinder Mi...
Pôle Systematic Paris-Region
 
Ansible Israel Kickoff Meetup
Ansible Israel Kickoff MeetupAnsible Israel Kickoff Meetup
Ansible Israel Kickoff Meetup
ansibleil
 
PROCESS WARP
PROCESS WARPPROCESS WARP
PROCESS WARP
祐司 伊藤
 
Leo Burnett: Augmented Reality — версия для Adobe Flash и AIR on Mobiles
 Leo Burnett: Augmented Reality — версия для Adobe Flash и AIR on Mobiles Leo Burnett: Augmented Reality — версия для Adobe Flash и AIR on Mobiles
Leo Burnett: Augmented Reality — версия для Adobe Flash и AIR on Mobiles
DevGAMM Conference
 
Reactive
ReactiveReactive
Reactive
Pranav E K
 
Davide Cerbo - Kotlin loves React - Codemotion Milan 2018
Davide Cerbo - Kotlin loves React - Codemotion Milan 2018Davide Cerbo - Kotlin loves React - Codemotion Milan 2018
Davide Cerbo - Kotlin loves React - Codemotion Milan 2018
Codemotion
 
From Python to smartphones: neural nets @ Saint-Gobain, François Sausset
From Python to smartphones: neural nets @ Saint-Gobain, François SaussetFrom Python to smartphones: neural nets @ Saint-Gobain, François Sausset
From Python to smartphones: neural nets @ Saint-Gobain, François Sausset
Pôle Systematic Paris-Region
 
Swimat - Swift formatter
Swimat - Swift formatterSwimat - Swift formatter
Swimat - Swift formatter
Jintin Lin
 
ES6 ECMA2015
ES6 ECMA2015ES6 ECMA2015
ES6 ECMA2015
Futada Takashi
 
How my visualization tools use little memory: A tale of incrementalization an...
How my visualization tools use little memory: A tale of incrementalization an...How my visualization tools use little memory: A tale of incrementalization an...
How my visualization tools use little memory: A tale of incrementalization an...Eugene Kirpichov
 
Motion Detecting Web Apps With Javascript
Motion Detecting Web Apps With JavascriptMotion Detecting Web Apps With Javascript
Motion Detecting Web Apps With Javascript
Salesforce Engineering
 
Traceur - Javascript.next - Now! RheinmainJS April 14th
Traceur - Javascript.next - Now! RheinmainJS April 14thTraceur - Javascript.next - Now! RheinmainJS April 14th
Traceur - Javascript.next - Now! RheinmainJS April 14th
Carsten Sandtner
 
C# Async on iOS and Android - Craig Dunn, Developer Evangelist at Xamarin
C# Async on iOS and Android - Craig Dunn, Developer Evangelist at XamarinC# Async on iOS and Android - Craig Dunn, Developer Evangelist at Xamarin
C# Async on iOS and Android - Craig Dunn, Developer Evangelist at Xamarin
Xamarin
 
Trash Robotic Router Platform
Trash Robotic Router PlatformTrash Robotic Router Platform
Trash Robotic Router Platform
Data Driven Innovation
 
Mocha, chai and sinon
Mocha, chai and sinonMocha, chai and sinon
Mocha, chai and sinon
Andrew Dixon
 
Spring Northwest Usergroup Grails Presentation
Spring Northwest Usergroup Grails PresentationSpring Northwest Usergroup Grails Presentation
Spring Northwest Usergroup Grails Presentation
ajevans
 
Zoo Overview
Zoo OverviewZoo Overview
Zoo Overview
djayzen
 
Ansistrano, or using Ansible for application deployments
Ansistrano, or using Ansible for application deploymentsAnsistrano, or using Ansible for application deployments
Ansistrano, or using Ansible for application deployments
Roger Tanner
 
Ptc creo 2.0 m010 installation guide
Ptc creo 2.0 m010 installation guidePtc creo 2.0 m010 installation guide
Ptc creo 2.0 m010 installation guide
kailash428
 
Ptc creo 2.0 m010 installation guide
Ptc creo 2.0 m010 installation guidePtc creo 2.0 m010 installation guide
Ptc creo 2.0 m010 installation guidesatze
 

What's hot (20)

Designing and coding for cloud-native applications using Python, Harjinder Mi...
Designing and coding for cloud-native applications using Python, Harjinder Mi...Designing and coding for cloud-native applications using Python, Harjinder Mi...
Designing and coding for cloud-native applications using Python, Harjinder Mi...
 
Ansible Israel Kickoff Meetup
Ansible Israel Kickoff MeetupAnsible Israel Kickoff Meetup
Ansible Israel Kickoff Meetup
 
PROCESS WARP
PROCESS WARPPROCESS WARP
PROCESS WARP
 
Leo Burnett: Augmented Reality — версия для Adobe Flash и AIR on Mobiles
 Leo Burnett: Augmented Reality — версия для Adobe Flash и AIR on Mobiles Leo Burnett: Augmented Reality — версия для Adobe Flash и AIR on Mobiles
Leo Burnett: Augmented Reality — версия для Adobe Flash и AIR on Mobiles
 
Reactive
ReactiveReactive
Reactive
 
Davide Cerbo - Kotlin loves React - Codemotion Milan 2018
Davide Cerbo - Kotlin loves React - Codemotion Milan 2018Davide Cerbo - Kotlin loves React - Codemotion Milan 2018
Davide Cerbo - Kotlin loves React - Codemotion Milan 2018
 
From Python to smartphones: neural nets @ Saint-Gobain, François Sausset
From Python to smartphones: neural nets @ Saint-Gobain, François SaussetFrom Python to smartphones: neural nets @ Saint-Gobain, François Sausset
From Python to smartphones: neural nets @ Saint-Gobain, François Sausset
 
Swimat - Swift formatter
Swimat - Swift formatterSwimat - Swift formatter
Swimat - Swift formatter
 
ES6 ECMA2015
ES6 ECMA2015ES6 ECMA2015
ES6 ECMA2015
 
How my visualization tools use little memory: A tale of incrementalization an...
How my visualization tools use little memory: A tale of incrementalization an...How my visualization tools use little memory: A tale of incrementalization an...
How my visualization tools use little memory: A tale of incrementalization an...
 
Motion Detecting Web Apps With Javascript
Motion Detecting Web Apps With JavascriptMotion Detecting Web Apps With Javascript
Motion Detecting Web Apps With Javascript
 
Traceur - Javascript.next - Now! RheinmainJS April 14th
Traceur - Javascript.next - Now! RheinmainJS April 14thTraceur - Javascript.next - Now! RheinmainJS April 14th
Traceur - Javascript.next - Now! RheinmainJS April 14th
 
C# Async on iOS and Android - Craig Dunn, Developer Evangelist at Xamarin
C# Async on iOS and Android - Craig Dunn, Developer Evangelist at XamarinC# Async on iOS and Android - Craig Dunn, Developer Evangelist at Xamarin
C# Async on iOS and Android - Craig Dunn, Developer Evangelist at Xamarin
 
Trash Robotic Router Platform
Trash Robotic Router PlatformTrash Robotic Router Platform
Trash Robotic Router Platform
 
Mocha, chai and sinon
Mocha, chai and sinonMocha, chai and sinon
Mocha, chai and sinon
 
Spring Northwest Usergroup Grails Presentation
Spring Northwest Usergroup Grails PresentationSpring Northwest Usergroup Grails Presentation
Spring Northwest Usergroup Grails Presentation
 
Zoo Overview
Zoo OverviewZoo Overview
Zoo Overview
 
Ansistrano, or using Ansible for application deployments
Ansistrano, or using Ansible for application deploymentsAnsistrano, or using Ansible for application deployments
Ansistrano, or using Ansible for application deployments
 
Ptc creo 2.0 m010 installation guide
Ptc creo 2.0 m010 installation guidePtc creo 2.0 m010 installation guide
Ptc creo 2.0 m010 installation guide
 
Ptc creo 2.0 m010 installation guide
Ptc creo 2.0 m010 installation guidePtc creo 2.0 m010 installation guide
Ptc creo 2.0 m010 installation guide
 

Viewers also liked

Montreux, Suisse
Montreux, Suisse Montreux, Suisse
Montreux, Suisse
Irene Aguiar
 
Convergence of Search, Social, & Content Marketing - Arnie Kuenn, Vertical Me...
Convergence of Search, Social, & Content Marketing - Arnie Kuenn, Vertical Me...Convergence of Search, Social, & Content Marketing - Arnie Kuenn, Vertical Me...
Convergence of Search, Social, & Content Marketing - Arnie Kuenn, Vertical Me...AspDotNetStorefront
 
Enjoy your flight
Enjoy your flightEnjoy your flight
Enjoy your flightpierpeter
 
1.6 Kofax Partner Connect 2013 - Gewinnen mit Kofax saf Success Story
1.6 Kofax Partner Connect 2013 - Gewinnen mit Kofax saf Success Story1.6 Kofax Partner Connect 2013 - Gewinnen mit Kofax saf Success Story
1.6 Kofax Partner Connect 2013 - Gewinnen mit Kofax saf Success StoryMarc Combes
 
What Burns Never Returns#8 -Booklet
What Burns Never Returns#8 -BookletWhat Burns Never Returns#8 -Booklet
What Burns Never Returns#8 -Booklet
3ggh10
 
Tizen developer conference 2013 report 5
Tizen developer conference 2013 report 5Tizen developer conference 2013 report 5
Tizen developer conference 2013 report 5
Takahiro Okada
 
Marketplace Fairness Act, Senate Bill 1832
Marketplace Fairness Act, Senate Bill 1832Marketplace Fairness Act, Senate Bill 1832
Marketplace Fairness Act, Senate Bill 1832
cookcountyblog
 
The Gold Standard - GIB Summit 2014 by Adrian Rimmer at GIB Summit
The Gold Standard - GIB Summit 2014 by Adrian Rimmer at GIB SummitThe Gold Standard - GIB Summit 2014 by Adrian Rimmer at GIB Summit
The Gold Standard - GIB Summit 2014 by Adrian Rimmer at GIB Summit
Global Infrastructure Basel Foundation
 
Version control softwares
Version control softwaresVersion control softwares
Version control softwaresNicholas Rutzen
 
Pergamon Museum, Berlin
Pergamon Museum, BerlinPergamon Museum, Berlin
Pergamon Museum, Berlin
Irene Aguiar
 
Tizen developer conference 2013 report 3
Tizen developer conference 2013 report 3Tizen developer conference 2013 report 3
Tizen developer conference 2013 report 3
Takahiro Okada
 
Berlin-Pergamon-Museum
Berlin-Pergamon-MuseumBerlin-Pergamon-Museum
Berlin-Pergamon-MuseumBiaEsteves
 
WassUp Recap - June 2012 - part 1
WassUp Recap -  June 2012 - part 1WassUp Recap -  June 2012 - part 1
WassUp Recap - June 2012 - part 1
LUON
 
Developer Conference 11-6-13
Developer Conference 11-6-13Developer Conference 11-6-13
Developer Conference 11-6-13
AspDotNetStorefront
 
IL FENOMENO DELL’ENTERPRISE 2.0 SOTTO LA LENTE DELL’ACTOR-NETWORK THEORY
IL FENOMENO DELL’ENTERPRISE 2.0 SOTTO LA LENTE DELL’ACTOR-NETWORK THEORY  IL FENOMENO DELL’ENTERPRISE 2.0 SOTTO LA LENTE DELL’ACTOR-NETWORK THEORY
IL FENOMENO DELL’ENTERPRISE 2.0 SOTTO LA LENTE DELL’ACTOR-NETWORK THEORY Alessandro Bozzo
 
Kota - Mobilizing Large Scale Capital by Mayor Ratna Jain at GIB Summit
 Kota - Mobilizing Large Scale Capital by Mayor Ratna Jain at GIB Summit Kota - Mobilizing Large Scale Capital by Mayor Ratna Jain at GIB Summit
Kota - Mobilizing Large Scale Capital by Mayor Ratna Jain at GIB Summit
Global Infrastructure Basel Foundation
 
The AOSD Research Community in Brazil and its Crosscutting Impact
The AOSD Research Community in Brazil and  its Crosscutting ImpactThe AOSD Research Community in Brazil and  its Crosscutting Impact
The AOSD Research Community in Brazil and its Crosscutting ImpactUirá Kulesza
 
Slides "sbes is 25 2011" - AOSD-BR community
Slides "sbes is 25 2011" - AOSD-BR communitySlides "sbes is 25 2011" - AOSD-BR community
Slides "sbes is 25 2011" - AOSD-BR community
Christina Flach
 

Viewers also liked (20)

Montreux, Suisse
Montreux, Suisse Montreux, Suisse
Montreux, Suisse
 
Convergence of Search, Social, & Content Marketing - Arnie Kuenn, Vertical Me...
Convergence of Search, Social, & Content Marketing - Arnie Kuenn, Vertical Me...Convergence of Search, Social, & Content Marketing - Arnie Kuenn, Vertical Me...
Convergence of Search, Social, & Content Marketing - Arnie Kuenn, Vertical Me...
 
Enjoy your flight
Enjoy your flightEnjoy your flight
Enjoy your flight
 
1.6 Kofax Partner Connect 2013 - Gewinnen mit Kofax saf Success Story
1.6 Kofax Partner Connect 2013 - Gewinnen mit Kofax saf Success Story1.6 Kofax Partner Connect 2013 - Gewinnen mit Kofax saf Success Story
1.6 Kofax Partner Connect 2013 - Gewinnen mit Kofax saf Success Story
 
What Burns Never Returns#8 -Booklet
What Burns Never Returns#8 -BookletWhat Burns Never Returns#8 -Booklet
What Burns Never Returns#8 -Booklet
 
Tizen developer conference 2013 report 5
Tizen developer conference 2013 report 5Tizen developer conference 2013 report 5
Tizen developer conference 2013 report 5
 
Marketplace Fairness Act, Senate Bill 1832
Marketplace Fairness Act, Senate Bill 1832Marketplace Fairness Act, Senate Bill 1832
Marketplace Fairness Act, Senate Bill 1832
 
FRSA Flash 1 Mar 2012
FRSA Flash 1 Mar 2012FRSA Flash 1 Mar 2012
FRSA Flash 1 Mar 2012
 
FRSA Flash 9 March 2012
FRSA Flash 9 March 2012FRSA Flash 9 March 2012
FRSA Flash 9 March 2012
 
The Gold Standard - GIB Summit 2014 by Adrian Rimmer at GIB Summit
The Gold Standard - GIB Summit 2014 by Adrian Rimmer at GIB SummitThe Gold Standard - GIB Summit 2014 by Adrian Rimmer at GIB Summit
The Gold Standard - GIB Summit 2014 by Adrian Rimmer at GIB Summit
 
Version control softwares
Version control softwaresVersion control softwares
Version control softwares
 
Pergamon Museum, Berlin
Pergamon Museum, BerlinPergamon Museum, Berlin
Pergamon Museum, Berlin
 
Tizen developer conference 2013 report 3
Tizen developer conference 2013 report 3Tizen developer conference 2013 report 3
Tizen developer conference 2013 report 3
 
Berlin-Pergamon-Museum
Berlin-Pergamon-MuseumBerlin-Pergamon-Museum
Berlin-Pergamon-Museum
 
WassUp Recap - June 2012 - part 1
WassUp Recap -  June 2012 - part 1WassUp Recap -  June 2012 - part 1
WassUp Recap - June 2012 - part 1
 
Developer Conference 11-6-13
Developer Conference 11-6-13Developer Conference 11-6-13
Developer Conference 11-6-13
 
IL FENOMENO DELL’ENTERPRISE 2.0 SOTTO LA LENTE DELL’ACTOR-NETWORK THEORY
IL FENOMENO DELL’ENTERPRISE 2.0 SOTTO LA LENTE DELL’ACTOR-NETWORK THEORY  IL FENOMENO DELL’ENTERPRISE 2.0 SOTTO LA LENTE DELL’ACTOR-NETWORK THEORY
IL FENOMENO DELL’ENTERPRISE 2.0 SOTTO LA LENTE DELL’ACTOR-NETWORK THEORY
 
Kota - Mobilizing Large Scale Capital by Mayor Ratna Jain at GIB Summit
 Kota - Mobilizing Large Scale Capital by Mayor Ratna Jain at GIB Summit Kota - Mobilizing Large Scale Capital by Mayor Ratna Jain at GIB Summit
Kota - Mobilizing Large Scale Capital by Mayor Ratna Jain at GIB Summit
 
The AOSD Research Community in Brazil and its Crosscutting Impact
The AOSD Research Community in Brazil and  its Crosscutting ImpactThe AOSD Research Community in Brazil and  its Crosscutting Impact
The AOSD Research Community in Brazil and its Crosscutting Impact
 
Slides "sbes is 25 2011" - AOSD-BR community
Slides "sbes is 25 2011" - AOSD-BR communitySlides "sbes is 25 2011" - AOSD-BR community
Slides "sbes is 25 2011" - AOSD-BR community
 

Similar to Firefox Developers Conference 2010

JavaScript Multithread or Single Thread.pptx
JavaScript Multithread or Single Thread.pptxJavaScript Multithread or Single Thread.pptx
JavaScript Multithread or Single Thread.pptx
RAHITNATH
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
Tier1 app
 
Get Hip with JHipster: Spring Boot + AngularJS + Bootstrap - Devoxx UK 2016
Get Hip with JHipster: Spring Boot + AngularJS + Bootstrap - Devoxx UK 2016Get Hip with JHipster: Spring Boot + AngularJS + Bootstrap - Devoxx UK 2016
Get Hip with JHipster: Spring Boot + AngularJS + Bootstrap - Devoxx UK 2016
Matt Raible
 
WebGL: GPU acceleration for the open web
WebGL: GPU acceleration for the open webWebGL: GPU acceleration for the open web
WebGL: GPU acceleration for the open web
pjcozzi
 
JCConf2019: Next Step of JavaScript on Java
JCConf2019: Next Step of JavaScript on JavaJCConf2019: Next Step of JavaScript on Java
JCConf2019: Next Step of JavaScript on Java
Takaaki Sugiyama
 
Get Hip with JHipster: Spring Boot + AngularJS + Bootstrap - Devoxx France 2016
Get Hip with JHipster: Spring Boot + AngularJS + Bootstrap - Devoxx France 2016Get Hip with JHipster: Spring Boot + AngularJS + Bootstrap - Devoxx France 2016
Get Hip with JHipster: Spring Boot + AngularJS + Bootstrap - Devoxx France 2016
Matt Raible
 
Heat up your stack
Heat up your stackHeat up your stack
Heat up your stack
Rico Lin
 
Understanding the Dalvik Virtual Machine
Understanding the Dalvik Virtual MachineUnderstanding the Dalvik Virtual Machine
Understanding the Dalvik Virtual Machine
National Cheng Kung University
 
Get Hip with JHipster: Spring Boot + AngularJS + Bootstrap - GeekOut 2016
Get Hip with JHipster: Spring Boot + AngularJS + Bootstrap - GeekOut 2016Get Hip with JHipster: Spring Boot + AngularJS + Bootstrap - GeekOut 2016
Get Hip with JHipster: Spring Boot + AngularJS + Bootstrap - GeekOut 2016
Matt Raible
 
Java Multiple Choice Questions and Answers
Java Multiple Choice Questions and AnswersJava Multiple Choice Questions and Answers
Java Multiple Choice Questions and Answers
Java Projects
 
The curious Life of JavaScript - Talk at SI-SE 2015
The curious Life of JavaScript - Talk at SI-SE 2015The curious Life of JavaScript - Talk at SI-SE 2015
The curious Life of JavaScript - Talk at SI-SE 2015
jbandi
 
KnowAPIs-UnknownPerf-confoo-2023 (1).pptx
KnowAPIs-UnknownPerf-confoo-2023 (1).pptxKnowAPIs-UnknownPerf-confoo-2023 (1).pptx
KnowAPIs-UnknownPerf-confoo-2023 (1).pptx
Tier1 app
 
Jdk Tools For Performance Diagnostics
Jdk Tools For Performance DiagnosticsJdk Tools For Performance Diagnostics
Jdk Tools For Performance Diagnostics
Dror Bereznitsky
 
AppengineJS
AppengineJSAppengineJS
AppengineJS
Panagiotis Astithas
 
Isomorphic JavaScript with Nashorn
Isomorphic JavaScript with NashornIsomorphic JavaScript with Nashorn
Isomorphic JavaScript with Nashorn
Maxime Najim
 
Why scala is not my ideal language and what I can do with this
Why scala is not my ideal language and what I can do with thisWhy scala is not my ideal language and what I can do with this
Why scala is not my ideal language and what I can do with this
Ruslan Shevchenko
 
CoffeeScript: The Good Parts
CoffeeScript: The Good PartsCoffeeScript: The Good Parts
CoffeeScript: The Good Parts
C4Media
 
De Java 8 a Java 11 y 14
De Java 8 a Java 11 y 14De Java 8 a Java 11 y 14
De Java 8 a Java 11 y 14
Víctor Leonel Orozco López
 
JavaFX vs AJAX vs Flex
JavaFX vs AJAX vs FlexJavaFX vs AJAX vs Flex
JavaFX vs AJAX vs Flex
Craig Dickson
 
Maxim Salnikov - Service Worker: taking the best from the past experience for...
Maxim Salnikov - Service Worker: taking the best from the past experience for...Maxim Salnikov - Service Worker: taking the best from the past experience for...
Maxim Salnikov - Service Worker: taking the best from the past experience for...
Codemotion
 

Similar to Firefox Developers Conference 2010 (20)

JavaScript Multithread or Single Thread.pptx
JavaScript Multithread or Single Thread.pptxJavaScript Multithread or Single Thread.pptx
JavaScript Multithread or Single Thread.pptx
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
Get Hip with JHipster: Spring Boot + AngularJS + Bootstrap - Devoxx UK 2016
Get Hip with JHipster: Spring Boot + AngularJS + Bootstrap - Devoxx UK 2016Get Hip with JHipster: Spring Boot + AngularJS + Bootstrap - Devoxx UK 2016
Get Hip with JHipster: Spring Boot + AngularJS + Bootstrap - Devoxx UK 2016
 
WebGL: GPU acceleration for the open web
WebGL: GPU acceleration for the open webWebGL: GPU acceleration for the open web
WebGL: GPU acceleration for the open web
 
JCConf2019: Next Step of JavaScript on Java
JCConf2019: Next Step of JavaScript on JavaJCConf2019: Next Step of JavaScript on Java
JCConf2019: Next Step of JavaScript on Java
 
Get Hip with JHipster: Spring Boot + AngularJS + Bootstrap - Devoxx France 2016
Get Hip with JHipster: Spring Boot + AngularJS + Bootstrap - Devoxx France 2016Get Hip with JHipster: Spring Boot + AngularJS + Bootstrap - Devoxx France 2016
Get Hip with JHipster: Spring Boot + AngularJS + Bootstrap - Devoxx France 2016
 
Heat up your stack
Heat up your stackHeat up your stack
Heat up your stack
 
Understanding the Dalvik Virtual Machine
Understanding the Dalvik Virtual MachineUnderstanding the Dalvik Virtual Machine
Understanding the Dalvik Virtual Machine
 
Get Hip with JHipster: Spring Boot + AngularJS + Bootstrap - GeekOut 2016
Get Hip with JHipster: Spring Boot + AngularJS + Bootstrap - GeekOut 2016Get Hip with JHipster: Spring Boot + AngularJS + Bootstrap - GeekOut 2016
Get Hip with JHipster: Spring Boot + AngularJS + Bootstrap - GeekOut 2016
 
Java Multiple Choice Questions and Answers
Java Multiple Choice Questions and AnswersJava Multiple Choice Questions and Answers
Java Multiple Choice Questions and Answers
 
The curious Life of JavaScript - Talk at SI-SE 2015
The curious Life of JavaScript - Talk at SI-SE 2015The curious Life of JavaScript - Talk at SI-SE 2015
The curious Life of JavaScript - Talk at SI-SE 2015
 
KnowAPIs-UnknownPerf-confoo-2023 (1).pptx
KnowAPIs-UnknownPerf-confoo-2023 (1).pptxKnowAPIs-UnknownPerf-confoo-2023 (1).pptx
KnowAPIs-UnknownPerf-confoo-2023 (1).pptx
 
Jdk Tools For Performance Diagnostics
Jdk Tools For Performance DiagnosticsJdk Tools For Performance Diagnostics
Jdk Tools For Performance Diagnostics
 
AppengineJS
AppengineJSAppengineJS
AppengineJS
 
Isomorphic JavaScript with Nashorn
Isomorphic JavaScript with NashornIsomorphic JavaScript with Nashorn
Isomorphic JavaScript with Nashorn
 
Why scala is not my ideal language and what I can do with this
Why scala is not my ideal language and what I can do with thisWhy scala is not my ideal language and what I can do with this
Why scala is not my ideal language and what I can do with this
 
CoffeeScript: The Good Parts
CoffeeScript: The Good PartsCoffeeScript: The Good Parts
CoffeeScript: The Good Parts
 
De Java 8 a Java 11 y 14
De Java 8 a Java 11 y 14De Java 8 a Java 11 y 14
De Java 8 a Java 11 y 14
 
JavaFX vs AJAX vs Flex
JavaFX vs AJAX vs FlexJavaFX vs AJAX vs Flex
JavaFX vs AJAX vs Flex
 
Maxim Salnikov - Service Worker: taking the best from the past experience for...
Maxim Salnikov - Service Worker: taking the best from the past experience for...Maxim Salnikov - Service Worker: taking the best from the past experience for...
Maxim Salnikov - Service Worker: taking the best from the past experience for...
 

Recently uploaded

Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Vladimir Iglovikov, Ph.D.
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
James Anderson
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
DianaGray10
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
Rohit Gautam
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 

Recently uploaded (20)

Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
 
UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
Large Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial ApplicationsLarge Language Model (LLM) and it’s Geospatial Applications
Large Language Model (LLM) and it’s Geospatial Applications
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 

Firefox Developers Conference 2010

  • 1. Java MIDP implementation on HTML5 and Flash Yu Kobayashi (yukoba)
  • 2. Who am I? □ “Virtual Machines on JavaScript and ActionScript” OTAKU □ My 4th project of screen sharing implemented by JavaScript and ActionScript
  • 3. Web Browser HTML5 Flash Java MIDP Implementation Application
  • 4. My Compiler Java class file JavaScript ActionScript Java source code
  • 8. Java Source code a = 1 b = 1 while (true) { c = a + b; System.out.println(c); a = b; b = c; } a = 1 b = 1 Is thread resume? Resume System.out.println(c) c = a + b System.out.println(c) a = b b = c
  • 9. Java mnemonic iload 2 istore 1 iload 3 istore 2 Java source code a = b b = c JavaScript stack.push(localVar2) localVar1 = stack.pop() stack.push(localVar3) localVar2 = stack.pop() More Optimized JavaScript localVar1 = localVar2 localVar2 = localVar3 JIT x86 mov eax, [0004h] mov [0000h], eax mov eax, [0008h] mov [0004h], eax Optimized JavaScript stack1 = localVar2 localVar1 = stack1 stack1 = localVar3 localVar2 = stack1
  • 10. Java mnemonic iload 2 istore 1 iload 3 istore 2 Java source code a = b b = c JavaScript stack.push(localVar2) localVar1 = stack.pop() stack.push(localVar3) localVar2 = stack.pop() More Optimized JavaScript localVar1 = localVar2 localVar2 = localVar3 JIT x86 mov eax, [0004h] mov [0000h], eax mov eax, [0008h] mov [0004h], eax Optimized JavaScript stack1 = localVar2 localVar1 = stack1 stack1 = localVar3 localVar2 = stack1