![]() We could translate these algorithms to C++, but because this is a research project we decided to refrain from doing so until we had evidence that calling the Python code from C++ incurs an unacceptable time overhead. However, there are several implementations of algorithms used to process these system call traces that are available in Python. In the Active Authentication project we are writing C++ code that leverages the Detours library to collect system call traces. However, depending on the frequency with which the program will execute code written in language B, this trade-off may be acceptable. By using the third approach you overcome these downsides at the cost of the context switching required to start executing code in a different language. ![]() The downsides of the first two approaches are that you sacrifice the benefits of writing parts of the application in one language for the sake of using a uniform language. Write most of the application using language A and call language B from A when appropriate.Write the application entirely in language B.Write the application entirely in language A.
0 Comments
Leave a Reply. |