Linked by Thom Holwerda on Wed 9th Nov 2005 18:21 UTC, submitted by Peter Harmsen
Thread beginning with comment 58515
To read all comments associated with this story, please click here.
To read all comments associated with this story, please click here.
RE: ..trivial discussion?
by Ronald Vos on Wed 9th Nov 2005 21:19
in reply to "..trivial discussion?"
I'd like to see you try! Remember what these benchmarks are --- they test the performance of invoking system services. If you use assembly, you'll be forced to put the OS services and the application in different memory protection domains (nobody wants to go back to the era where applications could crash the kernel). That means that even if you wrote your loop in assembly, you'd invoke a very expensive userspace/kernelspace transition on every call. That's hundreds of clockcycles per transition, dwarfing the cost of your assembly code. Hell, you could write the benchmark in Python and not notice the difference!






Member since:
You're joking, right? I could write an optimized loop in assembly that doesn't do anything less than Singularity at this time, and it would be *much* faster.
Take head in hands, shake vigorously.