<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>
myOffice Email Message
</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<meta name="date" content="2002-11-01">
<style type="text/css">
</style>
</head>
<body>
<span style=
"color:#FF0000 "><b><span style=
"font-family:MS Sans Serif ">[Reply]</span></b></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#000000 ">HI all,</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#000000 ">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.</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#000000 ">cheers</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#000000 ">gary</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#000000 ">A</span><span style=
"color:#FF0000 "><b>t 11:23 on 2/07/2009 you wrote </b></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>To : delphi@delphi.org.nz</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>CC : </span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>From: Neven MacEwan, neven@mwk.co.nz</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>Content Type: text/plain</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>Attached: </span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>Jolyon</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>> Raw byte code still needs to be interpreted - albeit translated to machine</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>> ops (rather than interpreted in the sense that a scripted language is).</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>> Only a compiled exe is. well. a compiled exe.</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>You are on very shakey ground here, A compiler can optimise code based on</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>the symbols passed to it, ie the object code need not resemble to</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>structure of the source (famous story about benchmarks where the</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>"compiler" totally removed the test loop as it realised the whole process</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>was pointless)</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>As for php, It it partially compiled afaik (partially compiled or</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>tokenised) and I can't see why it could not be fully compiled to a native</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>binary in the future (though in doing so you may sacrifice some of its</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>portability) as an aside the original pascal implementations were</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>similarly compiled into "P-Codes" whicn then ran on a target binary</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>runtime.</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>The results were pretty much as I expected Jave and C# introduce a VM</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>overhead and php was propably 100% "interpreted" (actually parsed and</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>run),</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>I doubt they used an op code cache (such as apc) which can give 2 orders</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>of magnatude code performance increase</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>Neven</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>_______________________________________________</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>NZ Borland Developers Group - Delphi mailing list</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>Post: delphi@delphi.org.nz</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>Admin: http://delphi.org.nz/mailman/listinfo/delphi</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>Unsubscribe: send an email to delphi-request@delphi.org.nz with Subject: unsubscribe</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span><p>
<font face=arial size = 1 color = Navy><DIV style="WIDTH: 260px; HEIGHT: 50px"><br>
<br>
<MARQUEE id=marquee1 style="WIDTH: 260px; HEIGHT: 200px" trueSpeed scrollAmount=5 scrollDelay=20 direction=right behavior=slide loop=1 border="2"><hr><br>
<br>
<br>
<table><br>
<tr><td><FONT color=black size=4 face = "helvetica,verdana,arial">Gary Benner </FONT></td></tr><tr><td><FONT face="arial, arial, helvetica, sans-serif" color=black size=2>e-Engineer, Lecturer, and Software Developer</FONT></td></tr><br>
<br>
<tr><td bgcolor=><FONT face="arial, arial, helvetica, sans-serif" color=#000099 size=2><B><A HREF="http://www.benner.co.nz" style="text-decoration:none; color:blue">Gary Benner & Associates</A></B></FONT></td></tr><br>
<br>
<tr><td bgcolor=><FONT face="arial, arial, helvetica, sans-serif" color=#000099 size=2><B><A HREF="http://www.123.net.nz" style="text-decoration:none; color:blue">123 Internet Limited</A></B></FONT></td></tr><br>
<br>
<tr><td bgcolor=><FONT face="arial, arial, helvetica, sans-serif" color=#000099 size=2><B><A HREF="http://www.waiariki.ac.nz" style="text-decoration:none; color:#993333">Waiariki Institute of Technology</A></B></FONT></td></tr><br>
<br>
<tr><td><font face = "helvetica,verdana,arial" size = 1>Mob: 021 966 992</font></td></tr><br>
<br>
<tr><td><font face = "helvetica,verdana,arial" size = 1>Skype: garybenner</font></td></tr><br>
<br>
<tr><td><font face = "helvetica,verdana,arial" size = 1>Email: <A href="mailto:gary@benner.co.nz" >gary@benner.co.nz</A> </font></td></tr></table><br>
<br>
</MARQUEE><br>
<br>
</DIV><br>
<br>
Ref#: 41006<br>
<br>
</body>
</html>