473,396 Members | 1,725 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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.

Nov 11 '06 #1
3 2557
On Fri, 10 Nov 2006 21:22:50 -0500, "David T. Ashley" <dt*@e3ft.comwrote:
>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.configuration
comp.infosystems.www.authoring.cgi (although that seems fairly dead)

--
Andy Hassall :: an**@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
Nov 11 '06 #2
Andy Hassall wrote:
On Fri, 10 Nov 2006 21:22:50 -0500, "David T. Ashley" <dt*@e3ft.comwrote:

>>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.configuration
comp.infosystems.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.
js*******@attglobal.net
==================
Nov 11 '06 #3
NC
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:

http://www.roadsend.com/home/index.p...eID=benchmarks

Cheers,
NC

Nov 11 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: LutherRevisited | last post by:
This may be a dumb question, but are there any practical advantages of compiling a python application to *.pyo, or *.pyc? I haven't noticed any difference in the performance of text *.py or a...
26
by: billiejoex | last post by:
Hi all. I'm sorry for a noob question like this but I'll try to ask it anyway. One of the greatest problem that may discourage a new user to choose Python language is it's interpreted nature....
7
by: news.microsoft.com | last post by:
Hi, Is the compilation of XSLT, using XPathNavigator.Compile, only beneficial when the returned XPathExpression is cached? Next question, how do I cache the returned XPathExpression object? ...
4
by: Richard | last post by:
I have a service which is used to call differenct versions of an application depending on the database version that is being used. The service has been compiled in framework 1.1 and it needs to...
1
by: Arpan | last post by:
I am a newbie ASP.NET programmer. While going through the MSDN ASP.NET tutorial, I came across the following sentence: All ASP.NET code is compiled rather than interpreted which allows early...
6
by: Marc Jeambrun | last post by:
Hello, I have a simple question I would like to ask to you guys... It boils down to a simple observation about all the C libraries existing out there: there must be a C source file that must be...
11
by: cooltoriz | last post by:
Hello there, I just found that the compiled code won't hide the string variables so that I can see them by opening the execuable using Notepad. I have couple applications that have password...
1
by: Dan.Mandini | last post by:
I compiled the vb code of an .adp and ran it. The compiled code ran slower than the interpreted version?? How does that happen?? Is there any way I can increase speed of the adp?
2
by: CodeMonkey775 | last post by:
I'm having problems passing a variable to a method which is executed and compiled using CodeDom. The situation is I have a List<CellData> with cells, each containing a formula (like Excel). I am...
40
by: castironpi | last post by:
I'm curious about some of the details of the internals of the Python interpreter: I understand C from a hardware perspective. x= y+ 1; Move value from place y into a register Add 1 to the...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.