4 ms·
I'm waiting to see someone compile and execute JavaScript in a PHP VM. They could then use this to run PHP from JavaScript from PHP. I'd go further, but from h
by chris_wot 14y ago
I'm waiting to see someone compile and execute JavaScript in a PHP VM. They could then use this to run PHP from JavaScript from PHP.
I'd go further, but from here it's really turtles all the way down.
- niklasvh 14y agoI had that very same idea, but personally think it would be far harder to do a JavaScript VM written in pure PHP than it is to do it this way around.
- phpnode 14y agodoing it in pure php would be impressive (or masochistic), but there's already http://php.net/manual/en/book.v8js.php http://php.net/manual/en/book.v8js.php
- lucassouza1 14y agoThere are great performance improvements using that. http://we-love-php.blogspot.de/2012/07/using-v8-javascript-engine-as-php.html http://we-love-php.blogspot.de/2012/07/using-v8-javascript-e...