View Single Post
Old 03 August 2015, 14:48   #219
meynaf
son of 68k
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 45
Posts: 2,901
Quote:
Originally Posted by Megol View Post
There's a lot of assembly code produced by those that claim assembly is superior, in general the code is shit.
It may be shit sometimes, but this shit still runs faster than what compilers produce


Quote:
Originally Posted by Megol View Post
Given the same time and on a large project?
I can write asm faster than many people write C (or java, or anything else).


Quote:
Originally Posted by Megol View Post
And you use the same algorithm? Still sounds fishy.
Yes. When i change the algorithm itself, you can expect even bigger gains (i got a routine 14x faster in my heroes2 port, in the editor).

As an example, take my picture viewer (aga only). You will never ever find a compiler that can just approach its speed. Actually it might even beat x86-compiled native code on the same machine when ran under winuae's jit.
http://meynaf.free.fr/pr/mv.lzx
meynaf is offline  
 
Page generated in 0.04101 seconds with 10 queries