开发者

What programming language for a webserver [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 11 years ago.

What s开发者_如何学Chould be the programming language chosen for web server. The only thing I'm looking for is efficiency, doesn't matter how much time will it take to develop.

I recently saw some benchmarks where results show JAVA faster. I don't know how much those benchmark programs are relevant to developing a web server.

Well, my practical experience says C++ is faster than JAVA(I'm assuming C is generally faster than C++).

Please advise,

Mayank


There are many languages that can be used to write a Web server, and many languages have already been used to write webservers.

Java is used to build Apache Tomcat and the Jetty Web Server. Resin is another example of a Web server written in Java.

The Apache Web Server was written in C.

The POW Webserver was written on Mozilla's Development Platform as an extension to Firefox.

In summary, you can use any language to build a Web server, but the language of choice depends on your goals. I'm assuming if efficiency is your goal then you need something super fast. I believe C was used to build Apache for this very reason, and is why Apache serves roughly 60% of the Web sites on the Internet.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