flat assembler
Message board for the users of flat assembler.
Index
> Windows > Using 32bit headers in 64bit OS |
Author |
|
revolution 04 Nov 2020, 09:00
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.
|
|||
04 Nov 2020, 09:00 |
|
codeHacker101 04 Nov 2020, 09:20
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?
|
|||
04 Nov 2020, 09:20 |
|
revolution 04 Nov 2020, 09:51
Either will always work. fasm does not use any headers from your system. All included files are supplied by you or with fasm.
|
|||
04 Nov 2020, 09:51 |
|
codeHacker101 04 Nov 2020, 10:59
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.
|
|||
04 Nov 2020, 10:59 |
|
revolution 04 Nov 2020, 11:05
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. |
|||
04 Nov 2020, 11:05 |
|
codeHacker101 04 Nov 2020, 11:34
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.
|
|||
04 Nov 2020, 11:34 |
|
DimonSoft 04 Nov 2020, 12:53
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.
|
|||
04 Nov 2020, 12:53 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.