Updates to API design document...
Herman Bruyninckx <[email protected]>
| Newsgroups | gmane.science.robotics.orocos.user |
|---|---|
| Message-ID | <Pine.LNX.4.44.0307071759310.17011-100000@srv04.mech.kuleuven.ac.be> |
I added some small updates to the <http://www.orocos.org/deep-shallow-api.html> design document. Comments very welcome! A discussion is added about the differences between APIs for (for example) libraries and distributed components. The message is that it is nearly impossible to define one single API for all purposes. In practice, this should not be too much of a problem, if the following conditions are satisfied: - The same names are used for the same concepts. - The same functionalities are implemented. - The same mathematical representations are used. Under these conditions, it's reasonably easy to implement the same "conceptual" API under different programming languages. Anyway, different programming languages require different APIs; e.g., C, CORBA and C++ have quite different language idioms and concepts, so one-to-one substitution of API calls and data structures is not possible. Herman -- K.U.Leuven, Mechanical Engineering, Robotics Research Group <http://people.mech.kuleuven.ac.be/~bruyninc> Tel: +32 16 322480