News for hackers. Stuff that matters.
Re:Faster than C? Parsing binary data in JavaScript. by pbiggar on Monday October 08, 2012 @03:09AM (#4625829)
There is a major difference between performing profile-generated optimizations at compile-time based on sample data, and performing it at run-time based on real data. It is one pretty good way in which JITs could beat programs implemented directly in C.
Re:Faster than C? Parsing binary data in JavaScript. by gillianseed on Monday October 08, 2012 @07:51AM (#4626410)
Not really since the 'sample' data is 'real' data which has been gathered during run-time.
Re:Faster than C? Parsing binary data in JavaScript. by pbiggar on Monday October 08, 2012 @09:43PM (#4629540)
That is the most optimistic statement about profile-directed optimization that I have ever read.