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="asterisc, post: 3523663"] So that's faster than Jet. You said that 590ms was about the same as the Jet version. (maybe you post the exactly time got with Jet) Depends on what are you working on. For small benchmarking problems (which are some structured algorithms) if you compile Java into ASM (and an exe file) then it may be as fast as C/C++. But then you will loose the portability. For being fast, it need to be native, which isn't portable. The new C++ standard will introduce some new features which will make STL a bit faster (like right value references). Never heard of U++ before, but if it's C/C++ standard compliance, it should be exactly as fast as C++. In our example I didn't use any C++ feature (classes, streams, exceptions, ... ) because they are kind of slow. Probably U++ made exactly these features faster than the STL. It looked like you were starting a flame, but constructive discussions should always be encouraged. Have a good day! [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C++
Java vs C++ speed (IO & Sorting)
Top