SlideShare una empresa de Scribd logo
1 de 27
Descargar para leer sin conexión
c.svensson@cgi.com, @connysvensson
dev:mobile 22 May 2014
Conny Svensson
Managing Architect and Strategist Mobility
Hyperloop - new frontiers
Number of developers
580 000
Number of Cloud API calls
28 000 000 000
Fortune 100 companies using Titanium
68% of F100
Appcelerator offerings
Titanium Studio IDE
• Support for iOS, Android, BlackBerry, Tizen, Denso 

and mobile web with over 5,000 device and mobile OS APIs
• Single JavaScript codebase
• On-device debugger, live UI editor, code analyzer 

and performance profiler
Analytics
• View the live health and availability of all the mobile apps in real-time
• Real-time activity reporting for mobile projects including 

pre-deployment readiness and post-deployment success
• Historical rolling timeframe reporting with trend analysis
• Monitor end-user exceptions and crashes as they happen
API
• API SDK provides for rapid development of custom APIs to 

mobilize any backend data source
• Support for SAP, Oracle, Salesforce.com, Microsoft SharePoint 

and Microsoft Dynamics
• Connectors to popular applications like LinkedIn, Yammer, 

PayPal, DropBox, Google Calendar, Facebook, Twitter, and many others
• Ready access to common mobile services including push notification,
photo storage, authentication and key value pair store
What’s next?
Ti.Next (Titanium 4.0)
•Significant re-architecture of Titanium

•(Mostly) same API

•Incredible performance boost and reduction in app size

•Improved Extensibility

•Windows support
Ti.Next Foundation
•Foundation of Ti.Next is a new compiler, built from the
ground up for performance, extensibility

•Open Source under Apache Public License v2

•http://github.com/appcelerator/hyperloop

•Over a year of R&D already on Hyperloop (4th generation
compiler under development)
Hyperloop integrations
•Titanium traditional (all-in)

•Titanium in Native

•Native in Titanium

•Titanium in other frameworks (PhoneGap, Xamarin)

•Pure Native (Hyperloop only)
What is Hyperloop?
•Hyperloop turns JS code into native code by mapping the
native APIs into JS syntax

•Hyperloop will be (mainly) used by Titanium platform
developers to build Titanium APIs or modules

•A more traditional compiler architecture:
– Front-end (parse and transform JS AST)
– Back-end (generate native, platform specific code)
– +Metabase (metadata about target platform)
Hyperloop iOS example
!
!
@import('Foundation');	
  
@import('UIKit');	
  
!
var	
  view	
  =	
  new	
  UIView(CGRectMake(100,100,50,50));	
  
view.backgroundColor	
  =	
  UIColor.redColor();	
  
var	
  window	
  =	
  new	
  UIWindow();	
  
window.addSubview(view);	
  
window.makeKeyAndVisible()
Hyperloop Front-end
•Front-end uses UglifyJS to turn JS code into an AST and
then perform transformations on the code to make it more
suitable for native generation
Example of Front-end translations
!
Foo.bar	
  =	
  1	
  	
  	
   	
   	
   Foo_set_bar(1)	
  
!
Foo.bar()	
   	
   	
   	
   Foo_bar()	
  
!
var	
  foo	
  =	
  new	
  Bar()	
   	
   Bar_constructor()	
  
!
foo.bar(1)	
  	
   	
   	
   Bar_bar(foo,	
  1)	
  
Hyperloop Back-end
•Back-end generates C/C++ code for target platform

•~90% of the back-end code is reusable for all platforms
supported

•10% is basically specific syntax for things like calling
methods, properties, etc. and other platform specific
nuances (differences in file extensions, etc.)
Hyperloop Metabase
•Defined platform APIs in JSON format

•Automatically generate for all platforms supported

•Large tree of all supported APIs (classes, functions, types, etc.)

•Supports both C and platform specific languages (Objective-C,
Java, etc.)

•Uses Clang (+platform specific tools) to generate

•Rich metadata about the platform
Hyperloop Metabase iOS example
Hyperloop Metabase Android example
Hyperloop JS engine
•Unified JS engine for all platforms based on
JavaScriptCore
– iOS 7.0+ comes with engine installed
– Port for Windows and Android
!
•Performance testing showed JSC was basically native
speed
Hyperloop code rewriting
•Huge blocks of code will be optimized into pure native
code generation

•No penalty for “JS bridge” like in current Titanium

