"Those who don't understand Unix are condemned to reinvent it, poorly." – Henry Spencer
You are basically saying the whole UNIX philosophy of specialised reusable programs chained together is a flawed design.
Spawning a program is not slow. Store the programs file arguments on a ramdisk to avoid disk IO and there will be no noticeable overhead.