473,725 Members | 2,243 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Does Python compete with Java?

kk
I read this mailing list fairly often, and I am always amazed at what
I learn (even not related to Python). I am relatively new to Python.
I make my living developing mostly in Java. Python was a "discovery"
I made a couple of years ago, and I love the language, but only get to
use it at home for hobbies.

With all the recent news:
- ESR tells Sun to open Java, or be relegated into obscurity by
Python, Ruby, and Perl.
- Project mono (C# compiler) is touted to be the next great thing in
Linux, and will be the dominate language. (by it's creator, of
coarse).
- This past weekend, Sun signs deal with devil (oops... Microsoft).
Now Java "openness" seems to have taken a very large step backwards!

I'd like to know if you guys think Python really has a chance to
compete with Java, .NET, and any other commercially backed language.

The reason I ask is I think it is important to have a "popular"
well-supported Open Source language to compete with the big players.
PHP seems to have some momentum in popularity, but I much prefer
Python as a language. Python has much to offer over Java, VB, etc...
Maybe the best chance it has is to ride on the coat-tails of .NET
(Python.NET) and the JVM (Jython). Interested to hear your comments.
Jul 18 '05
18 1977
Harald Massa wrote:
Roy Smith <ro*@panix.co m> wrote in news:roy-094613.21022405 042004
@reader1.panix. com:
http://www-users.cs.york.ac.uk/~susan/joke/foot.htm

They don't have one for Python, but I expect it would be something like
this:


I think the most common solution is:
How to Shoot Yourself In the Foot


Python
you discover that Guido used his time machine to shoot you in the foot
years ago


My experience:

Post to comp.lang.pytho n:

"I'm looking for a good scripting language, and Python's got some great
features, but that syntactically-relevant whitespace thing just seems wrong..."

Replies:

"Don't worry about it, in practice you'll see that you write code that way
anyway and it's very natural..."

Me:

"I don't know..."

[Wanders off for a few months. Returns.]

"Python rules! Best scripting language EVAR!"

--
Chris Herborth ch****@cryptoca rd.com
Documentation Overlord, CRYPTOCard Corp. http://www.cryptocard.com/
Never send a monster to do the work of an evil scientist.
Postatem obscuri lateris nescitis.
Jul 18 '05 #11
Chris Herborth <ch****@cryptoc ard.com> writes:
One of Python's most awesome features (IMHO at least) is that you can
fire up an interactive interpreter while you're writing your code, and
try things out as you go... using this technique, I've unit tested
methods and algorithms interactively and ended up with useful,
non-trivial applications that run and work properly the first time.
With compiled languages (Java, C#, C++), I find I'm writing a bit of ^^^^^^^^^^^^^^^ ^^^^^^^^ code, taking a break to compile it, figuring out how to unit test the
method... Python saves me a huge amount of time in the prototype and
development cycles.


Please note that this has nothing to do with compilation per-se. There
are languages with to-native-binary compilers which give you all the
instant turnaround flexibility that Python does.

Indeed, there are even some development environments for the languages
you mention which try to provide a similar experience.
Jul 18 '05 #12
Chris Herborth <ch****@cryptoc ard.com> writes:
With compiled languages (Java, C#, C++), I find I'm writing a bit of
code, taking a break to compile it, figuring out how to unit test the
method... Python saves me a huge amount of time in the prototype and
development cycles.

Jacek Generowicz <ja************ **@cern.ch> wrote: Please note that this has nothing to do with compilation per-se. There
are languages with to-native-binary compilers which give you all the
instant turnaround flexibility that Python does.


Even more interesting is the fact that Java and Python both have very
similar architectures (similar enough, in fact, that things like Jython
are possible). Both compile your source code text into an intermediate
"byte code" form, and both then run this intermediate form on a virtual
machine.

The difference is that Java exposes the compilation step to the user
while Python hides it. If you really wanted to, you could hack up a
"Python compiler" which takes .py files, imports them to force
generation of the corresponding .pyc files, and then exits without
executing anything. You could then execute the .pyc files in a distinct
"execute phase". Not sure why you would want to do that, though :-)
Jul 18 '05 #13
Roy Smith wrote:
The difference is that Java exposes the compilation step to the user
while Python hides it. If you really wanted to, you could hack up a
"Python compiler" which takes .py files, imports them to force
generation of the corresponding .pyc files, and then exits without
executing anything. You could then execute the .pyc files in a distinct
"execute phase". Not sure why you would want to do that, though :-)


python -c "import py_compile as p; p.compile('mymo dule.py')"
Jul 18 '05 #14
Greg Ewing <gr**@cosc.cant erbury.ac.nz> wrote in message news:<c4******* ******@ID-169208.news.uni-berlin.de>...

I think it's a *good* thing. Python is succeeding very well
by just existing and actually being well designed and useful,
as opposed to having a large company's marketing machine trying
to tell everyone that it is.


Very true. In addition, I think python will gain a lot of
"mind-share" as more and more popular applications are written in
python.
Jul 18 '05 #15
> instance. Also, can "and", "or", "not" etc. be overloaded?

No one has said it yet, so here's my advice, check the operator module
for names you should call your 'overloaded' operators, the ones with
__name__ are ones that can be 'overloaded'.
http://www.python.org/doc/current/li...-operator.html

- Josiah
Jul 18 '05 #16
kk
I was responding to your point made earlier.

I was the one that started the thread, look again.

Peter Hansen <pe***@engcorp. com> wrote in message news:<5K******* *************@p owergate.ca>...
kk wrote:
That is exactly my point!


Uh, sorry, but what point? The email address and initials you
are using here (kk********@yah oo.com and kk) have not posted
before in this thread, as far as I can see. So who are you? :-)

