Re: GPU Acceleration
| From: | Stefan Marr | Date: | Fri, 12 Nov 2010 16:09:41 +0000 |
| Subject: | Re: GPU Acceleration | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-50171@lists.php.net to get a copy of this message | ||
Hi:
On 12 Nov 2010, at 16:35, Scott MacVicar wrote:
> Do you have a patch for this? The only thing stopping it is no one had written it.
>> So, I'd thank you for *constructive* answers.
*sigh* He was asking for constructive answers.
Kenan, I guess the most viable approach to go in such a direction is to look at something like
HipHop[1] or any other PHP compilation approach.
The problem is to find an appropriate workload for the GPU.
There is high overhead involved in starting up code on a GPU and typical PHP workloads aren't a
good match at all. At least if you stay in the Web app/DB-bound application area.
Best regards
Stefan
[1] https://github.com/facebook/hiphop-php
[2] http://www.phpcompiler.org/
--
Stefan Marr
Software Languages Lab
Vrije Universiteit Brussel
Pleinlaan 2 / B-1050 Brussels / Belgium
http://soft.vub.ac.be/~smarr
Phone: +32 2 629 2974
Fax: +32 2 629 3525