Efficiency

In general, a script isn't as efficient as a custom-written C or C++ program, because it:

However, developing a script can take less time than writing a program, especially if you use pipes and existing utilities as building blocks in your script.