flat assembler
Message board for the users of flat assembler.
Index
> Main > Can Fasm compile faster? |
Author |
|
revolution 07 Feb 2011, 15:40
Are you trying to start a speed war?
Without a preprocessor then that means you have no macros? If so then ewww, so many tedious things to code with no macros to do the drudge work for you. |
|||
07 Feb 2011, 15:40 |
|
Tomasz Grysztar 07 Feb 2011, 15:55
Can fasm compile faster? Most certainly - however the improvements would be mostly not worth the time spent on developing them. And another bad news - fasm 2 (if/when I finally write it) is most probably going to be slower than 1.x.
As for the comparison - though the method of comparing the time in which assemblers compile itself was sometimes used by Betov, it is really the "apples vs oranges". If you want to do get any valuable results, you should compile some identical (up to the syntax differences) source with both tools. Randall Hyde once did such a benchmarking, and you can find the test generator here, but I have another nice source for testing. It is something that was a real project once posted on Win32Asm community board - I attach the source of C program which in turn generates the assembly source. BTW, the test shows that fasm 1.69.31 is noticeably slower than 1.68. So the trend towards the slow 2.0 is already visible.
|
|||||||||||
07 Feb 2011, 15:55 |
|
YONG 08 Feb 2011, 09:13
Tomasz Grysztar wrote: And another bad news - fasm 2 (if/when I finally write it) ... |
|||
08 Feb 2011, 09:13 |
|
idle 08 Feb 2011, 10:00
2 -> 1.69.xx, y-not :p
div_64(used by fasm) can be replaced with amd's variant, where 2 divs used as maximum i can explain it in a bit different way if you do not understand the algo |
|||
08 Feb 2011, 10:00 |
|
rocketsoft 08 Feb 2011, 15:15
Offcourse RASM has macros (Its very Tasm compatible)
preprossesing is only needed INSIDE macros Normal code does not need preprossesing |
|||
08 Feb 2011, 15:15 |
|
ouadji 08 Feb 2011, 16:25
Quote: Normal code does not need preprossesing By default the preprocessing is "on", but if you don't use macros, the directive "preprocessing_off" to disable preprocessing. Code: format PE large GUI 4.0 entry start preprocessing_off start: |
|||
08 Feb 2011, 16:25 |
|
SFeLi 08 Feb 2011, 17:09
ouadji, for what? Even fasm itself compiles in less than a second.
|
|||
08 Feb 2011, 17:09 |
|
ouadji 08 Feb 2011, 17:45
yes, i'm agree. fasm suits me perfectly as it is. |
|||
08 Feb 2011, 17:45 |
|
MinhHung 08 Feb 2011, 21:22
can UPX make fasm faster. http:\\upx.sf.net
|
|||
08 Feb 2011, 21:22 |
|
Ivan2k2 09 Feb 2011, 10:51
MinhHung wrote: can UPX make fasm faster. http:\\upx.sf.net UPX will not make executables faster |
|||
09 Feb 2011, 10:51 |
|
revolution 09 Feb 2011, 10:53
But maybe fasm can make UPX faster.
|
|||
09 Feb 2011, 10:53 |
|
ManOfSteel 09 Feb 2011, 12:45
MinhHung wrote: can UPX make fasm faster. http:\\upx.sf.net It will not make the internals of fasm go faster. On the other hand, it will slow down (just a little a bit) the execution of the fasm executable since it now has to uncompress itself before execution. revolution wrote: But maybe fasm can make UPX faster. |
|||
09 Feb 2011, 12:45 |
|
revolution 09 Feb 2011, 12:53
ManOfSteel wrote: It will not make the internals of fasm go faster. On the other hand, it will slow down (just a little a bit) the execution of the fasm executable since it now has to uncompress itself before execution. |
|||
09 Feb 2011, 12:53 |
|
MinhHung 09 Feb 2011, 13:13
hehe. Sorry. I think best compiler not only fast , best compiler easy to understand->code easy. Now, computer processor very fast. I think 'code easy' bester than 'fast compiler'
|
|||
09 Feb 2011, 13:13 |
|
f0dder 13 Feb 2011, 20:06
revolution wrote:
_________________ - carpe noctem |
|||
13 Feb 2011, 20:06 |
|
edfed 13 Feb 2011, 21:21
a computer, even used for an intensive threading, have a lot of time without doing anything.
fasm does really something, it lets you speak directlly to the computer and take control of the machine. then no matter if it is slow (and it is not), it does something that no other assembler does, it lets you code assembler easy, and uses a very good syntax, and a powerfull macro processor, then, it can be a little slower than other assemblers (and it is not), because it does something that it is the only one to do. maybe fasm2 will not be so good, just wait to see what IDE it will have. bloat like a lot of IDE or clean as fasmw1.xx? |
|||
13 Feb 2011, 21:21 |
|
f0dder 13 Feb 2011, 23:33
edfed wrote: maybe fasm2 will not be so good, just wait to see what IDE it will have. bloat like a lot of IDE or clean as fasmw1.xx? |
|||
13 Feb 2011, 23:33 |
|
Teehee 17 Feb 2011, 14:58
|
|||
17 Feb 2011, 14:58 |
|
mattst88 23 Feb 2011, 06:28
f0dder wrote:
It's the same logic that causes him to use Windows 98. _________________ My x86 Instruction Reference -- includes SSE, SSE2, SSE3, SSSE3, SSE4 instructions. Assembly Programmer's Journal |
|||
23 Feb 2011, 06:28 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.