Compiled C-language CGI-BIN Programming with MySql

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • David T. Ashley

    #1

    Compiled C-language CGI-BIN Programming with MySql

    Because I have some heavy number-crunching scientific applications, I'd like
    to program using the C language, CGI-BIN, and with MySQL (using its
    C-language interface).

    Is there anything I should know? For example, when Apache runs a CGI-BIN,
    is there anything special about the environment (memory limits, etc.)?

    Is the paradigm I proposed workable?

    Thanks, Dave.

    P.S.--I'm a heavy PHP user, but for some applications it isn't fast enough.



  • Andy Hassall

    #2
    Re: Compiled C-language CGI-BIN Programming with MySql

    On Fri, 10 Nov 2006 21:22:50 -0500, "David T. Ashley" <dta@e3ft.comwr ote:
    >Because I have some heavy number-crunching scientific applications, I'd like
    >to program using the C language, CGI-BIN, and with MySQL (using its
    >C-language interface).
    >
    >Is there anything I should know? For example, when Apache runs a CGI-BIN,
    >is there anything special about the environment (memory limits, etc.)?
    >
    >Is the paradigm I proposed workable?
    Sounds fine, although it depends.
    >P.S.--I'm a heavy PHP user, but for some applications it isn't fast enough.
    So you're not using PHP at all? In which case:

    comp.lang.c
    comp.databases. mysql
    alt.apache.conf iguration
    comp.infosystem s.www.authoring.cgi (although that seems fairly dead)

    --
    Andy Hassall :: andy@andyh.co.u k :: http://www.andyh.co.uk
    http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

    Comment

    • Jerry Stuckle

      #3
      Re: Compiled C-language CGI-BIN Programming with MySql

      Andy Hassall wrote:
      On Fri, 10 Nov 2006 21:22:50 -0500, "David T. Ashley" <dta@e3ft.comwr ote:
      >
      >
      >>Because I have some heavy number-crunching scientific applications, I'd like
      >>to program using the C language, CGI-BIN, and with MySQL (using its
      >>C-language interface).
      >>
      >>Is there anything I should know? For example, when Apache runs a CGI-BIN,
      >>is there anything special about the environment (memory limits, etc.)?
      >>
      >>Is the paradigm I proposed workable?
      >
      >
      Sounds fine, although it depends.
      >
      >
      >>P.S.--I'm a heavy PHP user, but for some applications it isn't fast enough.
      >
      >
      So you're not using PHP at all? In which case:
      >
      comp.lang.c
      comp.databases. mysql
      alt.apache.conf iguration
      comp.infosystem s.www.authoring.cgi (although that seems fairly dead)
      >
      And cross-post. Don't multi-post.

      --
      =============== ===
      Remove the "x" from my email address
      Jerry Stuckle
      JDS Computer Training Corp.
      jstucklex@attgl obal.net
      =============== ===

      Comment

      • NC

        #4
        Re: Compiled C-language CGI-BIN Programming with MySql

        David T. Ashley wrote:
        >
        Is the paradigm I proposed workable?
        Yes.
        P.S.--I'm a heavy PHP user, but for some applications
        it isn't fast enough.
        You could compile your PHP; that usually gives you quite
        a boost in CPU-intensive applications:



        Cheers,
        NC

        Comment

        Working...