Sign in Join

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

Mailing lists / fpc-pascal / 2001-08

FreePascal x PHP: performance

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Neilson Antônio Henriques

Hello fellows ...

I'm porting a PHP console application to FreePascal. The only one question
is about the speed. PHP with Zend Optimizer seems to be really fast. Does anybody with its kind of experience ?

Thanks !

Neilson

Reply by email

Michael Van Canneyt
to Neilson Antônio Henriques
Show quoted text 6 lines
Hello fellows ... I'm porting a PHP console application to FreePascal. The only one question is about the speed. PHP with Zend Optimizer seems to be really fast. Does anybody with its kind of experience ?

In principle FPC apps should still work faster, since you don't need the extra compile step, as the FPC apps are already compiled. The things that matter here are the speed of the zend compilation and the time it takes for the FPC app to get loaded.

If the zend compiler produces some kind of bytecode (which I suspect it does), then FPC should still be faster as it creates native executable code.

But these are just some theoretical observations, not supported by experiments.

Michael.

Reply by email