-Peter

Jul 18 '05 #17
kk wrote:

Peter Hansen <pe***@engcorp. com> wrote:
kk wrote:
That is exactly my point!
Uh, sorry, but what point? The email address and initials you
are using here (kk********@yah oo.com and kk) have not posted
before in this thread, as far as I can see. So who are you? :-)

I was responding to your point made earlier.

I was the one that started the thread, look again.


Ah, thanks. Mozilla had dropped the earlier messages, but Google
Groups helped me out.

And yes, I see that that was exactly your point. :-)

-Peter
Jul 18 '05 #18
> I would hope that someday Python would be a "tool" that "most"
developers would want to have in their "tool box".


The day "most" developers use Python is the day it stops being a
competitive advantage. ;)

Seriously, if you are starting a company with a good product idea in
mind, Python would be an excelent choice to get you going. (Wasn't a
certain search engine company started that way?)

-Ruben
Jul 18 '05 #19

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2508
by: Stephen Ferg | last post by:
Seen in the Wall Street Journal, Monday, July 21, 2003, page B1. Lee Gomes' "Portals" technology column: "Two Men, Two Ways to Speak Computerese and Two Big Successes". This is a brief, non-technical story on Guido von Rossum, inventor of Python, and Larry Wall, inventor of Perl. I don't think this is available online unless you are a paid subscriber to the WSJ online edition. So here are a few quick quotes
220
19093
by: Brandon J. Van Every | last post by:
What's better about Ruby than Python? I'm sure there's something. What is it? This is not a troll. I'm language shopping and I want people's answers. I don't know beans about Ruby or have any preconceived ideas about it. I have noticed, however, that every programmer I talk to who's aware of Python is also talking about Ruby. So it seems that Ruby has the potential to compete with and displace Python. I'm curious on what basis it...
9
2421
by: limor | last post by:
Hi, I am considering using Python in a new testing tool application we intend to build for out product. I must get references before starting develope in this language , since although lots of good things are said about this language , I still have my doubts how can it compete with languages like C++ and Java. I have found te sytax and some features if the language not as problematic in maintenance prospective (although I keep reading...
1
1239
by: John J Lee | last post by:
QOTW: "The site that I worked on spent TWO MILLION U.S. DOLLARS on its web server hardware. OK, it used Java servlets that are even slower than Python, but you have to understand that there's a point after which you can no longer pretend that hardware is free." -- Paul Rubin "Monte Carlo sampling is no way to understand code." -- Gordon McMillan Martin v. Loewis clarifies what entities might "compete" with Python...
7
3597
by: Michael Scarlett | last post by:
I was just thinking that we should get a new icon for Python. Its such an amzing effective language, and I know it sounds silly, but I can't help but think that one of the reasons it hasn't surpassed JAVA or at least taken more seriouly than it is now - is because of the dorky looking .py icon. We need a icon that reflects python. Robust, flexible and Effective. Something that says "we get the job done right and the code is tight". Eat...
114
9864
by: Maurice LING | last post by:
This may be a dumb thing to ask, but besides the penalty for dynamic typing, is there any other real reasons that Python is slower than Java? maurice
13
1382
by: Eric Pederson | last post by:
Raise your hand if you think the best technology wins! For those of you with your hands in the air, tell me: if Python is so good,why has PHP achieved such greater adoption and mindshare? Why do web scripters still cling to their Perl, even in corporate environments? Why hasn't Python made inroads against Java? Why is Ruby, and Ruby on Rails, getting such strong play? Are these better programming languages, or is it other factors? ...
122
7880
by: seberino | last post by:
I'm interested in knowing which Python web framework is most like Ruby on Rails. I've heard of Subway and Django. Are there other Rails clones in Python land I don't know about? Which one has largest community/buzz about it?
71
3325
by: Jack | last post by:
I understand that the standard Python distribution is considered the C-Python. Howerver, the current C-Python is really a combination of C and Python implementation. There are about 2000 Python files included in the Windows version of Python distribution. I'm not sure how much of the C-Python is implemented in C but I think the more modules implemented in C, the better performance and lower memory footprint it will get. I wonder if it's...
0
8889
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9401
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9257
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9179
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8099
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6702
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6011
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4519
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3228
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.