you need IDL ( interface definition language ), try googling:
- protocol buffers.
- ICE (Internet connection mechanism).
- Perhaps Microsoft COM ?.
- - edit: new entry - it looks like microsoft has an IDL compiler .
It all depends on what you want. All of the above technologies have an IDL element for them and come with their own baggage. I personally would have stayed at a low level of C / C ++: D. Therefore, I would use Google "Imatix GSL" and use the indicated technology to model the problem in XML and create data structures in any programming language - this technology is very simple and thin and requires an experienced programmer, so if that doesn't make sense, you should stick with the IDL.
- change: programming method -
You can solve the problem with clean technology if you want. Chaos occurs when the planing technique breaks. If you decide on a firewall and encapsulate the problem in pure C / C ++ code, you don’t have to worry about the interface dropping in your dependent code - this is because any useful language can interact with your platform's ABI (simple C functions : P). The point is not to expose the internals, but simply an interface with opaque types, such as numeric descriptors that represent objects and functions that can be executed on your types.
source share