+ 3
Can C , java and Python combined as one ?
12 odpowiedzi
+ 8
It is also possible for a high level project to use all three languages for different applications within the project.
+ 4
CPython is NOT a combination of C and python. CPython is the original Python interpreter, which is most commonly used and which can be downloaded from the python website. This program was written in C programming language. In a similar manner there is an implementation called Jython, which uses Java to create bytecode from Python code.
+ 4
Generally modules of Python can be written in C to have high performance etc.
+ 3
I want to ask
Is there any molecules in python or java that can run C or eachother.
May be call *.cpp or *.py on execution
+ 3
Yes, it is possible to write extension modules for Python in C:
https://docs.python.org/3/extending/extending.html
+ 3
Parampreet Rai we don't usually go down to the molecular level when talking about programming languages.
+ 3
I'm curious why you asked this question, is it because you think that a super language combining all three will be beneficial?
+ 2
I don't know about Java, but based on information that atleast Numpy library is somehow written in C, I think it could some how be possible to combine Python and C.
I think you can write packages for Python in C, I remember someone long long double ago gave a link for a solution in python.org, I did not read it, but you can find a solution from python.org
+ 2
Thanks a lot Sonic
+ 1
Parampreet Rai Then we would have to put semicolon in python also
- 1
No . phython and Java are totally different
- 1
Java and C are totally different than python and python is easy to learn.