speedus

Java - Python shared memory communication

╄→гoц情女王★ 提交于 2019-12-10 17:21:12
问题 We have one program in Java and one in Python, and need to get them taking together in a ping-pong manner, each time exchanging an integer array of length 100,000, and taking ~ 0.1 - 1 second to do their work: Java does some work and fires an int array of length 100,000 over to ... Python , which does some work and fires a new array of length 100,000 back to ... Java , which does some work ... etc Note that Each program needs to wait for the other to do it's part. They will run on the same