View Single Post
Old 2007-03-02, 11:37 AM   #10
Nick Koan
JDM Cowboy
 
Nick Koan's Avatar
 
Real Name: Nick
Join Date: Oct 2003
Location: Somewhere
Posts: 8,642
 
Car: 2015 Mazda 3
Default

Actually, a lot of my professors used to argue that compilers could create on par with or even better machine code (e.g. faster and smaller) than coding assembly "by hand". Hand coding assembly is prone to human error and personal coding preference and style. Over the past 50 years of coding the best practices have been worked out for the simple and complex instructions and sequences. We can't guarantee that every assembly programmer can know all of these best practices, but with a good compiler and a decent higher level language, they don't need to.
__________________
While a standard engine is powered by a belt connected to the crankshaft, a turbo engine runs on its own exhaust steam, making it more energy efficient. -- CNN
Nick Koan is offline   Reply With Quote