SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Tendances

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
 

Tendances (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
 

En vedette

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
 

En vedette (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
 

Similaire à 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
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 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 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
 

Similaire à 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...
 

Dernier

ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
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 Processorsdebabhi2
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
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 FresherRemote DBA Services
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 

Dernier (20)

ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
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
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
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
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 

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