Click here to Skip to main content

The Insider News

   

The Insider News is for breaking IT and Software development news. Post your news, your alerts and your inside scoops. This is an IT news-only forum - all off-topic, non-news posts will be removed. If you wish to ask a programming question please post it here.

Get The Daily Insider direct to your mailbox every day. Subscribe now!

 
Hint: For improved responsiveness ensure Javascript is enabled and choose 'Normal' from the Layout dropdown and hit 'Update'.
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
NewsRewriting in C++ for Fun, Speed and MasochismstaffTerrence Dorsey10 Oct '12 - 11:33 
While the original Ruby script took maybe 2 hours to write, my straight port to C++ took more than 10! Most of this time was spent navigating the API of libjpeg, fumbling with pointers and buffer arithmetic, and hunting down type casting errors that subtly caused inaccurate results. However, check out the speed gains...
That’s a speed up of more than 50x. And ten years worth of gray hair.
GeneralRe: Rewriting in C++ for Fun, Speed and MasochismmemberNemanja Trifunovic11 Oct '12 - 2:54 
GeneralRe: Rewriting in C++ for Fun, Speed and Masochismmembered welch11 Oct '12 - 10:35 
GeneralRe: Rewriting in C++ for Fun, Speed and Masochismmemberharold aptroot12 Oct '12 - 12:18 
GeneralRe: Rewriting in C++ for Fun, Speed and Masochismmembered welch13 Oct '12 - 2:45 
GeneralRe: Rewriting in C++ for Fun, Speed and Masochismmemberharold aptroot13 Oct '12 - 2:50 
GeneralRe: Rewriting in C++ for Fun, Speed and Masochismmembered welch13 Oct '12 - 5:06 
GeneralRe: Rewriting in C++ for Fun, Speed and Masochismmemberharold aptroot13 Oct '12 - 5:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   


Advertise | Privacy | Mobile
Web03 | 2.6.130516.1 | Last Updated 18 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid