News for hackers. Stuff that matters.
Re:php.js - Run PHP code in JavaScript by ericclemmons on Thursday July 26, 2012 @01:57AM (#4294621)
Actually, I stumbled on an article recently noting that you can use the V8 pecl extension for running computationally-heavy code as JS from within PHP, rather than PHP code itself, to shave off some cycles.

A tool like this, with enough support, could allow you to easily convert large chunks of slower, PHP code (like object graph hydration) into JS, run in V8 for speed, and use the result in PHP without manually converting libraries.

There are no comments on this comment yet.