Depending upon what you're doing, there is often a better solution than scripting ... in any programming language. Scripting requires a compiler to run on the resulting function to make it usable. Often what you're doing is following some script and putting together the function to execute that script. Why not instead just write an interpreter? That can frequently be better performance than a compiler if the function is not going to be executed multiple times. You have a script, and it calls functions that you've already written in order. For example, if your scripting instructions say "drop these three subVIs and wire them together", then your interpreter instructions would say, "Get a VI reference to these three VIs and call them one after the other."
I know that's really general feedback, but it's the best I can offer without knowing the details of your project. If you need help developing your app further, contact an AE or your field sales engineer and see if they can find you resources on the topic.