Further developing C for the web
I'm just wanting to express my strong desire for C to become a more prominent Web language, something like php. I am a web developer and have a strong loyalty to C. C is the first language I learnt and personally I think its the best structured language.
The thing however is I have noticed that C hasn't grown with new advancements with most other web languages. Does anyone know of any work being done to improve C for Web applications - things like being able to embed functions in html pages etc.
I really would like to see C being in front of the rest on the Web. I'm currently designing a complete web content management system and will be throwing my weight firmly behind C as being the language that powers the software. I just want to encourage the people who develop the C Language to take this into consideration for future improvements.
Why not make C the most Comprehesive
What I'm mainly talking about is creating something like asp with C. It doesn't really require any real changes - just some additional libraries and server software. Perhaps I will develop it myself.
All you need is a program that resides on the server that parses each webpage. It looks for let's say Cscript <cscript> tag and treats everything inside as C code to be executed. It would have to do away with Compiling and be an intepreter like for Perl and php.
This idea is not to change C itself but for a new C compatible asp type system to be created.
I can program in C quite comfortably and the thing I find most annoying these days is there are too many languages to have to learn for different tasks. Its a little like having to be able to speak English, French, German, Japanese etc . If it could all be C it would make life a lot easier.
Re: Why not make C the most Comprehesive
I think people are trying to get across the "why reinvent the wheel" point. It's stupid to mirror a language like jsp (java), php, or asp when they already perform the operations you are looking for plus they are maintained much better than you probably ever could. The answer is simple, use one of the existing languages for what you are trying to do.
Originally posted by bjdea1
I get your point but C is dieing in this area
I get your point quite well and in reality perhaps you're right - because there's a lot of work involved doing something like this.
But think about it - why are there so many competing languages already mirroring the same asp type system - they seem to think its worth mirroring and competing in this area. None of them have conceded to the original language and just used it - because they want their Language to be the dominant language and they see the Web as probably the most important application now and in the future.
On the Web C is small and beginning to fall far behind. I'd love to see this reversed with an influx of new web features.
Look at this Web Forum - its a Cprogramming Board - but its powered by php - now that's a joke ! What does that say about C? It says C is limited and not the best language for the job - I want to reverse that. Anyone else feel the same?
Re: I get your point but C is dieing in this area
There are the three big ones because of politics. Sun loves to bust Microsoft's chops whenever it can. Microsoft wants to cash in on the success Sun has had with J2EE, so they create .NET. PHP is a quaility solution to the web, but I don't see PHP as an enterprise solution. The backend ability of Servlets is something PHP lacks and ASP is just getting with .NET.
C doesn't belong on the web IMO. It does what it was made for quite well, better than anything except C++. There isn't a tool that is the best for every job. That's why we have all of these different technologies.