jeudi 3 juillet 2014

Bash script vs. writing C program to call other programs


Vote count:

0




I have 3-5 (large-ish) programs that I need merge so that they run sequentially. Speed is important, since this is for real-time applications. (If there is a better way, let me know).


Would it make more sense to write a Bash script to call these other programs or to write a C program that will most likely use fork-exec? Are the trade-offs between speed and difficulty/time spent coding in favour of one over the other? Are there other methods I should look into?


I apologize if my terminology is off or if there is not enough information. I will do my best to clarify. Also, please correct me so that I do not repeat the same mistakes in the future.


I greatly appreciate your suggestions and expertise.



asked 1 min ago






Aucun commentaire:

Enregistrer un commentaire