News for hackers. Stuff that matters.
Re:Go with PHP by konart on Thursday May 11, 2023 @10:16AM (#35902434)
>when would you ever have a website serve a request, and have to use gigabytes of memory to do so?

I'm pretty sure that PHP is not only used for web sites otherwise comparing to Go is simply meaningless. There is little to no point in using Go to build something with a relatevely low load.

>Again, why would you ever have an HTTP server do so much work in order to serve a request?

http server != website. You can have two services somewhere down infrastructer that communicate via http(s).

Re:Go with PHP by heywhatupboys on Thursday May 11, 2023 @12:09PM (#35904237)
> I'm pretty sure that PHP is not only used for web sites

PHP is explicitly designed to serve web content. It's usage may vary, but it is unfair to expect it to optimize towards anything but as a web backend.