My understanding is that ColdFusion is compiled down to Java byte code. It can be done in advance or on the fly.
Therefore, byte code is byte code, after it is compiled it will run at the same speed as Java because it is compiled Java at that point. As I understand it PHP is interpreted each time it is run (I could be totally off on that my last time dealing with php was years ago), so it shouldn't even be considered if you are comparing ColdFusion to Java. However, ColdFusion can be compiled either on the fly or before use, so I would think that means ColdFusion is the best of both worlds between Java and PHP. Of course this is all my own opinion and limited knowledge. Ok, I guess I'm ready for flames and insults if I'm wrong. Steve -----Original Message----- From: Cameron Childress [mailto:[email protected]] Sent: Monday, June 11, 2012 2:03 PM To: cf-talk Subject: Re: Is CF slower than Java? On Mon, Jun 11, 2012 at 1:42 PM, Shannon Rhodes <[email protected]>wrote: > > I'm giving feedback on a colleague's paper containing the following line: > > "Cold Fusion is written in JAVA which means, generally, that a ColdFusion > program will run slower than a program written directly in JAVA..... If > speed of the application were the primary consideration, PHP or JAVA is the > clear choice." This is flawed logic, since it would make the following statement also true: "Java and PHP are slower than assembly. If the speed of the application were the primary consideration, Assembly is the clear choice." -Cameron ... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:351542 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

