Corona's performance...question

Hi, I’m just checking to see whether or not I have the right idea about how corona works…

1> It uses a c/c++ or similar LUA interpreter
2> The Lua part abstracts the high end functions we see away from the low level c code
3> Corona API Functions like transitions send info back to a c function which processes everything super fast and returns back to slower LUA if needed for callbacks etc
4> In which case using transition.to would be orders of magnitude faster than simply running a LUA loop to increment an image sideways for example
5> The whole thing hangs together because the underlying c program is running in a continual loop like any normal program, and is being fed things to do by the LUA script, which only updates the underlying C side at the completion of parsing.

Am I right so far? :stuck_out_tongue: Honestly, even after trying to find this all out i’m not sure.
[import]uid: 34945 topic_id: 9006 reply_id: 309006[/import]

  1. Don’t know, only ANSCA can answer this. But imho it doesn’t matter if it is C/C++/ObjC/Pascal/ASM. But for sure it uses the Lua libs, I think 5.1.
  2. Yes
  3. Yes
  4. Yes again
  5. Yip, The engine starts running after the complete script is parsed and the code that can be executed is done. After that only lua functions are called which are bound to the engine via event listeners. [import]uid: 5712 topic_id: 9006 reply_id: 32863[/import]

C++ with a thin layer for OpenGL/ES p4mance

c [import]uid: 24 topic_id: 9006 reply_id: 32992[/import]

Thanks :smiley: [import]uid: 34945 topic_id: 9006 reply_id: 33014[/import]