SlideShare a Scribd company logo
1 of 8
Download to read offline
Elastos
Elastos.org
6/22/2016
Decentralized App/Service Platform
Across the Internet
An Open Source Platform for Universal Apps
 Self Contained C/C++ Native API
 Rewrote more than two million lines of Android Java Framework code;
 Facilitates Universal Apps
 C/C++, Java, JS programs call each other without resorting to JNI;
 Unifies Local and Web Services
 Loosely coupled and on-demand loading services across the Internet;
 Hides All IPC, Internet and IoT Protocols
 Network-agnostic model prevents DDoS attacks and privacy leaks.
Windows UWP vs. Elastos
Key Points Windows UWP Elastos
Programming Runtime API WinRT API based on COM/C++ ElastosRT API based on CAR/C++
Primary Programming Languages C/C++, C#, VB, JavaScript C/C++, Java, JavaScript
Application Framework Unified Native Framework (.NET) Unified Native Framework (Android)
UI Rendering XAML XML
Screen Size Adapting Wide, Middle, Narrow mdpi, hdpi, xhdpi, xxhdpi
IoT Framework AllJoyn AllJoyn
• Note: UWP stands for Universal Windows Platform, the Microsoft terminology of universal apps.
COM stands for Component Object Model, a Microsoft Component/Service technology.
CAR stands for Component Assembly Runtime, an Elastos technology for SaaS programming.
Elastos Block Diagram
safety restricted
Kernel
ElastosRT APIs
C++ Apps
Distribute CAR Services & IoT
Web Apps
Html/css & JS
Java Apps
Security
Distribute Framework
Register & Find Manager
Connection Manager
Push Manager
Local Services
Activity Manager Window Manager
Package ManagerResource Manager
Notification Manager Content Manager
Elastos Programming in C/C++
 Based on homebrew CAR (Component Assembly Runtime) technology,
Elastos supports SaaS programming in native code;
 Interface oriented and event driven;
 Binary file format .eco is .so plus .cls;
 Utilizing .cls to cross language/network
barriers:
 No more JNI;
 No more proxy/stub;
 Write once, run everywhere.
Binder Socket
CAR Runtime
Application
Process
Binder
CAR Runtime
Application
Process
Socket
CAR Runtime
Application
Process
Machine A Machine B
Elastos is Android Compatible
Binder
Dalvik VM
Elastos RT Proxy
Java Framework JNI
Java Framework
Android Java App
Elastos RT Elastos C++ Framework
Elastos C++ App
JavaScript interacts with C++
var eventHandler = (function() {
return {
OnEvent:function(i) {
var s = 'OnEvent, i: ' +
JSON.stringify(i);
elastos.log(s);
},
}
})();
var module = elastos.require('Demo.eco');
var obj = module.createObject('CDemo');
obj.addEventHandler(eventHandler);
obj.doTask();
Module
{
interface IEventListener {
OnEvent(
[in] Int32 id);
}
interface IDemo {
AddEventHandler(
[in] IEventListener* listener);
DoTask();
}
class CDemo {
interface IDemo;
}
}
...
ECode CDemo::AddEventHandler(
/* [in] */ IEventListener* listener)
{
m_Listener = listener;
return NOERROR;
}
ECode CDemo::DoTask()
{
m_Listener->OnEvent(9);
return NOERROR;
}
...
JavaScript Demo.car (compiled to .cls) CDemo.cpp (compiled to .eco)
End-to-End Solution for a Safer Cyberspace

More Related Content

Viewers also liked

Omni chain presentation - DBS Blockchain Hackathon
Omni chain presentation - DBS Blockchain HackathonOmni chain presentation - DBS Blockchain Hackathon
Omni chain presentation - DBS Blockchain HackathonTaulant Ramabaja
 
The Rational Behind Implementing an Open Source OS for Universal Apps
The Rational Behind Implementing an Open Source OS for Universal AppsThe Rational Behind Implementing an Open Source OS for Universal Apps
The Rational Behind Implementing an Open Source OS for Universal AppsRong Chen
 
Blockchain As An Enabler_16 July 2016_David Lee_Final
Blockchain As An Enabler_16 July 2016_David Lee_FinalBlockchain As An Enabler_16 July 2016_David Lee_Final
Blockchain As An Enabler_16 July 2016_David Lee_FinalDavid Lee Kuo Chuen 李国权
 
How blockchain will defend iot
How blockchain will defend iotHow blockchain will defend iot
How blockchain will defend iotHitesh Malviya
 
Logic of blockchain and quantum computing on ibm cloud platform
Logic of blockchain and quantum computing on ibm cloud platformLogic of blockchain and quantum computing on ibm cloud platform
Logic of blockchain and quantum computing on ibm cloud platformTsuyoshi Hirayama
 
