Currently, in-process adapters can only be written in C/C++.
An overview of writing an in-process adapter in C is in Algorithm Overview.