View Single Post
Old 03 August 2015, 15:21   #222
Computer Nerd

Thorham's Avatar
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 40
Posts: 2,708
Originally Posted by Mrs Beanbag View Post
Well then you would say, if you wrote the quick sort in asm it would be ever faster still. And you'd be right. But the user really doesn't care if he gets his result in a tenth of a second or a hundredth of a second, but he sure as hell doesn't want to have to wait ten minutes.
Sure, but on 68k fast code is almost as important as using the right algorithm. Imagine having an amount of data you want to sort that takes five seconds to sort with same crappy C quick sort, while it takes one or two with a highly optimized asm quick sort. I know what the user is going to prefer in such scenarios.

When dealing with the asm vs C question you have to ask yourself why you want to write in asm. Some people write asm because they enjoy it as a hobby. Seems perfectly legit to me.
Thorham is offline  
Page generated in 0.05281 seconds with 9 queries