SlideShare una empresa de Scribd logo
1 de 10
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

Más contenido relacionado

La actualidad más candente

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 Meetupansibleil
 
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 MobilesDevGAMM Conference
 
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 2018Codemotion
 
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 SaussetPôle Systematic Paris-Region
 
Swimat - Swift formatter
Swimat - Swift formatterSwimat - Swift formatter
Swimat - Swift formatterJintin Lin
 
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 JavascriptSalesforce 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 14thCarsten 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 XamarinXamarin
 
Mocha, chai and sinon
Mocha, chai and sinonMocha, chai and sinon
Mocha, chai and sinonAndrew Dixon
 
Spring Northwest Usergroup Grails Presentation
Spring Northwest Usergroup Grails PresentationSpring Northwest Usergroup Grails Presentation
Spring Northwest Usergroup Grails Presentationajevans
 
Zoo Overview
Zoo OverviewZoo Overview
Zoo Overviewdjayzen
 
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 deploymentsRoger 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 guidekailash428
 
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
 

La actualidad más candente (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
 

Destacado

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 -Booklet3ggh10
 
Tizen developer conference 2013 report 5
Tizen developer conference 2013 report 5Tizen developer conference 2013 report 5
Tizen developer conference 2013 report 5Takahiro Okada
 
Marketplace Fairness Act, Senate Bill 1832
Marketplace Fairness Act, Senate Bill 1832Marketplace Fairness Act, Senate Bill 1832
Marketplace Fairness Act, Senate Bill 1832cookcountyblog
 
Version control softwares
Version control softwaresVersion control softwares
Version control softwaresNicholas Rutzen
 
Pergamon Museum, Berlin
Pergamon Museum, BerlinPergamon Museum, Berlin
Pergamon Museum, BerlinIrene Aguiar
 
Tizen developer conference 2013 report 3
Tizen developer conference 2013 report 3Tizen developer conference 2013 report 3
Tizen developer conference 2013 report 3Takahiro 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 1LUON
 
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 SummitGlobal 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 communityChristina Flach
 

Destacado (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 a 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.pptxRAHITNATH
 
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 2016Matt 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 webpjcozzi
 
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 JavaTakaaki 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 2016Matt Raible
 
Heat up your stack
Heat up your stackHeat up your stack
Heat up your stackRico Lin
 
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 2016Matt Raible
 
Java Multiple Choice Questions and Answers
Java Multiple Choice Questions and AnswersJava Multiple Choice Questions and Answers
Java Multiple Choice Questions and AnswersJava 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 2015jbandi
 
KnowAPIs-UnknownPerf-confoo-2023 (1).pptx
KnowAPIs-UnknownPerf-confoo-2023 (1).pptxKnowAPIs-UnknownPerf-confoo-2023 (1).pptx
KnowAPIs-UnknownPerf-confoo-2023 (1).pptxTier1 app
 
Jdk Tools For Performance Diagnostics
Jdk Tools For Performance DiagnosticsJdk Tools For Performance Diagnostics
Jdk Tools For Performance DiagnosticsDror Bereznitsky
 
Isomorphic JavaScript with Nashorn
Isomorphic JavaScript with NashornIsomorphic JavaScript with Nashorn
Isomorphic JavaScript with NashornMaxime 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 thisRuslan Shevchenko
 
CoffeeScript: The Good Parts
CoffeeScript: The Good PartsCoffeeScript: The Good Parts
CoffeeScript: The Good PartsC4Media
 
JavaFX vs AJAX vs Flex
JavaFX vs AJAX vs FlexJavaFX vs AJAX vs Flex
JavaFX vs AJAX vs FlexCraig 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
 
Get Hip with JHipster - Colorado Springs OSS Meetup April 2016
Get Hip with JHipster - Colorado Springs OSS Meetup April 2016Get Hip with JHipster - Colorado Springs OSS Meetup April 2016
Get Hip with JHipster - Colorado Springs OSS Meetup April 2016Matt Raible
 

Similar a 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
 
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...
 
Get Hip with JHipster - Colorado Springs OSS Meetup April 2016
Get Hip with JHipster - Colorado Springs OSS Meetup April 2016Get Hip with JHipster - Colorado Springs OSS Meetup April 2016
Get Hip with JHipster - Colorado Springs OSS Meetup April 2016
 

Último

Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...itnewsafrica
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructureitnewsafrica
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxfnnc6jmgwh
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024TopCSSGallery
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...itnewsafrica
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Nikki Chapple
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesManik S Magar
 

Último (20)

Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
 

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