IoT Panel- Cisco and Intel
IoT Panel- Cisco and Intel IoT Panel- Cisco and Intel
IoT Panel- Cisco and Intel Bessie Wang
 
Watson iot blockchain api concept 20160728
Watson iot blockchain api concept 20160728Watson iot blockchain api concept 20160728
Watson iot blockchain api concept 20160728Tsuyoshi Hirayama
 
Security Issues of IoT with Fog
Security Issues of IoT with FogSecurity Issues of IoT with Fog
Security Issues of IoT with FogAchu Anna
 
Drones and Fog Computing - New Frontiers of IoT and Digital Transformation -...
Drones and Fog Computing  - New Frontiers of IoT and Digital Transformation -...Drones and Fog Computing  - New Frontiers of IoT and Digital Transformation -...
Drones and Fog Computing - New Frontiers of IoT and Digital Transformation -...Biren Gandhi
 
Mediico healthcare Pitch deck
Mediico healthcare Pitch deckMediico healthcare Pitch deck
Mediico healthcare Pitch deckHitesh Malviya
 
Research based FinTech partnership analysis
Research based FinTech partnership analysisResearch based FinTech partnership analysis
Research based FinTech partnership analysisIlkka Lähteenmäki
 
SoftLayer Bluemix SUMMIT 2015 : Intel Edisonクラスタ x Bluemixによる IoTアプリケーションの実装
SoftLayer Bluemix SUMMIT 2015 : Intel Edisonクラスタ x Bluemixによる IoTアプリケーションの実装SoftLayer Bluemix SUMMIT 2015 : Intel Edisonクラスタ x Bluemixによる IoTアプリケーションの実装
SoftLayer Bluemix SUMMIT 2015 : Intel Edisonクラスタ x Bluemixによる IoTアプリケーションの実装Nobuyuki Matsui
 
Trust, Semantics and Blockchains: Food Safety in the age of IoT
Trust, Semantics and Blockchains: Food Safety in the age of IoTTrust, Semantics and Blockchains: Food Safety in the age of IoT
Trust, Semantics and Blockchains: Food Safety in the age of IoTChristopher Brewster
 

Viewers also liked (20)

Omni chain presentation - DBS Blockchain Hackathon
Omni chain presentation - DBS Blockchain HackathonOmni chain presentation - DBS Blockchain Hackathon
Omni chain presentation - DBS Blockchain Hackathon
 
The Rational Behind Implementing an Open Source OS for Universal Apps
The Rational Behind Implementing an Open Source OS for Universal AppsThe Rational Behind Implementing an Open Source OS for Universal Apps
The Rational Behind Implementing an Open Source OS for Universal Apps
 
BlockchainIntro.com
BlockchainIntro.comBlockchainIntro.com
BlockchainIntro.com
 
Pub/Sub Messaging
Pub/Sub MessagingPub/Sub Messaging
Pub/Sub Messaging
 
Blockchain As An Enabler_16 July 2016_David Lee_Final
Blockchain As An Enabler_16 July 2016_David Lee_FinalBlockchain As An Enabler_16 July 2016_David Lee_Final
Blockchain As An Enabler_16 July 2016_David Lee_Final
 
How blockchain will defend iot
How blockchain will defend iotHow blockchain will defend iot
How blockchain will defend iot
 
Logic of blockchain and quantum computing on ibm cloud platform
Logic of blockchain and quantum computing on ibm cloud platformLogic of blockchain and quantum computing on ibm cloud platform
Logic of blockchain and quantum computing on ibm cloud platform
 
IoT Key Elements
IoT Key ElementsIoT Key Elements
IoT Key Elements
 
IoT Panel- Cisco and Intel
IoT Panel- Cisco and Intel IoT Panel- Cisco and Intel
IoT Panel- Cisco and Intel
 
Watson iot blockchain api concept 20160728
Watson iot blockchain api concept 20160728Watson iot blockchain api concept 20160728
Watson iot blockchain api concept 20160728
 
Security Issues of IoT with Fog
Security Issues of IoT with FogSecurity Issues of IoT with Fog
Security Issues of IoT with Fog
 
Open banking
Open bankingOpen banking
Open banking
 
Drones and Fog Computing - New Frontiers of IoT and Digital Transformation -...
Drones and Fog Computing  - New Frontiers of IoT and Digital Transformation -...Drones and Fog Computing  - New Frontiers of IoT and Digital Transformation -...
Drones and Fog Computing - New Frontiers of IoT and Digital Transformation -...
 
Blockchains in agriculture
Blockchains in agricultureBlockchains in agriculture
Blockchains in agriculture
 
Power Generation: Coal-Fired
Power Generation: Coal-FiredPower Generation: Coal-Fired
Power Generation: Coal-Fired
 
