[Info-vax] OS implementation languages
Arne Vajhøj
arne at vajhoej.dk
Mon Sep 11 19:14:43 EDT 2023
On 9/11/2023 9:42 AM, plugh wrote:
> I'll propose an explanation for PHP's wide-spread use: websites built
> using rented infrastructure. While you get a choice of OS, one
> usually doesn't get to choose the toolchain for building/deploying
> applications. It's quite rare that one can "easily" deploy an
> application built using a compiler-based toolchain. Far easier to
> upload (ftp> mput src/*) an application built using a script
> language-based toolchain.
It would probably be problematic in that regard to use languages
that compile to native. You can't build on the web hotel and if
you build local then it will be different OS, different OS version,
different C RTL or different something else that prevent it from
running when uploaded.
But it is not a real problem, these kind of languages (static typed
compiled to native) are not suited for web applications anyway.
There are a number of languages being used for web applications.
Several script ones: PHP, Python, Ruby, JavaScript (assuming we do not
consider transpiling ES6 or TS as compilation).
Some that are compiled to byte code and therefor with less
dependency on the platform. This include Java and C#.
PHP still came out on top.
And we can also see many large companies that runs their own data center
still picked PHP.
> For reference, consider the Web developer's
> acronym: LAMP Bemoan it all you want, but here you are.
There are many of those LAMP, LEMP, MEAN, MERN etc.etc..
Arne
More information about the Info-vax
mailing list