Is it possible to make one program, written in Java, C++ and D?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
So you want to write, say, a game that compiles both in Java, C++ and D ? No can do. But you can e.g. create a library (in C) with common logic and use that from Java (via JNI), C++ and D.
Still, there’s not much point in doing so except if you need to target platform where you don’t have influence on the environment (like an embedded system or something like iOS or Android).