哪个通常更快 - 一个Java服务器应用程序或一个C ++服务器 应用程序?
解决方案Davey写道: 哪个通常更快 - 一个Java服务器应用程序或一个C ++服务器应用程序?
更快什么? C ++运行时性能通常是优越的,无论目前的时代精神是什么,出于性能原因,没有人应该避免使用Java 。但是如果你在谈论一个长期运行的多线程,I / O绑定的应用程序,例如:一个Web服务器,Java 应用程序可能实际上更快,几乎肯定会更快开发。
Jeff Schwab < JE ************ @ rcn>在消息中写道 news:uK ******************** @ rcn ...
Davey写道:哪个通常更快 - 一个Java服务器应用程序或一个C ++服务器应用程序?更快的是什么? C ++运行时性能通常是优越的,无论当前的时代精神是什么,出于性能原因,没有人应该避免使用Java。感谢您的回答。 但是,如果您正在谈论一个长期运行的,多线程,I / O绑定的应用程序,例如一个网络服务器, 是的,我在谈论客户端服务器的服务器端组件 应用程序。它将涉及从数据库中读取数据并根据来自这些应用程序的请求将 信息发送到客户端应用程序。 Java应用程序可能实际上更快,几乎肯定会加快开发速度。
好的,谢谢。
Davey写道:Jeff Schwab < JE ************ @ rcn>在消息中写道新闻:英国******************** @ rcn ... 戴维写道: 哪个通常更快 - 一个Java服务器应用程序或一个C ++服务器应用程序?
更快什么? C ++运行时性能通常是优越的,无论当前的时代精神是什么,出于性能原因,没有人应该避免使用Java。
谢谢你答案。
但是如果你在谈论一个长期运行的,多线程的,I / O绑定的应用程序,例如$ web $>是的,我在谈论客户端服它将涉及从数据库中读取数据并根据来自这些应用程序的请求将信息发送到客户端应用程序。 Java应用程序可能实际上更快,几乎肯定会更快开发。好的,谢谢。
当C ++表现不佳时,它崩溃了。当java表现不好时,它的b / b很难让它本地化或可恢复。 Java在服务器端足够快,特别是在数据库 b $ b可能是瓶颈。 速度的差异并不能弥补java的安全性。
Which is typically faster - a Java server application or a C++ server application?
解决方案 Davey wrote: Which is typically faster - a Java server application or a C++ server application?Faster at what? C++ run-time performance is generally superior, regardless of the current zeitgeist that "nobody should be avoiding Java for performance reasons." But if you''re talking about a long-running, multithreaded, I/O-bound application, e.g. a web server, the Java application might actually be faster, and almost certainly will be faster to develop.
"Jeff Schwab" <je************@rcn> wrote in message news:uK********************@rcn... Davey wrote: Which is typically faster - a Java server application or a C++ server application? Faster at what? C++ run-time performance is generally superior, regardless of the current zeitgeist that "nobody should be avoiding Java for performance reasons."Thanks for the answer. But if you''re talking about a long-running, multithreaded, I/O-bound application, e.g. a web server, Yes, I''m talking about the server-side component of a client-server application. It will involve reading data from a database and sending the information to clients apps depending on requests from those apps. the Java application might actually be faster, and almost certainly will be faster to develop.
OK, thanks.
Davey wrote: "Jeff Schwab" <je************@rcn> wrote in message news:uK********************@rcn...Davey wrote:Which is typically faster - a Java server application or a C++ serverapplication?Faster at what? C++ run-time performance is generally superior,regardless of the current zeitgeist that "nobody should be avoiding Javafor performance reasons."
Thanks for the answer.
But if you''re talking about a long-running, multithreaded, I/O-boundapplication, e.g. a web server,Yes, I''m talking about the server-side component of a client-server application. It will involve reading data from a database and sending the information to clients apps depending on requests from those apps.
the Java application might actually be faster, and almost certainly willbe faster to develop.OK, thanks.
When C++ behaves badly, it crashes. When java behaves badly, its not hard to make it local or recoverable. Java is fast enough on the server side, especially where the database is likely to be the bottleneck. The difference in speed doesn''t make up for the added safety of java.
更多推荐
服务器应用程序速度
发布评论