You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Why did you choose Lua for the plugin language ? I'm asking this because of a pure engineering interest. Couldn't you use Go again as the official plugin language and download the compiled binaries or does the plugin language needs to be interpreted so that you can embed it in to the program without re-compiling the whole micro binary ?
I currently started looking at Lua , so my other question is , if it has to be an interpreted language , why not any other language but lua ? Is it because you are using C bindings for both languages , or simply you knew Lua ?
Maybe the answer to these questions lies somewhere in the codebase but a nice explanation with your thoughts on the process will be very helpful for me on learning different engineering concepts.
Thanks
The text was updated successfully, but these errors were encountered:
It's very likely because then you don't need compiled plugins and/or recompiling Micro. I know there are ways to have a native language plugin system, but it's probably not as easy to implement vs importing some Lua bindings library.
Not to mention Lua is (apparently) easy to embed in most languages, has a tiny runtime, and is still very fast (being C underneath). I also think it's pretty easy to write & understand, barring it's weird quirks.
Hi,
Why did you choose Lua for the plugin language ? I'm asking this because of a pure engineering interest. Couldn't you use Go again as the official plugin language and download the compiled binaries or does the plugin language needs to be interpreted so that you can embed it in to the program without re-compiling the whole micro binary ?
I currently started looking at Lua , so my other question is , if it has to be an interpreted language , why not any other language but lua ? Is it because you are using C bindings for both languages , or simply you knew Lua ?
Maybe the answer to these questions lies somewhere in the codebase but a nice explanation with your thoughts on the process will be very helpful for me on learning different engineering concepts.
Thanks
The text was updated successfully, but these errors were encountered: