Php is also a bit time-consuming. reading some technical blogs often tells us about lua. under what circumstances will lua be used? Do you need to be skilled in using it? I want to know if phper needs to understand lua. it may take some time to engage in php. I read some technical blogs and often see people talking about lua. under what circumstances will lua be used? Do you need to be skilled in using it? I want to know if phper needs to understand lua.
Reply content:
Php is also a bit time-consuming. reading some technical blogs often tells us about lua. under what circumstances will lua be used? Do you need to be skilled in using it? I want to know if phper needs to understand lua.
In game development, lua is used as the scripting language to bind and write the logic,
For example
Cocos2d-x lua binding
Lua is small and concise, especially suitable for embedded systems (the openwrt web control interface is written in lua)
If you are interested, check it out.
To be honest, lua and php are irrelevant. lua is designed to be embedded in other languages for development. generally, it is used in many game development scenarios. some people have used lua for web development, but it is quite boring to develop the web, and you have to build your own wheels for anything. Php writes an application. you have to write your own code after you finish submitting the code. it is inevitable to be bald.
The lua association of php is relatively close, probably because the lua development function embedded on the Web server side
Lua is generally used for writing interfaces on the web. because lua has better performance, it can also be used with nginx to write anti-fake logic, which is very good.