Why is C++ version slower?

Please support our C++ advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Apr 2008
Posts: 4
Reputation: oneguy is an unknown quantity at this point 
Solved Threads: 0
oneguy oneguy is offline Offline
Newbie Poster

Why is C++ version slower?

 
0
  #1
Apr 3rd, 2008
than the java version in this case

http://razi2.blogspot.com/2008/04/wh...than-java.html
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 1,861
Reputation: ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all 
Solved Threads: 120
ithelp's Avatar
ithelp ithelp is offline Offline
Posting Virtuoso

Re: Why is C++ version slower?

 
0
  #2
Apr 3rd, 2008
Is this a keylogger ?
Reply With Quote Quick reply to this message  
Join Date: Apr 2008
Posts: 4
Reputation: oneguy is an unknown quantity at this point 
Solved Threads: 0
oneguy oneguy is offline Offline
Newbie Poster

Re: Why is C++ version slower?

 
0
  #3
Apr 3rd, 2008
Originally Posted by ithelp View Post
Is this a keylogger ?
No, it's not a 'keylogger'.
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 7,858
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 755
Team Colleague
Narue's Avatar
Narue Narue is offline Offline
Senior Bitch

Re: Why is C++ version slower?

 
0
  #4
Apr 3rd, 2008
Why don't you profile them both and get more specific performance metrics? I'd guess (without looking closely at either program) that the difference is in caching.
New members chased away this month: 5
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 512 | Replies: 3
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC