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

Re: php4-apache2



On Sat, Jan 24, 2004 at 02:36:24PM +0100, Arnaud Vandyck wrote:
> > After talking to Rasmus last week about this very issue (and I was
> > originally skeptical of his claims), I believe that it will be *very*
> > difficult to get something the size of PHP4 working fully threaded.
> 
> So you think I'd better try to get php4-apache2 working with
> apache2-mpm-prefork and build php4 with apache2-prefork-dev?

It'd certainly be a better bet than hoping that php4 becomes fully
thread-safe any time soon.

> > And having put together some threaded code in my younger days, I
> > totally agree with Rasmus on his "not smart enough" comment.  Waaaay
> > too mind bending, especially once you get into large chunks of other
> > people's code.
> 
> I don't want to make a flamewar but maybe you can try java ;)

Does Java handle the details of mutexing and synchronisation?  If so, then
you're not writing multi-threaded code in the same sense - and
multi-threaded Java apps would be pretty simple.  Perhaps you can convince
Apache and PHP to rewrite everything in Java.  <grin>

- Matt



Reply to: