News for hackers. Stuff that matters.
Re:What Were CGI Scripts? by hnarn on Sunday July 21, 2019 @02:51PM (#20492983)
Do you have any more information available on this? I'm curious about the use case for using compiled binaries directly over PHP.
Re:What Were CGI Scripts? by Bubbadoo on Sunday July 21, 2019 @04:11PM (#20493374)
It sounds as though the compiled binaries optimize the compute portion, which the interpreted php code was taking 10 secs to run. It's still likely running as a cgi process, that is as a fork/exec in a separate address space. If you're using mod_php or one of the many php engines available for modern web servers, you're already enjoying a scalability and execution time improvement over standard cgi. Except with compute code, apparently.
Re:What Were CGI Scripts? by chasil on Sunday July 21, 2019 @04:23PM (#20493438)
Here is the C library that I have used in the past:

https://sourceforge.net/p/libccgi/wiki/Home/

Re:What Were CGI Scripts? by z92 on Sunday July 21, 2019 @03:14PM (#20493110)
Astronomical calculations which can be very calculation heavy and depend on the geographical location of the requester, therefore can't be cached.