Where you got the idea that it is the single most dominant language? I'm pretty sure it's C.
As someone who uses JS / TS on daily level, I can assure you that both Java and C# have much more powerful features. Those three are just uncomparable.
:) Sure I guess C code processes a lot of packets. But the amount of code? Every website? Then every web browser is mostly C++. But again, dominant to me says the language in which most new code is written. If it means something different to you, that's fine.
Microcontrollers, cars, compilers, web browsers, desktop applications, drivers, kernels, shells, desktop environments... There is huge number of stuff written in C and C++.
On the front-end the goal is to compress your JS as much as you can so it's quite rare to have huge front-end code bases. On back-end PHP is used much more than JS (more than 80% of the websites). Also, you would have to measure private repositories too, for which we have no information.
Read my other comment in the thread. More than 80% of the back-ends are written in PHP. JS on the front-end doesn't take too much (and it would be a disaster if it did because huge number of websites would be slow). Even if you add all websites together I'm pretty sure it wouldn't surpass number of lines written in C across all diferent operating systems, kernels, drivers, embedded code, browsers, desktop environments and bunch of other stuff.
Where you got the idea that it is the single most dominant language? I'm pretty sure it's C.
As someone who uses JS / TS on daily level, I can assure you that both Java and C# have much more powerful features. Those three are just uncomparable.
I wouldn't use popularity as a metric for the most dominant language but the prevalence. C runs the whole internet infrastructure.
:) Sure I guess C code processes a lot of packets. But the amount of code? Every website? Then every web browser is mostly C++. But again, dominant to me says the language in which most new code is written. If it means something different to you, that's fine.
Microcontrollers, cars, compilers, web browsers, desktop applications, drivers, kernels, shells, desktop environments... There is huge number of stuff written in C and C++.
On the front-end the goal is to compress your JS as much as you can so it's quite rare to have huge front-end code bases. On back-end PHP is used much more than JS (more than 80% of the websites). Also, you would have to measure private repositories too, for which we have no information.
How many web sites are there?
Read my other comment in the thread. More than 80% of the back-ends are written in PHP. JS on the front-end doesn't take too much (and it would be a disaster if it did because huge number of websites would be slow). Even if you add all websites together I'm pretty sure it wouldn't surpass number of lines written in C across all diferent operating systems, kernels, drivers, embedded code, browsers, desktop environments and bunch of other stuff.
Python is not 80% where did you get that number. C# has been around for backends for 25 years.a
Where did I say Python? I said PHP. See here (it's around 80%): w3techs.com/technologies/details/p...
C# is not used that much on the back-ends overall.
My bad, but are you talking front-end or backend php.
PHP can't be used on front-end, it's a server side language.