•JS engine runs on main UI Thread:
– No thread context switching / creation overhead
– Will provide background worker for asynchronous non-
blocking tasks
The proof is in the pudding!
DEMO
Ti.Next
•Titanium APIs are being re-written using Hyperloop JS
syntax and compiled using Hyperloop compiler
•Titanium APIs (and native APIs) will be first class JS objects
•Goal is to generate API interfaces, test cases from API
documentation
•Full Node.js require implementation
•Will likely deprecate platform specific APIs and provide a
compatibility module
•Likely will reduce size of overall API
•Titanium APIs will use module design
Ti.Next modules
•Migration path for modules (still trying to determine)

•Packaging likely will change and modules will be
expressed in Hyperloop syntax

•Possibility of a module compatibility shim
Welcome aboard!
c.svensson@cgi.com, @connysvensson

Más contenido relacionado

Destacado

The Hyperloop - Fancy Commute at 800 MPH?
The Hyperloop - Fancy Commute at 800 MPH?The Hyperloop - Fancy Commute at 800 MPH?
The Hyperloop - Fancy Commute at 800 MPH?Stinson
 
Hyperloop transportation system
Hyperloop transportation systemHyperloop transportation system
Hyperloop transportation systemDhananjay Kumar
 
Hyperloop VTU Seminar Report
Hyperloop VTU Seminar ReportHyperloop VTU Seminar Report
Hyperloop VTU Seminar ReportUmar Ahmed
 
Hyperloop Presentation - Babbitt
Hyperloop Presentation - BabbittHyperloop Presentation - Babbitt
Hyperloop Presentation - BabbittTess Audley Babbitt
 
1. introduction to Hyperloop Technology [3.3.2017]
1. introduction to Hyperloop Technology [3.3.2017]1. introduction to Hyperloop Technology [3.3.2017]
1. introduction to Hyperloop Technology [3.3.2017]Janne Ruponen
 
Hyperloop - The future of Transportation
Hyperloop - The future of TransportationHyperloop - The future of Transportation
Hyperloop - The future of TransportationShubham Agarwal
 
Hyperloop- A 21st century transportation revolution
Hyperloop- A 21st century transportation revolutionHyperloop- A 21st century transportation revolution
Hyperloop- A 21st century transportation revolutionGyanendra Awasthi
 
Hyperloop presentation
Hyperloop presentationHyperloop presentation
Hyperloop presentationSazzad Shawon
 
Vactrain an insight into Hyperloop
Vactrain an  insight into HyperloopVactrain an  insight into Hyperloop
Vactrain an insight into HyperloopAvin Ganapathi
 

Destacado (20)

Hyperloop
HyperloopHyperloop
Hyperloop
 
Hyperloop transportation system
Hyperloop  transportation systemHyperloop  transportation system
Hyperloop transportation system
 
Hyperloop
HyperloopHyperloop
Hyperloop
 
The Hyperloop - Fancy Commute at 800 MPH?
The Hyperloop - Fancy Commute at 800 MPH?The Hyperloop - Fancy Commute at 800 MPH?
The Hyperloop - Fancy Commute at 800 MPH?
 
Hyperloop project
Hyperloop projectHyperloop project
Hyperloop project
 
Hyperloop transportation system
Hyperloop transportation systemHyperloop transportation system
Hyperloop transportation system
 
Hyperloop VTU Seminar Report
Hyperloop VTU Seminar ReportHyperloop VTU Seminar Report
Hyperloop VTU Seminar Report
 
Hyperloop Presentation - Babbitt
Hyperloop Presentation - BabbittHyperloop Presentation - Babbitt
Hyperloop Presentation - Babbitt
 
Hyperloop
HyperloopHyperloop
Hyperloop
 
1. introduction to Hyperloop Technology [3.3.2017]
1. introduction to Hyperloop Technology [3.3.2017]1. introduction to Hyperloop Technology [3.3.2017]
1. introduction to Hyperloop Technology [3.3.2017]
 
Hyperloop
HyperloopHyperloop
Hyperloop
 
Hyperloop final
Hyperloop finalHyperloop final
Hyperloop final
 
Hyperloop
HyperloopHyperloop
Hyperloop
 
Hyperloop - The future of Transportation
Hyperloop - The future of TransportationHyperloop - The future of Transportation
Hyperloop - The future of Transportation
 
Hyperloop
HyperloopHyperloop
Hyperloop
 
Hyperloop- A 21st century transportation revolution
Hyperloop- A 21st century transportation revolutionHyperloop- A 21st century transportation revolution
Hyperloop- A 21st century transportation revolution
 
