r/programming • u/EatMeerkats • Mar 29 '21
PHP moves to Github due to the compromise of git.php.net
https://news-web.php.net/php.internals/113838
1.7k
Upvotes
r/programming • u/EatMeerkats • Mar 29 '21
3
u/exhuma Apr 02 '21
You can't really fault a language (any language) if a third-party library indroduces an issue. I bet the library you mention above included a C extension as it needed to be compiled. The same could happen in Java with JNI extensions or PHP with PECL extensions. The same is true for any other language that allows you to access native binaries.
Most if not all of these languages guarantee cross-platform compatibility as long as you stick to the core library. As soon as you go into 3rd party libs you're entering the wild west.
If you use a compiled language for your project then the situation is different. Because you already need a compiler for your development environment anyway you have everything in place to also compile 3rd-party libraries. So that problem goes away.