Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Using PS3's To Forge Site Certificates » For those wondering "Why Playstation 3s?"
Search Topic:
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Post a:
Post a:
« Anyone get a replacement cert?  
AuthorAll Replies


TSI Gabe
Premium,VIP
join:2007-01-03
Chatham, ON
reply to Steve
Re: For those wondering "Why Playstation 3s?"

That was the C compiler optimizing my code into doing nothing quite literally. Sometimes those C optimizations don't really help...


Steve
I'm a PC, so shut up
Consultant
join:2001-03-10
Yorba Linda, CA

said by TSI Gabe See Profile :

That was the C compiler optimizing my code into doing nothing quite literally. Sometimes those C optimizations don't really help...
It's far more likely that your optimizer found a bug in your code than you found a bug in the optimizer.

The problem with compilers is that they do exactly what you ask them too bad women and children won't follow that example

Steve
--
Stephen J. Friedl | Unix Wizard | Microsoft Security MVP | Orange County, California USA | my web site


TSI Gabe
Premium,VIP
join:2007-01-03
Chatham, ON
No Actually removing a printf simply displaying the value being calculated completely removed the md5 function from the code.


Steve
I'm a PC, so shut up
Consultant
join:2001-03-10
Yorba Linda, CA

said by TSI Gabe See Profile :

No Actually removing a printf simply displaying the value being calculated completely removed the md5 function from the code.
The compiler did what it was supposed to do: if you were calling a function that had no side effects, it knew that it could eliminate the call without having any effect on correct operation. It was right.

Benchmarking is a known science; calling your operation in a way that insists on a side effect (as I'm sure you found) lets you get the effect you want.

Steve
--
Stephen J. Friedl | Unix Wizard | Microsoft Security MVP | Orange County, California USA | my web site
-
Forums » Using PS3's To Forge Site Certificates« Anyone get a replacement cert?  


Monday, 09-Nov 03:23:59 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 10 years online! © 1999-2009 dslreports.com.republican-creole
page compression OFF
Most commented news this week
· [156] Cable Uncapper Faces Criminal Charges
· [140] AT&T Sues Verizon Over 3G Ads
· [112] Why Run Fiber When You Can Run Ads That Pretend You Do?
· [109] Comcast Is Simply Getting Huge
· [93] Apple Cooking Up New $30 A Month TV Service?
· [83] Bits Of ACTA Agreement Leaking Out
· [80] Will 'Three Strikes' Come To The United States?
· [78] Verizon To Double Smartphone ETFs?
· [77] Verizon: Droid Tethering Will Cost $30 Extra
· [73] Comcast, NBC Deal Almost Complete
Most people now reading
· Lots of problems lately? [Rogers]
· 3.x Feral Druid - Bear Tanking Guide [World of Warcraft]
· [Rant] Brand New 'Jasper' Xbox360 - RRoD Hardware Failure [Rants, Raves, and Praise]
· Divorce advice... [General Questions]
· My cat is reluctant to exercise. [General Questions]
· New Cookie Attack - Google, Facebook, Others at Risk [Security]
· [WIN7] Which Services in Win 7 Have You Turned Off? [Microsoft Help]
· Connecting to Google Voice Via SIP [VOIP Tech Chat]
· Please Help, I think my computer is being monitored [Security]
· Massive Slowdowns? [cover,1584]