[fpc-pascal] Happy tickets benchmark

Serguei TARASSOV serge at arbinada.com
Tue Feb 16 12:19:31 CET 2016


On 16/02/2016 12:00, fpc-pascal-request at lists.freepascal.org wrote:
> Date: Mon, 15 Feb 2016 13:02:48 +0100 (CET)
> From: Michael Van Canneyt<michael at freepascal.org>
> To: FPC-Pascal users discussions<fpc-pascal at lists.freepascal.org>
> Subject: Re: [fpc-pascal] Happy tickets benchmark
>
> On Mon, 15 Feb 2016, Serguei TARASSOV wrote:
>
>> >On 15/02/2016 12:00,fpc-pascal-request at lists.freepascal.org  wrote:
>>> >>Date: Mon, 15 Feb 2016 07:55:55 +0100
>>> >>From: Florian Kl?mpfl<florian at freepascal.org>
>>> >>To:<adrian at veith-system.de>, "FPC-Pascal users discussions"
>>> >>	<fpc-pascal at lists.freepascal.org>, Adrian Veith<adrian at vtim.de>
>>> >>Subject: Re: [fpc-pascal] Happy tickets benchmark
>>> >>Message-ID:
>>> >>	<152e3b6cc90.27ef.940694a44bcba3a3e493262cc9dc50d2 at freepascal.org>
>>> >>Content-Type: text/plain; charset="iso-8859-1"
>>> >>
>>> >>Well, as said before: if the speed of code like this is important for you,
>>> >>use C.
>> >It's a wrong choice.
>> >As we can see and reproduce, at least C# or other Pascal-like environments
>> >(Oxygene) are significantly faster.
>> >http://www.arbinada.com/main/en/node/1532
>> >
> What Florian means is that this is very artificial code, and that - although
> he has been able to apply the necessary patches to make FPC faster - the
> necessary optimizations are not likely to help in real-life programs.
>
> Michael.

Sounds like the real-life programs don't use inner loops or don't solve 
NP-complete problems  :)
For info, my real-life examples are the application server and the DSL 
script engine.
So any improvement of quality of FPC's generated code are welcome.

Regards,
Serguei



More information about the fpc-pascal mailing list