This is only a simple demonstration. It is not meant to be used in any kind of distributed application. And it is highly recommended to not use any addressing using virtual address.
An example demonstrating how to call a function from C++ using its virtual address.