| ▲ | owenthejumper a day ago | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
People love hating on PHP. But Go has CVEs like every week, and people are getting tired of updating it. I don't think there is a fundamental "PHP bad" argument beyond just "hating on it". While Go/Node have grown much more than PHP, PHP is definitely alive. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | amiga386 a day ago | parent | next [-] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
> Go has CVEs like every week I don't have a problem with it. govulncheck tells me if my codebase is actually affected by CVEs or not. So if there's 50 CVE'd modules but my codebase doesn't use them, I sleep. Secondly, the fix is almost always "go get -u <affected module>", and because it's a CVE, it's usually just a bugfix release and still completely compatible with how I'm using it... but I run the test suite to be more certain. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | 1718627440 a day ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I think the actual difference is that for Go there is likely a build pipeline set up, while for PHP most people can't even touch the binary, because they have a shared hoster. I would sure love to be able to just recompile PHP right now. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | kllrnohj a day ago | parent | prev | next [-] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
> While Go/Node have grown much more than PHP, PHP is definitely alive. PHP still powers approximately 70% of websites | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ▲ | echelon a day ago | parent | prev [-] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Replace it all with Rust. It's a fantastic server language. Nobody needs to write any of this code anymore. Rust is literally the best positioned language to handle the upcoming onslaught of CVEs. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||