Re: Symbol table
- From: rhyde@xxxxxxxxxx
- Date: 9 Nov 2006 06:43:47 -0800
Betov wrote:
First, for RosAsm, i was in need of a good Memory Manager,
Apparently, you still are. Else why would your symbol table code used
fixed memory allocation for the size of the symbol table?
because, in such a big App, making use of so many various
Buffers, i had end up with problems and bugs, that were a
real hell to point out.
Funny, most other assembler authors don't have these sorts of problems.
And most of them do use reasonable dynamic (on a per-symbol basis)
symbol table allocations.
The main concern, with all of this, is not the sizes of
the block, and their Management (relatively easy), but
the _Speed_ and the ease of use.
The main concern should be correctness. Not speed. Not ease of
implementation. This is where your code fails.
It might also be of interrest to take a look at the MASM
OOP (at their Board), in case they would have made some
progresses or researches, in that area.
This subject is almost completely unrelated to OOP.
In general, Rene, someone whose symbol table code pseudo-statically
allocates storage for the entire symbol table the way your's does
should be careful about recommending their approach to others.
KJH -- this is the guy who has refused to fix a symbol table allocation
defect in his assembler for the past two years. So I'd take what he
says with a *big* grain of salt.
Note, btw, that if you allocate large chunks of memory at one time (say
64K, or multiples of 64K) and then parcel out the memory chunks using
your own localized memory manager, performance of the OS allocation
code is nearly irrelevant.
Cheers,
Randy Hyde
.
- Follow-Ups:
- Re: Symbol table
- From: Betov
- Re: Symbol table
- References:
- Symbol table
- From: KJH
- Re: Symbol table
- From: Betov
- Re: Symbol table
- From: KJH
- Re: Symbol table
- From: Betov
- Symbol table
- Prev by Date: Re: Explanation of a swindling
- Next by Date: Re: Explanation of a swindling
- Previous by thread: Re: Symbol table
- Next by thread: Re: Symbol table
- Index(es):
Relevant Pages
|