4 ms·
As a few facebook employees have said they have a lot invested in PHP there so it wouldn't make sense to swap it out.
by sanswork 17y ago
As a few facebook employees have said they have a lot invested in PHP there so it wouldn't make sense to swap it out.
- pmjordan 17y agoIt's interesting they haven't extended the language in the same way Fog Creek took VBScript/ASP, wrote a compiler for it and then started improving the language (a.k.a. Wasabi). I suppose PHP already implements practically every language feature you could think of (though the quality often divides the minds to put it lightly), so making it even bigger isn't going to make things better. Or maybe they have and it's kind of got lost in the hype.
- Zak 17y agoWith the sort of tech they're working on, a PHP -> something-not-evil compiler seems like a pretty reasonable solution.
- sanswork 17y agoAny sort of automated compiler is certainly going to miss out on a lot of the things that make language X better than PHP though would it not? And you're still talking about a rewrite of all their PHP code which I'm sure is no small feat. You're also ignoring dependencies and such in the form of PHP modules that would have to be redeveloped for the new language. Ensuring your front end developers are just as capable in language X(and handle the retraining/learning curve). Why go through all that trouble when PHP will work just as well for you?