There is some experimental support for importing of native functions inside the VM but there is no way to make it import C++ methods. You can extend the VM though with custom native code that can call into C++. Look at "tests/compilerapi/tcompilerapi.nim" if you haven't already.
- importc in NimVM jmgomez
- importc in NimVM Araq
- importc in NimVM jmgomez
