@oschonrock @woozle @ramsey @cptwtf @IceWolf I mean, someone did it for funsies: https://github.com/ircmaxell/PHPPHP
Like nothing prevents it from being done.
Top-level
@oschonrock @woozle @ramsey @cptwtf @IceWolf I mean, someone did it for funsies: https://github.com/ircmaxell/PHPPHP Like nothing prevents it from being done. 4 comments
@oschonrock @woozle @ramsey @cptwtf @IceWolf You asked if the PHP VM could be written in PHP, I gave you a repo where someone did this 13 years ago. I didn't say it was a good idea nor that it would be fast. Nor is this even fully fleshed out. People have written a Python interpreter in Python and use it to run Python. There is nothing fundamentally *preventing* you from doing it. Chickens and Eggs exists with statically compiled languages when you need to boostrap it the first time too.... @Girgias @woozle @ramsey @cptwtf @IceWolf This is totally not the same... because you are still running a php interpreter at the outer layer in every case. In a systems language there is only the hardware. You are apparently unable/unwilling to understand the fundamental difference, or just really stubborn and pedantic. And with that I conclude the one thing that always irritated me more than anything else in php: The quality of understanding and discussion. I am out. Have a nice day. |
@Girgias @woozle @ramsey @cptwtf @IceWolf
there goes the pedantic approach again....
"This requires that php be in your system path."
you still need the php interpreter which is written in C/C++ in order to run the php vm to run the php programme..
have you ever heard of chickens and eggs?
so.... "no"... basically.
not to mention it would be prob be stupidly slow..