January 2nd, 2006, 05:27 PM
Combining C++ with scripting language
I am generating web pages using FastCGI C++ engine, which takes XML file with page description and generates it. But now I need to use my engine to call some script (It is really not very good idea to hardcode everything in C++.) with some page specific code which is not worth to be added into engine functionality (some simple conditions, loops, ... - only a few lines of specific code).
Now, my question is, which scripting language/languages (Perl, Lua, Ruby, Python, PHP, ...) should I use to achieve the best performance and could be easily called from C++ code?
January 3rd, 2006, 02:53 PM
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne
"I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo