I have a server that can do it, but my question is how do I implement C++ into a web page?
Printable View
I have a server that can do it, but my question is how do I implement C++ into a web page?
You can't implement C++ into a web page. You can use an app written in C++ as a CGI app, but that's something completly different and not a very good idea unless you really need that speed.
i thought that in tests CGI apps were slower than PHP and ASP? but i could be wrong.
ASP.NET has suppored for compiled languages (of the .NET family, VB.NET, C#, C++.NET). If you knew any of these languages you can use the source file in your aspx.
If it's a large CGI app the speed advantage of compiled C++ over interpreted scripting languages such as PHP and traditional ASP makes up for the speed problems of the CGI interface (or whatever causes the delay).
If you are for speed, you can write ISAPI in C++. That is exactly what my site is: http://www.greatwesternpages.com.au/octopus
http://www.bnt.com/inetsdk/isapi2.htm
In CGI mode, PHP will be slower. When used as mod_php with Apache, it will blast through it. Similarly, ASP is parsed by IIS.Quote:
Originally posted by john tindell
i thought that in tests CGI apps were slower than PHP and ASP? but i could be wrong.
Another option is to create a web service in C++ in .Net and encapsulate your functionality there.