flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
revolution
You will have to test your programs to see which are faster using 64-bit code. Sometimes programs are faster, sometimes they are slower. It depends upon what they actually do.
|
|||
![]() |
|
codeHacker101
But either will always work? Or do I have to worry about compilation errors BECAUSE I used 32bit header/s in my 64bit system in some cases?
|
|||
![]() |
|
revolution
Either will always work. fasm does not use any headers from your system. All included files are supplied by you or with fasm.
|
|||
![]() |
|
codeHacker101
Then I suppose it is usually better to use 64bit headers in a 64bit system. I should make it a habit to avoid 32bit headers in general, UNLESS there is an explicit reason to use them.
|
|||
![]() |
|
revolution
I would suggest the opposite. Use 32-bit code unless you have a specific reason to need 64-bit.
In general, 32-bit is both easier to write, and "faster" (as in more efficient) for most workloads. But, anyhow, always test your code in both cases to see what works for your situation. |
|||
![]() |
|
codeHacker101
I don't really wanna bother with testing code speed again and again. I think I'll just take your word for it when you say In general, 32-bit is both easier to write, and "faster" (as in more efficient) for most workloads. Thank you for your help revolution.
|
|||
![]() |
|
DimonSoft
Special advantage is that 32-bit code runs both on 32- and 64-bit systems while 64-bit code is specifically limited to 64-bit systems.
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.