Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2016-02

Re: Happy tickets benchmark

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Serguei TARASSOV
Show quoted text 11 lines
Date: Mon, 15 Feb 2016 07:55:55 +0100 From: Florian Kl?mpfl To:, "FPC-Pascal users discussions" , Adrian Veith Subject: Re: [fpc-pascal] Happy tickets benchmark Message-ID: 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

Regards,
Serguei

Michael Van Canneyt
to Serguei TARASSOV
Serguei TARASSOV wrote 17 lines
On 15/02/2016 12:00, wrote: > Date: Mon, 15 Feb 2016 07:55:55 +0100 > From: Florian Kl?mpfl > To:, "FPC-Pascal users discussions" > , Adrian Veith > Subject: Re: [fpc-pascal] Happy tickets benchmark > Message-ID: > > 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.