Re: Performance: php-gtk vs java
| From: | Alan Knowles | Date: | Fri, 14 Jan 2005 04:13:47 +0000 |
| Subject: | Re: Performance: php-gtk vs java | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-5454@lists.php.net to get a copy of this message | ||
This is based on some experience with phpmole + zend studio
Startup times on Java applications are considerably slower on platforms like linux, usually due to pulling the large java runtime libraries into memory, compared to the relatively small php runtime, and the fact that gtk libs are often already in memory.
Runtime speed is very similar, (basically they are doing the same thing once loaded.)
- however, php doesnt have any threading support, so backgrounding tasks can become a little complex, and often involves starting a new instance of php (forking is not that reliable with php-gtk - in the sense of doing multiple gui's in each fork.).
Windows performance is hindered by the fact that the gtk libs are not native, and have to be loaded into memory at startup - this basically makes it as slow as java usually. However runtime speed should be similar again.
Hope that helps a bit.
Regards
Alan
An-tonio wrote:
I have to start a new project for a client and I would like to use php-gtk. My question is about performance compare to java, the other multiplataform option . I would like to ear your opinions in real applications. Regards.