Can python compete with java.... to develop softwares and apps
i am much interested in Python .... just wanna know if python lacks any abilites..
Can python be compared with C++/Java
Started by arxh, Jul 25 2010 02:11 AM
8 replies to this topic
#1
Posted 25 July 2010 - 02:11 AM
|
|
|
#2
Posted 25 July 2010 - 08:33 AM
#3
Posted 25 July 2010 - 09:06 AM
Python is way more productive than Java in general (dargueta links show that perfectly) . In my opinion, if you want to code something that really needs performance and low level facilities, stick with C or C++, else, go to a high-level productive and intuitive language like Python, Java is not the way to go anymore, programming as reached a new age.
#4
Posted 25 July 2010 - 11:08 AM
Python doesn't have as strong typing as Java though, so in my opinion you can shoot yourself in the foot more easily. Plus the whole space/tab dependency is annoying as hell, and can also get you into trouble.
sudo rm -rf /
#5
Posted 25 July 2010 - 11:13 AM
Python was designed with a very different philosophy. It was designed to reduce programmers pain with a very expressive, readable and plain language. I would say: "C makes easy to shoot yourself in the foot, with Python you don't even need to hurt yourself!" hehehe.
#6
Posted 25 July 2010 - 11:17 AM
You can blow off a leg with C, kill yourself with C++, and shoot yourself in the foot with Python. With Java you'll be banging your head against the wall.
sudo rm -rf /
#7
Posted 25 July 2010 - 04:00 PM
Python is a good choice, but if you want the best of both world, Jython can be used with Python to prototype for Java, and also compile Python into Java bytecode: Jython.
The argument posted on the site is:
Although I just mention this as an extra considerable option.
The argument posted on the site is:
Quote
Differences - Python & Jython
Python:
Python:
- C
- Multi-platform
- Compiles to .pyc
- Extend with C
- GIL 1
- Python Garbage Collection
- 100% Java
- Any JVM (currently 1.1+)
- Compiles to .class
- Extend with Java
- Truly multi-threaded
- Java garbage collection
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
#8
Posted 25 July 2010 - 07:45 PM
DO i need to know java and python both for jython ????
#9
Posted 25 July 2010 - 08:03 PM
Nope, essentially just Python. What I'm getting at is stick with what language you wish to learn and write programs in, there was just a case where you can bridge Python into Java without too much trouble, if you wanted to play with Java but first learn Python.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.


Sign In
Create Account


Back to top









