Email or username:

Password:

Forgot your password?
Top-level
Oliver Schönrock

@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..

2 comments
Gina Peter Banyard replied to Oliver

@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....

Oliver Schönrock replied to Gina Peter Banyard

@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.

Go Up