Re: Why use assembly?



"James Daughtry" <mordock32@xxxxxxxxxxx> écrivait
news:1143475819.624645.130050@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:

If the HLL writing Styles may have some interest (they really
have...), there is no reason for not doing this in Assembly.
Example, Assembly HLL-Constructs macros, Assembly Compatible
Pre-Parsers, and so on.

Yes, though if you hide the assembly behind macros, doesn't that give
you a different language that isn't quite assembly? Using macros in
assembly to simulate HLL constructs reminds me too much of the *awful*
habit of early C programmers to use the C preprocessor to bastardize
the language into something they were familiar with, a la Bourne shell
style. It strikes me as a bad habit and is the reason why I avoid
macros in assembly, for the most part.

Agrea. This is, on the Asmers side, a problem of discipline.
But in no case, the limitation of the HLLs, in that matter,
could be any argument in favour of this type of restriction.
The price of freedom, so to say, and one of the reasons i am
used to say that Assembly is an anarchist Language, whereas
C (typicaly) is a fascist Language.


Betov.

< http://rosasm.org >




.