I think the latency involved in writing data to and from the database will probably prove a much larger bottleneck than the speed of the language that you use, at least if you're trying to read the web pages and use the data in Pd in real-time.
andy On Thu, Mar 20, 2008 at 9:03 AM, Frank Barknecht <[EMAIL PROTECTED]> wrote: > Hallo, > > Frank Barknecht hat gesagt: // Frank Barknecht wrote: > > > Hallo, > > Jack hat gesagt: // Jack wrote: > > > > > Le 20 mars 08 à 15:43, Frank Barknecht a écrit : > > > >I don't know of an external which adds PHP support inside of Pd. If > > > >you are talking about which programming language to choose outside of > > > >Pd: I'd choose whatever you feel most comfortable with. Of course one > > > >could debate which language is the "better" language, Lua or PHP, but > > > >I think, this would be very off-topic here. > > > Of course, I selected that with which I am more at ease. :) > > > In fact, i just want to know if Lua is as at ease as PHP with > > > Internet, string operation and MySQL. > > > Lua is well implemented in PD, so i think it's not very off-topic here ! > > > > Yeah, I meant the more general discussion if Lua altogether is > > "better" than PHP would be off-topic. Until PHP is available in Pd, > > the choice between Lua and PHP inside of Pd is easy. > > Oh, and if you're only interested in speed: The Language Shootout > shows Lua as generally being roughly twice as fast and memory friendly > than PHP in most cases: http://tinyurl.com/ypgvnf > > Lua is 13 times slower than C++, PHP is 23 times slower. (Tcl there is > 44 times slower ...) > > > > Ciao > -- > Frank Barknecht _ ______footils.org__ > > _______________________________________________ > [email protected] mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
