Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Hyperloop

3,832 views

Published on

Hyperloop is not only a super cool high speed tube drive train by Elon Musk. It’s also a new exciting compiler from Appcelerator. Appcelerator is known for their cross-platform product Titanium. Hyperloop lets you write your apps in JavaScript and compiles it into optimized native code, you can even call native SDKs on the supported platforms (Android, iOS, Windows 8 and Windows Phone 8). This makes it conceptually close to Xamarin but the additional benefit of having Titanium’s cross-platform API on top of it so you can write cross-platform UI code. The compiler is part of Ti.Next the complete re-envisioning of the Titanium platform. But you can already start playing with this new cool technology as Hyperloop is open sourced on github. Com and hear more about it and see it in action!

Published in: Technology
  • My brother found Custom Writing Service ⇒ www.WritePaper.info ⇐ and ordered a couple of works. Their customer service is outstanding, never left a query unanswered.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Sex in your area is here: ❶❶❶ http://bit.ly/2F4cEJi ❶❶❶
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Follow the link, new dating source: ❤❤❤ http://bit.ly/2F4cEJi ❤❤❤
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THIS is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THIS Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THIS the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Hyperloop

  1. 1. c.svensson@cgi.com, @connysvensson dev:mobile 22 May 2014 Conny Svensson Managing Architect and Strategist Mobility Hyperloop - new frontiers
  2. 2. Number of developers 580 000
  3. 3. Number of Cloud API calls 28 000 000 000
  4. 4. Fortune 100 companies using Titanium 68% of F100
  5. 5. Appcelerator offerings
  6. 6. 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
  7. 7. 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
  8. 8. 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
  9. 9. What’s next?
  10. 10. 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
  11. 11. 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)
  12. 12. Hyperloop integrations •Titanium traditional (all-in)
 •Titanium in Native
 •Native in Titanium
 •Titanium in other frameworks (PhoneGap, Xamarin)
 •Pure Native (Hyperloop only)
  13. 13. 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)
  14. 14. 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()
  15. 15. 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
  16. 16. 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)  
  17. 17. 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.)
  18. 18. 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
  19. 19. Hyperloop Metabase iOS example
  20. 20. Hyperloop Metabase Android example
  21. 21. 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
  22. 22. 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
  23. 23. The proof is in the pudding! DEMO
  24. 24. 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
  25. 25. 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
  26. 26. Welcome aboard! c.svensson@cgi.com, @connysvensson

×