This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Why LUA ??
#1
Hello everyone!

Could you please explain to me in details why do we use LUA language instead of embedded C?
On the other hand, what is the hardware architecture embedded inside the spaceLYnk, is it based on ARM or Intel?
Reply
#2
Because Lua is much simpler, easier to debug and there is no need for the user to manage memory due to Lua's garbage collector. Since LuaJIT is used performance difference is minimal for most use cases. You can also call C functions by using FFI: http://luajit.org/ext_ffi.html
Reply
#3
(07.06.2019, 11:29)admin Wrote: Because Lua is much simpler, easier to debug and there is no need for the user to manage memory due to Lua's garbage collector. Since LuaJIT is used performance difference is minimal for most use cases. You can also call C functions by using FFI: http://luajit.org/ext_ffi.html

Thank you.
Reply


Forum Jump: