Some conclusions about between different development language, memory (data or objects) to interact

If there are two development languages ​​A, B, we have a demand now want to be able to interact memory between A, B, there is no other reference under the premise that we can have idea what to think about this issue?

Assumed, in the example b_instance desirable examples of A B a_instance accessed, the following are two approaches:

1, to apply a larger memory in the module A, into which the b_instance.

In this case, the memory module when A is recovered, b_instance not exist.

2, a small application in the memory module A, into which the reference b_instance, b_instance memory B module still apply.

In this case, the memory module when A is recovered, b_instance memory module B remains.

Reference: https://blog.csdn.net/xiaodaidabin/article/details/7968495

Guess you like

Origin www.cnblogs.com/luguoshuai/p/11200414.html