#1
  1. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2005
    Location
    Bratislava
    Posts
    186
    Rep Power
    11

    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?
  2. #2
  3. Banned ;)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2001
    Location
    Woodland Hills, Los Angeles County, California, USA
    Posts
    9,638
    Rep Power
    4247
    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

IMN logo majestic logo threadwatch logo seochat tools logo