Is there a preferable programming language for CGI apps? [closed] - c

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I know that I can write CGI in many languages, the most are C and Perl.
But why I have to write it in Perl or in C?
What's the difference and what's the (eventually) the best and safe solution?

The advantage of nearly all dynamic languages over C is that it's much harder to get buffer overflows while doing string manipulation, which can easily become a security problem.
Also Perl has libraries that help you dealing with the CGI protocol, and they are battle tested and stable.

Related

write my own delta compression? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
Is there any reason that I absolutely should not write my own delta compression library (in C)? I'm working on proprietary project and cannot include any GPL'd code (and most others in fact).Being not an expert in binary data compression, I'm wondering if I do go this way, where should I start? All data involved is highly patterned binary with roughly the same length (~100K).
Sorry for the rather vague question.. Thanks in advance for any insight
Zlib is freely available and reusable, even in proprietary software. (Here is the license.) There is no reason to try and recreate it.

Creating a simple HTTP proxy in C [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm a newbie programmer looking to create a simple proxy in C that forwards HTTP requests (through TCP). Are there any resources online that can get me started? I've already looked at "Beej's Guide to Network Programming" as it came highly recommended, but I find it to be a little incomplete and hard to follow. Any suggestion would be appreciated!
Why reinventing the wheel?
There is tinyproxy that is fully featured, opensource and free.
https://banu.com/tinyproxy/

Is it possible to write Tower Defense in C/SDL [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I have to write Tower Defense game in ANSI C using SDL library, but the deeper I go into LazyFoo's tutorial, the more I got this feeling that's impossible to write it in pure C due to limitations. So my questions is - am I in big trouble or I'm just panicking. It has to be a simple tower defense game, nothing fancy, but is it possible to do it using only C?
C is a Turing-complete language so anything you can do in some other language can be done in C, too. And SDL provides you with a graphics API which is commonly used for (usually small/indie) games.
Of course it might be more pleasant to write it e.g. in C++ or a higher-level language such as C# or Python - but it's possible in C nonetheless.
TL;DR: Yes, it is totally possible.

Is there any alternate to BoxedApp SDK? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
BoxedApp http://www.boxedapp.com/boxedappsdk/ is useful to write programs which need virtual or fake file.
I want to know is there any other Library or Component as an alternative to this for free?
The reason that I need such thing is, I have a stream in memory and need it to play. (stream is a film)
any free alternative? (BoxedApp can handle it.)
I know that Microsoft Detours can be alternative to BoxedApp. As for another alternatives - I do not know.
Good luck

Should I Read K&R Just After a College Course in C? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I just finished a college course in C. The book used was Kochan's. I am tempted to now tackle K&R to deepen my understanding of the language. Theoretically I should already know all the material in it, but I still feel like I would benefit from going through it including doing the exercises.
Any thoughts or feedback?
Thanks.
+1 for reading it. It's a brilliant, concise book, brilliantly written.

Resources