[fpc-devel] Modernising Pascal

Marco van de Voort marcov at stack.nl
Fri Feb 25 16:07:49 CET 2005


> On 25 feb 2005, at 15:49, Marco van de Voort wrote:
> 
> > - Critical parts are often handoptimized by using a lot of non GCed 
> > types
> > 	(like int), this is not a typical programming method for these
> > 	languages, but outright expert tuning.
> 
> Critical paths are also optimized in our compiler to not use 
> ansistrings, because reference counting is also slow.

And I was talking more specific about the Quake II benchmark that was
brought. Any tweaks would already be on top of the existing ones in the
code.

> The argument is not about whether or not we should make Pascal entirely
> GC'd, but about whether reference counting is better/worse than other
> garbage collection techniques if you have a significant amount of GC'd
> objects.

The Quake II benchmark was used to "prove" that full blown (I assume Boehm)
GC was not slow. Q II, as tuned app, is probably already using primitive
types heavily, thus not a poster child for this benchamark





More information about the fpc-devel mailing list