Florian Klaempfl wrote:
Helmut Hartl schrieb:
> >FastMM is open source, has anyone ported it to FPC?
>
> There are users that have got FastMM working with FPC. But
> it is not needed. The standard FPC heap manager is for
> single-threaded applications as fast as FastMM.
A little bit shortsighted (IMHO),as "everyone seriously concerning
performance"
Well, depending on FastMM is short sight too because FastMM is using
heavily assembler, so it is i386 only.
I think a better approach is to extend the current fpc memory manager to
perform better in multithreaded environments.
is concentrating on multithreaded, multiprocessor applications, wich are
lock and waitfree, right now.
Well, the lockless multithreaded memory managers are a myth. Atomic
exchange operations take a also a lot of time and are locked by the cpu
as well.
Is there anyone around who is using FastMM in FPC?
A guide what is necessary to get FastMM working with FPC
is much appreciated.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
One nice side benefit of FastMM is that it automatically lets you know
of memory leaks with no fuss and bother on the programmers part.
--
George
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal