View Single Post
Old Jun 4th, 2006, 2:49 PM   #11
Harakim
Hobbyist Programmer
 
Join Date: May 2006
Location: West Jordan, Utah, United States
Posts: 176
Rep Power: 3 Harakim is on a distinguished road
Ya, I used to want to do everything in assembly. But with functions like mcpy and strcpy, these are functions that have been used millions and millions of times. If they were slow, they would have been fixed by now. Also, they are almost the same function which means individually they are highly-optimized.

I would save assembler for a time when the library method to do the job either doesn't exist or is really generic. In other cases your code will be the same or slower. You may introduce problems into your program if you're new to assembly. If you want to have some fun or get some practice then you can do it, but be prepared to scrap it if it ends up being slower.
Harakim is offline   Reply With Quote