Mediico healthcare Pitch deck
Mediico healthcare Pitch deckMediico healthcare Pitch deck
Mediico healthcare Pitch deck
 
Research based FinTech partnership analysis
Research based FinTech partnership analysisResearch based FinTech partnership analysis
Research based FinTech partnership analysis
 
Commercial insurance and blockchain
Commercial insurance and blockchainCommercial insurance and blockchain
Commercial insurance and blockchain
 
SoftLayer Bluemix SUMMIT 2015 : Intel Edisonクラスタ x Bluemixによる IoTアプリケーションの実装
SoftLayer Bluemix SUMMIT 2015 : Intel Edisonクラスタ x Bluemixによる IoTアプリケーションの実装SoftLayer Bluemix SUMMIT 2015 : Intel Edisonクラスタ x Bluemixによる IoTアプリケーションの実装
SoftLayer Bluemix SUMMIT 2015 : Intel Edisonクラスタ x Bluemixによる IoTアプリケーションの実装
 
Trust, Semantics and Blockchains: Food Safety in the age of IoT
Trust, Semantics and Blockchains: Food Safety in the age of IoTTrust, Semantics and Blockchains: Food Safety in the age of IoT
Trust, Semantics and Blockchains: Food Safety in the age of IoT
 

Similar to Elastos Intro

Sviluppo x platform con xamarin
Sviluppo x platform con xamarin Sviluppo x platform con xamarin
Sviluppo x platform con xamarin Dan Ardelean
 
Introduction to .NET by QuontraSolutions
Introduction to .NET by QuontraSolutionsIntroduction to .NET by QuontraSolutions
Introduction to .NET by QuontraSolutionsQUONTRASOLUTIONS
 
Mobile Enterprise Applications
Mobile Enterprise ApplicationsMobile Enterprise Applications
Mobile Enterprise ApplicationsJason Conger
 
Conociendo el ecosistema de Windows Phone 8 y Windows 8
Conociendo el ecosistema de Windows Phone 8 y Windows 8Conociendo el ecosistema de Windows Phone 8 y Windows 8
Conociendo el ecosistema de Windows Phone 8 y Windows 8Sorey García
 
Net framework
Net frameworkNet framework
Net frameworkjhsri
 
HTML5 and the dawn of rich mobile web applications
HTML5 and the dawn of rich mobile web applicationsHTML5 and the dawn of rich mobile web applications
HTML5 and the dawn of rich mobile web applicationsJames Pearce
 
Building Cross Platform Mobile Web Apps
Building Cross Platform Mobile Web AppsBuilding Cross Platform Mobile Web Apps
Building Cross Platform Mobile Web AppsJames Pearce
 
An Intro to Mobile HTML5
An Intro to Mobile HTML5An Intro to Mobile HTML5
An Intro to Mobile HTML5James Pearce
 
Net framework
Net frameworkNet framework
Net frameworksumit1503
 
Introduction To Dotnet
Introduction To DotnetIntroduction To Dotnet
Introduction To DotnetSAMIR BHOGAYTA
 
Glympse API Cross Compiling
Glympse API Cross CompilingGlympse API Cross Compiling
Glympse API Cross CompilingEgor Pushkin
 
SLUGUK BUILD Round-up
SLUGUK BUILD Round-upSLUGUK BUILD Round-up
SLUGUK BUILD Round-upDerek Lakin
 
Dev days 1 Introduction to Xamarin Taswar Bhatti
Dev days 1 Introduction to Xamarin Taswar BhattiDev days 1 Introduction to Xamarin Taswar Bhatti
Dev days 1 Introduction to Xamarin Taswar BhattiTaswar Bhatti
 
Presentation1
Presentation1Presentation1
Presentation1kpkcsc
 

Similar to Elastos Intro (20)

Sviluppo x platform con xamarin
Sviluppo x platform con xamarin Sviluppo x platform con xamarin
Sviluppo x platform con xamarin
 
Introduction to .NET by QuontraSolutions
Introduction to .NET by QuontraSolutionsIntroduction to .NET by QuontraSolutions
Introduction to .NET by QuontraSolutions
 
Mobile Enterprise Applications
Mobile Enterprise ApplicationsMobile Enterprise Applications
Mobile Enterprise Applications
 
Conociendo el ecosistema de Windows Phone 8 y Windows 8
Conociendo el ecosistema de Windows Phone 8 y Windows 8Conociendo el ecosistema de Windows Phone 8 y Windows 8
Conociendo el ecosistema de Windows Phone 8 y Windows 8
 
Visual studio.net
Visual studio.netVisual studio.net
Visual studio.net
 
Net framework
Net frameworkNet framework
Net framework
 
HTML5 and the dawn of rich mobile web applications
HTML5 and the dawn of rich mobile web applicationsHTML5 and the dawn of rich mobile web applications
HTML5 and the dawn of rich mobile web applications
 
