Well that just makes me go WTF.
I genuinely can't think of a way this will be used which will be positive for PHP.
I genuinely can't think of a way this will be used which will be positive for PHP.
In general I'd be cautious about both the ruby racer and this as you are practically embedding a garbage-collected heap into another garbage collected heap, exchanging references between them (more so for the ruby racer - the PHP extension here is way less integrated).
This is memory errors waiting to happen.
That sounds great until you realize that you usually do a lot more validation on the server than on the client (is the username taken, is password correct, etc etc). So you would still have to use PHP for validation (in most cases).