Re: HLA StdLib2 criticism
- From: "randyhyde@xxxxxxxxxxxxx" <randyhyde@xxxxxxxxxxxxx>
- Date: 17 Jan 2007 13:12:37 -0800
Betov wrote:
"santosh" <santosh.k83@xxxxxxxxx> écrivait news:1169052135.949847.265240@
38g2000cwa.googlegroups.com:
An advantage of object code over source snippets is that, assuming it's
written to a standard ABI, it can be used from all assemblers, and even
HLLs, whereas, the snippets collection will, by it's very nature, be
specific to a particular syntax and/or assembler.
At the cost of loosing the Asm control...?
Wait, I thought your "disassembler" (and I use that term *very*
loosely) would solve this problem? Have you finally faced the fact that
a disassembler approach won't work and you've given up on that pipe
dream?
Porting in between the actual Assemblers is not a real
difficulty.
Then why has it not been done? Except for HLA, which can emit MASM,
FASM, TASM, and GAS code, and a few aborted attempts that don't work
well (like intel2gas or gas2Intel), I've seen no such products that do
what you claim to be so simple. And it isn't because people don't want
this capability.
In a kind of "generic Assembly", without Macros,
there are not significative differences in between NASM,
FASM, RosAsm (which accepts a alternates generic syntaxes),
and GoAsm.
Really? And how much code have you tried to port between these
different assemblers? Links, please. About the only thing they have in
common are mnemonic names and operand ordering. If it were as easy as
you claim, why are the so many questions from FASM beginners who are
using some NASM code they've found?
Maybe (probably, talking of VID "doing a good work"...), but
this is an HLL Method, that does not interrest me, at all.
It was an "assembly method" long before it was a "HLL method." You do
realize that, don't you? Again, the only reason you have for claiming
it's a "HLL method" is because your own product doesn't support the
ability to link in static libraries.
By
the way, if this new .lib is better than the HLL ones, why not
proposing it to HLLers, instead of Asmers?
Because it's being written for assembly language programmers and won't
even link with HLLs?
You can keep 100% sure that the MASM user will never use it,
Why do you say that? There are some MASM users out there using the HLA
standard library. Why wouldn't there be some who use FASMLIB? That's
the beautiful thing about object code -- it's assembler syntax
agnostic.
and
that the FASM user will never use the Paul Brennick one.
Why not? All it takes is a header file for FASM with the appropriate
declarations.
Each
one will have its own one.
And smart programmers will realize that they can pick and choose from
the best of all of them. Indeed, there is no reason on earth why a
single application couldn't call some MASM32lib code, some FASMLIB
code, some Genesys code, and some HLA stdlib code. That's up to the
application designer, not the library designer, and certainly not the
assembler designer.
So, why talking of something general
scope (a "universal Asm.lib"), in an area where "universal" never
existed and never will exist?
Universal does exist. It's called object code. It's called a
"statically linked library." Again, you simply refuse to acknowledge
such a thing because your own tool won't support it.
It would even be a surprise to me,
if the VID's library could become "universaly admitted" in the
FASM camp...
Yes, assembly language programmers are notorious for wanting to
"reinvent everything from scratch" on every project. That's why we
don't see too many large assembly projects ever complete. It's why a
product like FRESH didn't quite make it but a product like HIDE *has*
made it. Having appropriate library code can make all the difference
in the world in a large project. It would seem to me that you would be
all for creating libraries to support large application development, as
you're the one constantly pushing people to develop "full" applications
in assembly language.
Cheers,
Randy Hyde
.
- Follow-Ups:
- Re: HLA StdLib2 criticism
- From: Raedwulf
- Re: HLA StdLib2 criticism
- From: //\\\\o//\\\\annabee <Free\"
- Re: HLA StdLib2 criticism
- References:
- HLA StdLib2 criticism
- From: vid512@xxxxxxxxx
- Re: HLA StdLib2 criticism
- From: Betov
- Re: HLA StdLib2 criticism
- From: vid512@xxxxxxxxx
- Re: HLA StdLib2 criticism
- From: Betov
- Re: HLA StdLib2 criticism
- From: santosh
- Re: HLA StdLib2 criticism
- From: Betov
- HLA StdLib2 criticism
- Prev by Date: Re: ///HLA StdLib2 criticism
- Next by Date: Re: dependency management
- Previous by thread: Re: HLA StdLib2 criticism
- Next by thread: Re: HLA StdLib2 criticism
- Index(es):
Relevant Pages
|