Building Cross Platform Mobile Web Apps
Building Cross Platform Mobile Web AppsBuilding Cross Platform Mobile Web Apps
Building Cross Platform Mobile Web Apps
 
An Intro to Mobile HTML5
An Intro to Mobile HTML5An Intro to Mobile HTML5
An Intro to Mobile HTML5
 
As Pdotnet
As PdotnetAs Pdotnet
As Pdotnet
 
Net framework
Net frameworkNet framework
Net framework
 
Introduction To Dotnet
Introduction To DotnetIntroduction To Dotnet
Introduction To Dotnet
 
Glympse API Cross Compiling
Glympse API Cross CompilingGlympse API Cross Compiling
Glympse API Cross Compiling
 
SLUGUK BUILD Round-up
SLUGUK BUILD Round-upSLUGUK BUILD Round-up
SLUGUK BUILD Round-up
 
mobicon_paper
mobicon_papermobicon_paper
mobicon_paper
 
Dev days 1 Introduction to Xamarin Taswar Bhatti
Dev days 1 Introduction to Xamarin Taswar BhattiDev days 1 Introduction to Xamarin Taswar Bhatti
Dev days 1 Introduction to Xamarin Taswar Bhatti
 
Presentation1
Presentation1Presentation1
Presentation1
 
Adobe® Flex™
Adobe® Flex™Adobe® Flex™
Adobe® Flex™
 
What is Adobe Flex ?
What is Adobe Flex  ?What is Adobe Flex  ?
What is Adobe Flex ?
 
Hybridapp
HybridappHybridapp
Hybridapp
 

Elastos Intro

  • 2. An Open Source Platform for Universal Apps  Self Contained C/C++ Native API  Rewrote more than two million lines of Android Java Framework code;  Facilitates Universal Apps  C/C++, Java, JS programs call each other without resorting to JNI;  Unifies Local and Web Services  Loosely coupled and on-demand loading services across the Internet;  Hides All IPC, Internet and IoT Protocols  Network-agnostic model prevents DDoS attacks and privacy leaks.
  • 3. Windows UWP vs. Elastos Key Points Windows UWP Elastos Programming Runtime API WinRT API based on COM/C++ ElastosRT API based on CAR/C++ Primary Programming Languages C/C++, C#, VB, JavaScript C/C++, Java, JavaScript Application Framework Unified Native Framework (.NET) Unified Native Framework (Android) UI Rendering XAML XML Screen Size Adapting Wide, Middle, Narrow mdpi, hdpi, xhdpi, xxhdpi IoT Framework AllJoyn AllJoyn • Note: UWP stands for Universal Windows Platform, the Microsoft terminology of universal apps. COM stands for Component Object Model, a Microsoft Component/Service technology. CAR stands for Component Assembly Runtime, an Elastos technology for SaaS programming.
  • 4. Elastos Block Diagram safety restricted Kernel ElastosRT APIs C++ Apps Distribute CAR Services & IoT Web Apps Html/css & JS Java Apps Security Distribute Framework Register & Find Manager Connection Manager Push Manager Local Services Activity Manager Window Manager Package ManagerResource Manager Notification Manager Content Manager
  • 5. Elastos Programming in C/C++  Based on homebrew CAR (Component Assembly Runtime) technology, Elastos supports SaaS programming in native code;  Interface oriented and event driven;  Binary file format .eco is .so plus .cls;  Utilizing .cls to cross language/network barriers:  No more JNI;  No more proxy/stub;  Write once, run everywhere. Binder Socket CAR Runtime Application Process Binder CAR Runtime Application Process Socket CAR Runtime Application Process Machine A Machine B
  • 6. Elastos is Android Compatible Binder Dalvik VM Elastos RT Proxy Java Framework JNI Java Framework Android Java App Elastos RT Elastos C++ Framework Elastos C++ App
  • 7. JavaScript interacts with C++ var eventHandler = (function() { return { OnEvent:function(i) { var s = 'OnEvent, i: ' + JSON.stringify(i); elastos.log(s); }, } })(); var module = elastos.require('Demo.eco'); var obj = module.createObject('CDemo'); obj.addEventHandler(eventHandler); obj.doTask(); Module { interface IEventListener { OnEvent( [in] Int32 id); } interface IDemo { AddEventHandler( [in] IEventListener* listener); DoTask(); } class CDemo { interface IDemo; } } ... ECode CDemo::AddEventHandler( /* [in] */ IEventListener* listener) { m_Listener = listener; return NOERROR; } ECode CDemo::DoTask() { m_Listener->OnEvent(9); return NOERROR; } ... JavaScript Demo.car (compiled to .cls) CDemo.cpp (compiled to .eco)
  • 8. End-to-End Solution for a Safer Cyberspace