I would like to know why thingworx uses LUA scripts as instructor script in software content management.
Hi Meenakshi Agrawal,
Lua is a powerful, efficient, lightweight, embeddable scripting language. It supports procedural programming, object-oriented programming, functional programming, data-driven programming, and data description.
Apart from above mentioned features , Thingworx developments solely holds right to use latest tool and technologies that can help them develop faster and better Products. And till here I have been generally talking about Lua and why its being used by Thingworx development team.
Having part of your code logic implemented using Lua code has several advantages:
Lua is simpler (less tricky) to learn and use than C, and it is much more high-level. It supports powerful abstractions, such as function closures and object orientation (in a peculiar way, using Lua tables and metamethods).
Moreover , I would love to hear and understand about your actual concerns. Is there any issue , which you are facing with Lua Scripts or you are not expecting Lua Scripts as instructor script in SCM . Please add more detail and explanation , for us to be able to clarify the query.
Hi Ravi Upadhyay,
Thanks for such a brief explanation, it's really Helpful as it gave me basic idea about Lua.
I am not very much familiar with Lua script so I wanted to know its use and benefits of using it in Thingworx.
I'll do more r&d on it.
You are welcome Meenakshi Agrawal , Do let me know if you need any further help on this topic.
And I also hope your basic query is resolved and you are good to go ahead with your learning of Lua Scripts.