How do multiple languages interact in one project?
问题 I heard some people program in multiple languages in one project. I can't imagine how the languages interact with each other. I mean there is no Java method like myProgram.callCfunction(parameters); never happens or am I wrong? 回答1: Having multiple languages in one project is actually quite common, however the principles behind are not always simple. In the simple case, different languages are compiled to the same code. For example, C and C++ code typically is compiled into machine assembler