Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Out-Of-Date Optimizations? New Idioms? RAM vs. CPU

by hawtin (Prior)
on Jul 21, 2003 at 08:10 UTC ( #276179=note: print w/replies, xml ) Need Help??


in reply to Out-Of-Date Optimizations? New Idioms? RAM vs. CPU

I am reminded of the original development of RISC machines. Those guys found that the only way to find the "best" approach was to take a sufficiently large example set (booting UNIX and running some programs) and run it in a well measured simulation. When someone proposed a change to the architecture they changed the simulation, measured the effect on performance and kept it if it improved the situation.

My guess would be (based admittedly on a total lack of first hand knowledge) that adding metrics to Parrot (or Perl 5?) that emulated the effect of fetching information from disk/ RAM/ cache would lead to a reasonable simulation of Perl's performace and hence could definitively answer these type of questions.

This would allow anyone with enough interest and time on their hands to get a real answer rather than just sticking a wet finger in the air.

  • Comment on Re: Out-Of-Date Optimizations? New Idioms? RAM vs. CPU