I hope you don't scrutinise me too much based on my post count, but anyway. I have been trying to find a method to use a module like system in my software. Its using modified images streamed from a video so there has to be a fast exchange between the core and the modules.
I have written the program in C, and I have considered using Inter-Process Communication (IPC) to do the job, I also came across this proposed method from std-org [pdf].
The first method might be memory intensive as the data is duplicated between processes, where as the latter method seems to be checking the workable directory and loading the shared library at runtime thus keeping the same process. As I can already see a trade off between memory and thread separation I wanted to know if there are alternatives to consider.
So can anyone recommend a high performance strategy to achieve results close to a compile in module?
PS: I am not too concerned about multi-platform support as I am working only in Linux, and I do not have any dependencies on other libraries (hoping to maintain that if possible)