Comparisons |
|
|
Other possibilities to connect Python and Ada would be
These are all good for their specific environments, but the most natural way to connect Python and Ada would be a direct interface. The native extension and embedding language for Python is C, but everything that can be done in C can be done as well and better in Ada. pyAda makes it possible to use Ada 95 instead of C for extending and embedding Python. pyAda is the most natural way to connect Python and Ada. The thin binding is a one-to-one mapping of the C/Python interface to a thin Ada 95/Python interface, such that you can translate without thinking almost any embedding/extending code you find written in C. There is also a "medium" binding which uses Ada 95 types instead of Interfaces.C.* types. When compared with the above mentioned other possibilities to connect Ada 95 with Python, pyAda has the advantage that everything (host program and interpreter) runs in the same process, thus requiring no context switches, which meens maximum speed. Similar projects
|