I'm a beginner in programming.
How do you make apache and nginx?
It's written in some language because it's moving on the computer, right?
I'm wondering if it's made in fast languages like C and Java.
What language are these things usually made in, including not only web servers but also mail servers?
I think it depends on the size and requirement, but please let me know.
It's really fast to download the source and see what's inside.
For example, Apache is
http://httpd.apache.org/download.cgi
for nginxhttp://nginx.org/en/download.html
You can download a complete set of sources from the .Both are written in C.
For example, Docker is written in Go language if it is written outside of C.
Socket communications projects are mostly written in C language.
This is because almost all Unix subspecies (Linux, FreeBSD, HP-UX, etc.) have almost perfect compatibility code.
It is also easy to port to Windows.
Speed is often the top priority, and for that reason language C is used.
Speed is a top priority because, for example, if you need 100 servers and 120 servers because of software, it costs 20 servers, so no one will use it.
Conversely, any language is used for a single computer (speed is not important).
Recently, the problem with parallel processing has become so serious that programming languages are being sought to replace C, but I don't think there are any widely used languages yet.
© 2024 OneMinuteCode. All rights reserved.