Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C++
Java vs C++ speed (IO & Sorting)
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="James Kanze, post: 3487371"] If most of your application is involved with doing I/O, it could be a valid measurement. If your application is CPU bound with floating point operations, it's totally irrelevant. If your application is sorting large text files, it's very relevant. For most applications, I suspect, it's somewhere in between. Yes and no. This could be considered a constraint inherent in C++---that you can't defer releasing memory until later. (It would be interesting to see the times for C++ with the Boehm collector. Interesting, but not necessarily relevant to anything in particular either.) That's pretty much an established fact:-). Seriously, it depends on what you're developing. When reliability is important, C++ tends to win out. For applications where it's not too important, there are some domains where Java is particularly well integrated---it's certainly a lot less work to develop a few beans for your web server than it is to write CGI programs in C++. (Curiously, one of the application domains where I think Java would have the edge would be light weight graphic clients---a very good, fully integrated GUI library and portability of the compiled code would seem to be major trump cards for that. But it doesn't seem to be widely used there.) That's not the purpose of it. The purpose is just to try to get an argument going. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C++
Java vs C++ speed (IO & Sorting)
Top