|
From: <php...@li...> - 2008-08-10 20:47:48
|
Hi Benjamin, > I do not understand very well what you mean by > "PHP's reference counter > can't reclaim cycles". => http://en.wikipedia.org/wiki/Reference_counting > Anyway, the bridge is > started at the beginnig of > the application as a subprocess You've got it backwards. Please see the JSR 223 API spec and the Swing example. You can start Java with: jrunscript -p php-interactive and invoke php/gtk from Java. > In my opinion, php is a powerfull language Sorry, but this is nonsense. PHP is a language suited for the web. A PHP script cannot run for more than 30 seconds. If it does, one may receive out of memory problems because some objects cannot be reclaimed. Furthermore the PHP/Java Bridge protocol assumes that a PHP script does not allocate more than 2^32 handles. Even the fastest computer cannot exceed this limit within 30 seconds. Bear in mind that the HTTP server and the web browser have similar limits. > didn't know that python and scheme have their own GUI They use Java's Swing or other toolkits. Regards, Jost Boekemeier __________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com |