Re: Slow nasm



Herbert Kleebauer <klee@xxxxxxxxx> écrivait
news:47231CF4.98C027ED@xxxxxxxxx:

The code is working OK for small DLLs, such imagehlp.dll
but if bigger, application is freezing.

Not here. It always hangs. And, not to sound unpleasant, but,
given the way it is written this is not a big surprise, to me.
I suspect a wrong return value in the Dialog Initialization,
or someting like that (I did not looked that deeper inside...).


Maybe NASM doesn't optimize his sort algorithm (a well designed
assembler doesn't only look at the instructions the programmer gives
it to assemble but analyses the complete program and replaces a slow
algorithm itself by a faster one) and therefore it gets extremely
slow ("freezing" when compared to the human life time).

? You saying that ?

Sorry, but i never heard of any Assembler optimizing anything.
I suppose you did not wrote what you had in mind... Or, are
you drunk ?


Betov.

< http://rosasm.org >



.



Relevant Pages

  • Re: The Case Against RosAsm (#7) (LONG)
    ... If your assembler makes this ... if the programmer is "ambiguous" about the size of the jump, ... that's probably why all the assemblers that optimise branch ...
    (alt.lang.asm)
  • Re: ASTs in assembler
    ... Absolutely I don't mean optimizing what has written by the programmer. ... idea of the assembler being able to have a "big picture" of the source. ... Because of the amount of memory modern machines have, ... Why not read macro bodies from macro symbol table? ...
    (alt.lang.asm)
  • Re: What is this code doing?
    ... It's not a help for an *assembly* programmer. ... It's help for someone who knows a HLL and wants to learn assembly. ... HLA also allows you to write the code this way: ... directives in an assembler like MASM use "if" and "endif"? ...
    (alt.lang.asm)
  • Re: Library Design, the script kiddies nightmare.
    ... If this will do the job, fine but you would not use it in an assembler ... design which is a different category to cross language comparison. ... It also entails cross language support with the overhead of the larger ... programmer but a good programmer to a bad programmer: ...
    (alt.lang.asm)
  • Re: improve strlen
    ... >than 5% of the market. ... I write assembly, often, yet I don't label myself as assembler ... I'm just a programmer foremost, languages are just tools and am ... At this time I don't write software for desktop computers, ...
    (comp.lang.asm.x86)