cgi programs can be written in perl.
cgi programs can be written in perl.
cgi programs can be written in which languages?
perl
the overhead involved in process creation can be reduced by techniques such as fastcgi that "prefork" interpreter processes, or by running the application code entirely within the web server, using extension modules such as mod_perl or mod_php. another way to reduce the overhead is to use precompiled cgi programs, e.g. by writing them in languages such as c or c++, rather than interpreted or compiled-on-the-fly languages such as perl or php, or by implementing the page generating software as a custom webserver module.









































alternative approaches include:
common gateway interface
nsapi can be compared to an earlier protocol named common gateway interface (cgi). like cgi, nsapi provides a means of interfacing application software with a web server. unlike cgi programs, nsapi plug-ins run inside the server process. because cgi programs run outside of the server process, cgi programs are generally slower than nsapi plug-ins. however, running outside of the server process can improve server reliability by isolating potentially buggy applications from the server software and from each other.
netscape server application programming interface