Hyperloop presentation
Hyperloop presentationHyperloop presentation
Hyperloop presentation
 
Vactrain an insight into Hyperloop
Vactrain an  insight into HyperloopVactrain an  insight into Hyperloop
Vactrain an insight into Hyperloop
 
Hyperloop
Hyperloop Hyperloop
Hyperloop
 
Hyperloop
HyperloopHyperloop
Hyperloop
 

Similar a Hyperloop

Developing a native mobile apps using Ionic&Cordova
Developing a native mobile apps using Ionic&CordovaDeveloping a native mobile apps using Ionic&Cordova
Developing a native mobile apps using Ionic&CordovaDamir Beylkhanov
 
The Big Easy: Native Mobile App Development with Appcelerator Titanium and Ja...
The Big Easy: Native Mobile App Development with Appcelerator Titanium and Ja...The Big Easy: Native Mobile App Development with Appcelerator Titanium and Ja...
The Big Easy: Native Mobile App Development with Appcelerator Titanium and Ja...Adam Paxton
 
Introduction to Appcelerator Titanium
Introduction to Appcelerator TitaniumIntroduction to Appcelerator Titanium
Introduction to Appcelerator TitaniumAdam Paxton
 
Build Your First iPhone or Android App with Telerik AppBuilder
Build Your First iPhone or Android App with Telerik AppBuilderBuild Your First iPhone or Android App with Telerik AppBuilder
Build Your First iPhone or Android App with Telerik AppBuilderJeffrey T. Fritz
 
PUG Challenge 2016 - The nativescript pug app challenge
PUG Challenge 2016 -  The nativescript pug app challengePUG Challenge 2016 -  The nativescript pug app challenge
PUG Challenge 2016 - The nativescript pug app challengeBronco Oostermeyer
 
Getting started with Appcelerator Titanium
Getting started with Appcelerator TitaniumGetting started with Appcelerator Titanium
Getting started with Appcelerator TitaniumTechday7
 
Introduction to Cross Platform Development with Xamarin/ Visual Studio
Introduction to Cross Platform Development with Xamarin/ Visual StudioIntroduction to Cross Platform Development with Xamarin/ Visual Studio
Introduction to Cross Platform Development with Xamarin/ Visual StudioIndyMobileNetDev
 
.Net overviewrajnish
.Net overviewrajnish.Net overviewrajnish
.Net overviewrajnishRajnish Kalla
 
Getting started with titanium
Getting started with titaniumGetting started with titanium
Getting started with titaniumNaga Harish M
 
Titanium: Native Mobile Apps with Javascript
Titanium: Native Mobile Apps with Javascript Titanium: Native Mobile Apps with Javascript
Titanium: Native Mobile Apps with Javascript Leonardo Farias
 
The Future of Cross-Platform is Native
The Future of Cross-Platform is NativeThe Future of Cross-Platform is Native
The Future of Cross-Platform is NativeJustin Mancinelli
 
.NET Innovations and Improvements
.NET Innovations and Improvements.NET Innovations and Improvements
.NET Innovations and ImprovementsJeff Chu
 
Xamarin.Forms Bootcamp
Xamarin.Forms BootcampXamarin.Forms Bootcamp
Xamarin.Forms BootcampMike Melusky
 
Native Mobile Application Using Java Script
Native  Mobile  Application  Using  Java ScriptNative  Mobile  Application  Using  Java Script
Native Mobile Application Using Java ScriptBorey Lim
 

Similar a Hyperloop (20)

Hyperloop
HyperloopHyperloop
Hyperloop
 
Developing a native mobile apps using Ionic&Cordova
Developing a native mobile apps using Ionic&CordovaDeveloping a native mobile apps using Ionic&Cordova
Developing a native mobile apps using Ionic&Cordova
 
TiConf EU 2014
TiConf EU 2014TiConf EU 2014
TiConf EU 2014
 
The Big Easy: Native Mobile App Development with Appcelerator Titanium and Ja...
The Big Easy: Native Mobile App Development with Appcelerator Titanium and Ja...The Big Easy: Native Mobile App Development with Appcelerator Titanium and Ja...
The Big Easy: Native Mobile App Development with Appcelerator Titanium and Ja...
 
Introduction to Appcelerator Titanium
Introduction to Appcelerator TitaniumIntroduction to Appcelerator Titanium
Introduction to Appcelerator Titanium
 
Titanium #MDS13
Titanium #MDS13Titanium #MDS13
Titanium #MDS13
 
