Re: Will PHP ever "grow up" and have threading?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Rene Veerman wrote:
On Wed, Mar 24, 2010 at 9:45 PM, larry@xxxxxxxxxxxxxxxx
<larry@xxxxxxxxxxxxxxxx> wrote:
On 3/24/10 2:33 PM, Rene Veerman wrote:

It's a debate. The dev team consider proposals and weigh in on the
merits. I
was a proponent for goto support during the development of PHP 5. We now
have it. If you arguments are valid and there's no technical issue
preventing it, and there's someone with time and skill to created the
functionality, then it will happen. If not then it won't. I've seen many
things added to PHP and I've watched and participated in the threads on
internals that have lead to many new features. This is open source,
opinions
matter, but personal attacks and poor argument do not really make the
cut.

hahaha... you dismiss what i believe to be valid explanations without
any counter-argument besides "more sql hardware!", not just by me but
by all advocates of threading&shared memory in php.

for some reason, which is still not clear to me, you nay-sayers refuse
to let a PROGRAMMING LANGUAGE (not a "hammer", not a "fishing boat")
evolve to stay useful, relevant even, in a changing market.

and you're blatantly telling me to use a different kind of "hammer",
one that would force me to rewrite large sections of my existing
code-base, and one that i have told you i would find for many other
_valid_ reasons not optimal.
And what you seem to be missing is that making PHP userspace threaded is
such a major change to the underlying code base and architecture that it
would essentially be a total and complete rewrite, and would require people
to rewrite large portions of their existing PHP userspace code.


ehm, my newsscraper does threading via a fopen($threadURLonOwnServer)
-> fread(threads,2048)+check for feof($thread) + usleep(50ms) -> if
feof($thread) process($threadResults).

so with a hack, you can let apache handle the threading, today.

i suppose i could write something for shared memory in C++ but doing
so would also be a hack that has to be installed on each server,
rather than having it neatly as part of php.

See PECL.

Cheers,
Rob.
--
http://www.interjinn.com
Application and Templating Framework for PHP

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux