How do cross-platform mobile C ++ SDKs usually work under the hood?

I found the answer to this question here: How do cross-platform mobile application development platforms work?

but I thought more about the work of cross-platform C ++ SDKs (e.g. Corona, Marmalade, EdgeLib, etc.). They provide the ability to export binary files for iOS and Android, allowing the developer to use C ++ code. My guess is below, but please correct it if I'm wrong somewhere:

  • The user writes code in C ++.
  • The SDK has an interface layer with C ++ functions called in the user code requesting specific functionality of the mobile OS. This interface level is built from the code necessary to implement the SDK function call in a specific mobile OS (written in Java for Android and Obj-C for iOS).
  • Part of it bothers me the most because I don’t have so many things for mobile developers: do iOS and Android have Creme C ++ compilers that can compile common logic code written in C ++ in a user application?
+5
source share
2 answers

MoSync C + + - - GCC ++ . MoSync ( "PipeTool" ) , java-- ( Android) Objective-C source ( iOS). .

(Android iOS) , IDE (Xcode iOS Eclipse IDE Android SDK Android). , iOS, Apple iOS (, 99 ), Eclipse IDE Android SDK .

Corona SDK , Corona , - , , . Corona, . , (Marmalade, EdgeLib ..), , MoSync.

+5

codenameone.com - Java, ++ iOS Java Android.

, , , .

+4

All Articles