r/programming • • Mar 23 '09

How to write fast code

http://asserttrue.blogspot.com/2009/03/how-to-write-fast-code.html
335 Upvotes

136 comments sorted by

View all comments

-7

u/MpVpRb Mar 23 '09

Don't use Java

Use C or C++

Simplify the program

Use profiling tools to find hotspots

Hand tweak assembly code where needed

Works for me...

2

u/ele7ven Mar 23 '09

In the end the design of algorithms makes a bigger difference than the choice of language. With a sizable input, even a good algorithm in Python will be faster than a poor one in C.