[fpc-devel] TFPHashList (Was: Alternative parsers)

Florian Klaempfl florian at freepascal.org
Wed Oct 20 13:51:11 CEST 2010


Am 20.10.2010 13:44, schrieb Alexander Klenin:
> On Wed, Oct 20, 2010 at 22:33, Florian Klaempfl <florian at freepascal.org> wrote:
>> Am 20.10.2010 12:27, schrieb Alexander Klenin:
>>>
>>> This sub-thread was started by mentioning the series of errors
>>> my student made when trying to implement case of string.
>>> Most of them was due to the fact the code used pchars and records
>>> instead of strings and (hierarchy of) objects.
>>> Surely, a more qualified developer would probably have avoided these,
>>> but still I think this is a good demonstration of adverse side-effects
>>> of micro-optimizations.
>>
>> FPC is a production compiler and not an educational project. See
>> Martin's email, people care about the speed of FPC.
> 
> Surely I did not imply that lowering barrier for entry should be
> the primary goal of the FPC project (although that would be a nice side-effect).
> I meant to demonstrate that the current code structure encourages failure,
> which, of course, may be overcome with enough effort by
> highly-qualified developer.
> 

Imo somebody working on a compiler should understand pchars and use them
properly as well as e.g. a compiler developer needs very good assembler
knowledge.



More information about the fpc-devel mailing list