[comp.unix.questions] Heap manager in C?

mark@intek01.UUCP (Mark McWiggins) (12/19/89)

One of our customers wants to use C++ with an embedded system whose
C compiler does not contain heap-management routines (malloc(), free(),
etc.)

Do you have/know of a heap management system in C that I could recommend
to him?  I'm aware of the library source available with MS-DOS C compilers,
but they all seem to contain 80x86 assembly language down at the bottom.

Thanks in advance.
-- 
Mark McWiggins			Integration Technologies, Inc. (Intek)
+1 206 455 9935			DISCLAIMER:  I could be wrong ...
1400 112th Ave SE #202		Bellevue WA  98004
uunet!intek01!mark		Ask me about C++!

bright@Data-IO.COM (Walter Bright) (12/21/89)

In article <258@intek01.UUCP> mark@intek01.UUCP (Mark McWiggins) writes:
<Do you have/know of a heap management system in C that I could recommend
<to him?  I'm aware of the library source available with MS-DOS C compilers,
<but they all seem to contain 80x86 assembly language down at the bottom.

There's one in the classic K+R book.

Most C compilers implement it in assembly for speed. Customers don't care
about portability of runtime library code, they care about size/speed.
I know that a lot of my programs are heavily dependent on efficient
heap management.