A shared memory example.
 Note the difference of char and string in c/c++ and python.