Can Python and Java work simultaneously in one program... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can Python and Java work simultaneously in one program...

Work side by side or Encapsulates together...

14th Oct 2019, 1:53 PM
Trojăn S
Trojăn S - avatar
2 Answers
0
in single program ? i dont think there's an easy way. one possible option is using Jython but i think it cant support cpython library such as numpy. other than that 1. let one program execute other program from other language and take the output, 2. make them comunicate using network but both solution is no longer "one program"
14th Oct 2019, 2:46 PM
Taste
Taste - avatar
0
jython + cython https://www.jyni.org/
14th Oct 2019, 3:41 PM
zemiak