Build Your First iPhone or Android App with Telerik AppBuilder
Build Your First iPhone or Android App with Telerik AppBuilderBuild Your First iPhone or Android App with Telerik AppBuilder
Build Your First iPhone or Android App with Telerik AppBuilder
 
Monkey space 2013
Monkey space 2013Monkey space 2013
Monkey space 2013
 
PUG Challenge 2016 - The nativescript pug app challenge
PUG Challenge 2016 -  The nativescript pug app challengePUG Challenge 2016 -  The nativescript pug app challenge
PUG Challenge 2016 - The nativescript pug app challenge
 
Getting started with Appcelerator Titanium
Getting started with Appcelerator TitaniumGetting started with Appcelerator Titanium
Getting started with Appcelerator Titanium
 
Introduction to Cross Platform Development with Xamarin/ Visual Studio
Introduction to Cross Platform Development with Xamarin/ Visual StudioIntroduction to Cross Platform Development with Xamarin/ Visual Studio
Introduction to Cross Platform Development with Xamarin/ Visual Studio
 
TiConf NYC 2014
TiConf NYC 2014TiConf NYC 2014
TiConf NYC 2014
 
.Net overviewrajnish
.Net overviewrajnish.Net overviewrajnish
.Net overviewrajnish
 
Getting started with titanium
Getting started with titaniumGetting started with titanium
Getting started with titanium
 
Titanium: Native Mobile Apps with Javascript
Titanium: Native Mobile Apps with Javascript Titanium: Native Mobile Apps with Javascript
Titanium: Native Mobile Apps with Javascript
 
Cross-Platform Development
Cross-Platform DevelopmentCross-Platform Development
Cross-Platform Development
 
The Future of Cross-Platform is Native
The Future of Cross-Platform is NativeThe Future of Cross-Platform is Native
The Future of Cross-Platform is Native
 
.NET Innovations and Improvements
.NET Innovations and Improvements.NET Innovations and Improvements
.NET Innovations and Improvements
 
Xamarin.Forms Bootcamp
Xamarin.Forms BootcampXamarin.Forms Bootcamp
Xamarin.Forms Bootcamp
 
Native Mobile Application Using Java Script
Native  Mobile  Application  Using  Java ScriptNative  Mobile  Application  Using  Java Script
Native Mobile Application Using Java Script
 

Más de Conny Svensson

iBeacons - micropositioning and context awareness
iBeacons - micropositioning and context awarenessiBeacons - micropositioning and context awareness
iBeacons - micropositioning and context awarenessConny Svensson
 
A story about giants, tactics and what’s next
A story about giants, tactics and what’s nextA story about giants, tactics and what’s next
A story about giants, tactics and what’s nextConny Svensson
 
Från potatis till total frihet
Från potatis till total frihetFrån potatis till total frihet
Från potatis till total frihetConny Svensson
 
How to pick the right development model for your mobile project?
How to pick the right development model for your mobile project?How to pick the right development model for your mobile project?
How to pick the right development model for your mobile project?Conny Svensson
 
Vi skulle vilja ha en app!
Vi skulle vilja ha en app!Vi skulle vilja ha en app!
Vi skulle vilja ha en app!Conny Svensson
 

Más de Conny Svensson (6)

iBeacons - micropositioning and context awareness
iBeacons - micropositioning and context awarenessiBeacons - micropositioning and context awareness
iBeacons - micropositioning and context awareness
 
A story about giants, tactics and what’s next
A story about giants, tactics and what’s nextA story about giants, tactics and what’s next
A story about giants, tactics and what’s next
 
Från potatis till total frihet
Från potatis till total frihetFrån potatis till total frihet
Från potatis till total frihet
 
How to pick the right development model for your mobile project?
How to pick the right development model for your mobile project?How to pick the right development model for your mobile project?
How to pick the right development model for your mobile project?
 
Vi skulle vilja ha en app!
Vi skulle vilja ha en app!Vi skulle vilja ha en app!
Vi skulle vilja ha en app!
 
ShopUp
ShopUpShopUp
ShopUp
 

Último

A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
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
 
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
 
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
 
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
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 

Último (20)

A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
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
 
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
 
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
 
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
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 

