In the end it would start an apache and run the code there if I'm not wrong, can't even remember the name of it, neither I know if there have been subsequent attempts. In PHP there was an attempt to create desktop apps with it long time ago, it failed due to lack of efficiency. You can code from a webservice to an automated irrigation system on a Raspberry Pi, through an application for Smart TVs and even a satellite if necessary with them. ![]() Something of noteworthy mention is that JavaScript, Python and Ruby are cross-platform languages. It should be mentioned here that Ruby does implement Lambdas (just as JavaScript and Python do). In fact it doesn't even implement lambdas yet. Some background on PHP: The initial OOP implementation in PHP happened in PHP 3.x and it wasn't until PHP 5 that the implementation was comparable to other languages (again, it was late) and the same thing is happening to it with the inclusion of functional tools whose usefulness has come to the fore in recent years. PHP outperforms Ruby in resource efficiency now as it has been for a long time. That is one of the reasons for it to be the TOP in terms of ML (Machine Learning). ![]() Python can compile to pyc, which is a semi-compiled and therefore its execution in large computational loads is better than PHP and JavaScript. On the other hand, in JS you usually need fewer lines of code (therefore easier to maintain) as a general rule.Īlso if you need it, you can have static typing with TypeScript (non-existent option -for now- in PHP for example) plus the community, number of libraries, integrations, SDKs etc is much higher. Javascript implements asynchrony by default and is based on events, which gives it greater power in managing simultaneous requests, while its JIT (just in time compiler) is notably better than PHP's (later included, in PHP 8) and offers higher speed. Let's compare it in its context, with the most used scripting languages today: ![]() While this is true, PHP, despite its improvements over the years, has failed to provide greater efficiency, performance, and native API implementations than most other scripting (and non-scripting) languages. It is said that there is no bad language if it allows you to program the necessary patterns to develop most of the existing solutions.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |