+ 1
How to run multiple languages in one project ??????
Like a have to made an app for it , i write somecode in java and some code in python .How to interact to make an app
19 Respuestas
+ 1
Like cross platform applications???
+ 5
Harveer Batth
you said something that can run multiple languages...that site can run multiple languages.
But yes, maybe that's not what you want.
You want interaction between programs written in different languages.
Having different languages interact is not easy.
Some have to be compiled first, others need interpreters to run. Data have to be transferred and they must be compatible. Functions have to be called. Input outputs have to be handled... etc. It's not as simple as you think...
if you only want Java-Python interaction, maybe visit this SO thread..
https://stackoverflow.com/questions/1984445/interaction-between-java-app-and-python-app
+ 4
To create an app with multiple languages, you can:
1. Develop a backend/API using one language (Python, Java, etc.) to handle app functionalities.
2. Use JSON or XML for data exchange between the backend and frontend (Android app).
3. Optionally, consider using cross-language frameworks like React Native or Flutter for a smoother integration of different languages in the app.
+ 2
RezaForoozesh in your answer git meant github or what . Thank you
+ 2
like godbolt.org?
https://gcc.godbolt.org/
+ 1
I Know,
if run your code with git you can merge multiple language
+ 1
Harveer Batth
app is a vague concept.
First decide on WHAT your app is supposed to do.
Then decide on WHO is going to use it.
Then on HOW it is going to be used.
finally decide on what programming language or languages you are going to use to code it in.
If you want a Python app with user interface, maybe you should learn Tkinter, Pygame, Kivy, Pysimplegui, PySide, etc. Be aware that gui apps, while easier to use, are harder to code than console apps.
+ 1
Bruh this is not what they mean by creating apps in multiple languages.
Apps that uses multiple languages actually have little to no interactions at all. The languages are there to serve different purpose.
In most cases tho, it's easier for compiled languages to call other compiled languages "executables" . You will have to ship the executable with the app so java can call the executables not the language source code.
this however will increase the size of the app
0
RezaForoozesh what areyou saying man
0
no i mean git(!github). when you put your project in it you need define whatever language you used and you can see your project (with multiple lang)running .
0
Bob_Li what are you typing man
0
Bob_Li thank you man a lot
0
python interacts with c/c++ under the hood. Some standard functions and modules are written in these languages to boost performance.
https://www.geeksforgeeks.org/libraries-in-python/
0
Yes, you can run multiple languages in one program. There are various methods to achieve this, such as using language-specific interfaces, API calls, or embedding one language within another. However, the implementation may vary depending on the specific languages you want to use together. Let me know if you need more details or have a particular scenario in mind.
0
Hi phton mobile me run kaise kare
0
Yes
0
How I can built an simple application by python or C++ ?
0
HTML kaise sekhe