Originally Posted by
laserlight
You'll run into the same challenges as using say, Python scripts to replace shell scripting and makefiles in the hope of being platform-agnostic: your users will depend on you to compile the code for them, which limits their ability to change the script to say, configuration variables from an ini file (this is similiar to Python scripts that have been compiled so that a Python interpreter is not needed on the system), or if they want full control of the script, they need a C++ compiler (like how without such special preparation a Python interpreter will be needed).