Using C++
Encapsulate the DUT hardware runtime environment with C++ and compile it into a dynamic library.
Encapsulate the DUT hardware runtime environment with C++ and compile it into a dynamic library.
Encapsulate the DUT hardware runtime environment with Java and package it as a jar file.