I've been using COM and .NET assemblies in the past to develop component-based-systems. Now I'm going to work on a cross-plattform-C++-project and want to structure the code in components aswell…
Obviously COM and .NET are not an option, as COM is not available anywhere but Windows and Assemblies would add dependencies to the .NET framwork which may be not available at the target system.
I'm aware that due to ABI-differences I won't be able to move components between different operating systems without recompilation, but I would like to write the code in a manner, that it's compatible at source-code-level.
Is there any system/framework that enables such a architecture in C++?
Linux .so/Windows dll
be enough for your needs? COM's big promise, AFAIK, is the binary compatibility, so you can use the same component from anywhere, languages, scripts, browsers etc. Do you need this? If you just want to break your system into reusable, pluggable pieces, than seems that.so
are simple and efficient enough.