Home > Article > Operation and Maintenance > What language is nginx written in?
Nginx is a lightweight web server/reverse proxy server and email (IMAP/POP3) proxy server, released under the BSD-like protocol. Its characteristics are that it occupies less memory and has strong concurrency capabilities. In fact, nginx’s concurrency capabilities do perform better among web servers of the same type. Users of nginx websites in mainland China include: Baidu, JD.com, Sina, NetEase, Tencent, Taobao, etc.
Nginx code is written entirely from scratch in C and has been ported to many architectures and operating systems, including: Linux, FreeBSD, Solaris, Mac OS X, AIX and Microsoft Windows.
Nginx has its own function library, and except for zlib, PCRE and OpenSSL, the standard modules only use system C library functions. Furthermore, these third-party libraries may not be used if they are not needed or if potential licensing conflicts are considered.
In short, Nginx is written in C language.
For more Nginx technical articles, please visit the Nginx usage tutorial column!
The above is the detailed content of What language is nginx written in?. For more information, please follow other related articles on the PHP Chinese website!