I am interested in making a C++ program that runs on a linux web server. This will be a simple program that makes dynamic web pages, but does not use PHP.
my host, dreamhost.com allows C++ code and I am interested in learning how to do this.

I wonder if using compiled binary code will allow the web page respond faster or use less resources.

anyone ever done this, or know someone who has?
thank you for your time and have a good day