Summary:In server development using C + +, scripting techniques are often used, and Lua is one of the best embedded scripts. The lightweight, compact and simple concept of Lua makes him more and more popular. I have also used Python to do embedded
OpenResty (nginx + lua)OpenResty Official Website: http://openresty.org/OpenResty is a nginx and its various third-party modules of a packaged software platform. The most important thing is that it packs lua/luajit so that we can use the lua script
Application of Lua in C # project:
Lua is a small scripting language. The author is Brazilian. The language is designed to be embedded into an application and provide flexible scalability and customization for the application. Its home page is www.
First we choose to use Openresty, which consists of a nginx core plus a number of third-party modules, the biggest bright spot is the default integration of the LUA development environment, so that nginx can be used as a Web server. With Nginx event-
Discussion of how an elegant development environment is deployed (this article discusses the same for other platforms in the MACOSX platform) elegant LUA development environment
The elegant LUA development environment includes at least the
Original address: Http://blog.segmentfault.com/hongliang/1190000000631630Cocos2d-x best practices for invoking custom C + + classes and functions under LUAAbout Cocos2d-x under the LUA call C + + documentation looked a lot, but no one really to
Lua provides source code for compilation by users. You can compile it into a static library or a dynamic library. However, Lua does not provide engineering files and needs to be added by the user. This is inconvenient for new users.I. Lua static
1. download at the website
Download Address http://www.lua.org/download.html
2. Upload to Linux
3. Installation
[Root@centos lua-5.2.3]# make
/do ' make PLATFORM ' where PLATFORM are one of these:
AIX ANSI BSD FreeBSD Gener IC Linux macosx
First, install LUA 5.3.4Downloadhttp://www.lua.org/ftp/lua-5.3. 4 . Tar.gztar xvf Lua-5.3. 4 . TAR.GZCD Lua-5.3. 4Important: Enter the unzipped path CD .../lua-5.3.4/src open the makefile file on the Cflag line to add options-fpic like this:The line
I. Overview Nginx is a high-performance, lightweight Web server that supports highly concurrent. Currently, Apache is still the boss of Web servers, but in the world's top 1000 Web servers, Nginx has a share of 22.4%. Nginx uses a modular
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.