Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8076165
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T15:12:22+00:00 2026-06-05T15:12:22+00:00

When I learned CGI I learned that any programing language can be used to

  • 0

When I learned CGI I learned that any programing language can be used to hook it’s output to the http response message and it’s input is the http request message. Many articles I’ve red talk about CGI in the context of Perl, is this because Perl is the most common language used in conjunction with CGI?

What I’m wondering is if CGI connects to a program written in C/C++ would it still be slower than using PHP?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T15:12:23+00:00Added an answer on June 5, 2026 at 3:12 pm

    CGI is a standard denoting how an application should interact, not a specific program itself.
    The reason CGI is often too slow is because it requires a process to be started for the request and closed at the end of that request.

    FastCGI differs from CGI in that it allows a process to serve multiple requests (it maintains a pool of request processors). This way the lengthy process startup/shutdown can be avoided for the majority of incoming requests.

    For more information on CGI and its ‘successors’ take a look at http://en.wikipedia.org/wiki/Common_Gateway_Interface#Drawbacks

    With this in mind, the performance characteristics depend not only on the language and its implementation, but also the interface used to process requests.

    It is likely for a lot of simple requests the process startup time will far outweigh the processing time, making the language X vs Y argument moot.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I learned about location tag that can be used to disable the inheritance for
I learned that JavaScript is a loosely-typed language. What other languages are loosely-typed?
I learned that to configure c3p0 pooling in hibernate, we can have write the
I learned Why Request.Browser.Crawler is Always False in C# ( http://www.digcode.com/default.aspx?page=ed51cde3-d979-4daf-afae-fa6192562ea9&article=bc3a7a4f-f53e-4f88-8e9c-c9337f6c05a0 ). Does anyone
I learned that even though seemingly similar, Eulerian path can be solved in linear
I learned that STL can forbid programmer putting an auto_ptr into a container. For
I learned that copy something to kill buffer, I can use the kill-new buffer
I have learned that we can't instantiate an abstract class. But today i tested
I learned the object-oriented in Java. Now in develop in C#. This means that
I learned that when executing commands in Python, I should use subprocess. What I'm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.