gravity
gravity copied to clipboard
hello can we run gravity on microcontroller ?
I would like to run gravity on esp32 has it is compiled, which is better than Lua which is good bu way to slow on the esp32
@hpwit you just need a C99 C compiler and then Gravity can run everywhere.
Indeed I was able to make it run simple example on esp32. I will try to go further and see the difference in performance with lua. Thank you
Hello me again I have two questions:
1)I see that you can do operator override. Do you have an example? I would like to override the = operator of an array.
- how do you retrieve the content of a class. I would like to bind a C++ function where the parameter is a class. I did not find examples. Thank you
- The = operator is a special one and cannot be overridden
- What do you mean by the content of a class? What exactly you need to retrieve?