I like to think I'm a fairly competent programmer |
|
I like to think I'm a fairly competent programmer |
|
Assembly code is INSANELY fast. It also has a better memory footprint. I've never had a compiler make better asm than me (for small routines obviously.) Compilers are very liberal with the stack (liveliness analysis isn't very good), when I do something in asm I try to use the stack as little as possible, that usually means moving parts of the code around, which compilers have a hard time doing. |
|
Last edited by ninja9578; 08-13-2008 at 03:02 AM.
Okay, it worked, but it's taking forever to compile |
|
Actually, it didn't work. |
|
Must be your C++ code, asm should be really fast to compiler. What other flags did you set, are you doing multiple passes? |
|
None and no. |
|
I see some errors in the programmer, are you sure this program worked once? |
|
Oh okay. |
|
I think most games are written in .NET which means a M$ compiler. I'm not sure if you can get that for free. |
|
Bookmarks