Hyperloop

  • 1. c.svensson@cgi.com, @connysvensson dev:mobile 22 May 2014 Conny Svensson Managing Architect and Strategist Mobility Hyperloop - new frontiers
  • 2.
  • 4. Number of Cloud API calls 28 000 000 000
  • 5. Fortune 100 companies using Titanium 68% of F100
  • 7. Titanium Studio IDE • Support for iOS, Android, BlackBerry, Tizen, Denso 
 and mobile web with over 5,000 device and mobile OS APIs • Single JavaScript codebase • On-device debugger, live UI editor, code analyzer 
 and performance profiler
  • 8. Analytics • View the live health and availability of all the mobile apps in real-time • Real-time activity reporting for mobile projects including 
 pre-deployment readiness and post-deployment success • Historical rolling timeframe reporting with trend analysis • Monitor end-user exceptions and crashes as they happen
  • 9. API • API SDK provides for rapid development of custom APIs to 
 mobilize any backend data source • Support for SAP, Oracle, Salesforce.com, Microsoft SharePoint 
 and Microsoft Dynamics • Connectors to popular applications like LinkedIn, Yammer, 
 PayPal, DropBox, Google Calendar, Facebook, Twitter, and many others • Ready access to common mobile services including push notification, photo storage, authentication and key value pair store
  • 11. Ti.Next (Titanium 4.0) •Significant re-architecture of Titanium
 •(Mostly) same API
 •Incredible performance boost and reduction in app size
 •Improved Extensibility
 •Windows support
  • 12. Ti.Next Foundation •Foundation of Ti.Next is a new compiler, built from the ground up for performance, extensibility
 •Open Source under Apache Public License v2
 •http://github.com/appcelerator/hyperloop
 •Over a year of R&D already on Hyperloop (4th generation compiler under development)
  • 13. Hyperloop integrations •Titanium traditional (all-in)
 •Titanium in Native
 •Native in Titanium
 •Titanium in other frameworks (PhoneGap, Xamarin)
 •Pure Native (Hyperloop only)
  • 14. What is Hyperloop? •Hyperloop turns JS code into native code by mapping the native APIs into JS syntax
 •Hyperloop will be (mainly) used by Titanium platform developers to build Titanium APIs or modules
 •A more traditional compiler architecture: – Front-end (parse and transform JS AST) – Back-end (generate native, platform specific code) – +Metabase (metadata about target platform)
  • 15. Hyperloop iOS example ! ! @import('Foundation');   @import('UIKit');   ! var  view  =  new  UIView(CGRectMake(100,100,50,50));   view.backgroundColor  =  UIColor.redColor();   var  window  =  new  UIWindow();   window.addSubview(view);   window.makeKeyAndVisible()
  • 16. Hyperloop Front-end •Front-end uses UglifyJS to turn JS code into an AST and then perform transformations on the code to make it more suitable for native generation
  • 17. Example of Front-end translations ! Foo.bar  =  1           Foo_set_bar(1)   ! Foo.bar()         Foo_bar()   ! var  foo  =  new  Bar()     Bar_constructor()   ! foo.bar(1)         Bar_bar(foo,  1)  
  • 18. Hyperloop Back-end •Back-end generates C/C++ code for target platform
 •~90% of the back-end code is reusable for all platforms supported
 •10% is basically specific syntax for things like calling methods, properties, etc. and other platform specific nuances (differences in file extensions, etc.)
  • 19. Hyperloop Metabase •Defined platform APIs in JSON format
 •Automatically generate for all platforms supported
 •Large tree of all supported APIs (classes, functions, types, etc.)
 •Supports both C and platform specific languages (Objective-C, Java, etc.)
 •Uses Clang (+platform specific tools) to generate
 •Rich metadata about the platform
  • 22. Hyperloop JS engine •Unified JS engine for all platforms based on JavaScriptCore – iOS 7.0+ comes with engine installed – Port for Windows and Android ! •Performance testing showed JSC was basically native speed
  • 23. Hyperloop code rewriting •Huge blocks of code will be optimized into pure native code generation
 •No penalty for “JS bridge” like in current Titanium
 •JS engine runs on main UI Thread: – No thread context switching / creation overhead – Will provide background worker for asynchronous non- blocking tasks
  • 24. The proof is in the pudding! DEMO
  • 25. Ti.Next •Titanium APIs are being re-written using Hyperloop JS syntax and compiled using Hyperloop compiler •Titanium APIs (and native APIs) will be first class JS objects •Goal is to generate API interfaces, test cases from API documentation •Full Node.js require implementation •Will likely deprecate platform specific APIs and provide a compatibility module •Likely will reduce size of overall API •Titanium APIs will use module design
  • 26. Ti.Next modules •Migration path for modules (still trying to determine)
 •Packaging likely will change and modules will be expressed in Hyperloop syntax
 •Possibility of a module compatibility shim