vendredi 27 février 2015

golang support for shared memory

I heard the slogan in golang about shared memory via communication, but here I have a need to write an application to interact with an existing application A using shared memory. Basically A writes a big chunk of data in memory (so big that it's inefficient to other other means of IPC), and wait for a program B to process it and report the result to A.


Would like to write the program B using golang due to its scriptability and speed, but don't see the direct support for shared memory. Thought of using C interface in golang but there is a problem with passing pointers between the two languages.


Any ideas? Thanks!


Aucun commentaire:

Enregistrer un commentaire