[DUG] delphi is fast-very fast
Gary T. Benner
gary at benner.co.nz
Thu Jul 2 12:11:34 NZST 2009
[Reply]
HI all,
Just a quick note that if you use a PHP "accelerator", this caches the compiled PHP code ( NOT content!! ) on that server, and increases perceived performance by 4 - 10 times. That single fact plus the convenience of updating parts of the site had me leave ISAPI apps long ago.
cheers
gary
At 11:23 on 2/07/2009 you wrote
>To : delphi at delphi.org.nz
>CC : >From: Neven MacEwan, neven at mwk.co.nz
>Content Type: text/plain
>Attached: >
>Jolyon
>
>> Raw byte code still needs to be interpreted - albeit translated to machine
>> ops (rather than interpreted in the sense that a scripted language is).
>>
>> Only a compiled exe is. well. a compiled exe.
>
>You are on very shakey ground here, A compiler can optimise code based on
>the symbols passed to it, ie the object code need not resemble to
>structure of the source (famous story about benchmarks where the
>"compiler" totally removed the test loop as it realised the whole process
>was pointless)
>
>As for php, It it partially compiled afaik (partially compiled or
>tokenised) and I can't see why it could not be fully compiled to a native
>binary in the future (though in doing so you may sacrifice some of its
>portability) as an aside the original pascal implementations were
>similarly compiled into "P-Codes" whicn then ran on a target binary
>runtime.
>
>The results were pretty much as I expected Jave and C# introduce a VM
>overhead and php was propably 100% "interpreted" (actually parsed and
>run),
>I doubt they used an op code cache (such as apc) which can give 2 orders
>of magnatude code performance increase
>
>Neven
>
>
>
>_______________________________________________
>NZ Borland Developers Group - Delphi mailing list
>Post: delphi at delphi.org.nz
>Admin: http://delphi.org.nz/mailman/listinfo/delphi
>Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject: unsubscribe
>
Ref#: 41006
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20090702/97446177/attachment-0001.html
More information about the Delphi
mailing list