From: graham at sloth.math.uga.edu (Graham Matthews)
Date: 28 May 1999 21:21:18 GMT
Subject: Python 2.0
References: <7ik6mi$lbk$1@cronkite.cc.uga.edu> <7imr6b$1s0$1@nnrp1.deja.com>
Message-ID: <7in1ce$o51$2@cronkite.cc.uga.edu>
Content-Length: 1887
X-UID: 1873                                                 

Graham Matthews:
: > true compilation, the
Vadim Chugunov (chega at my-deja.com) wrote:
: Why would JVM generate a better code than Py2C does?  

Sure one can use Py2C. But with Java you get dynamic compilation of
all your code with no need to use some auxiliary program like Py2C.
cf. HotSpot.

Graham Matthews:
: > ability to write statically typed code (just write that part in
: > Java!),
Vadim Chugunov (chega at my-deja.com) wrote:
: Just write that part in C !

Techically you are correct that C is statically typed. But my post
clearly implies that I am interested in strong static typing. That
is type systems that ensure that code cannot have type errors at 
runtime. You cannot do this in C. You can't quite do it in Java yet
either, but I am confident that will be so in the future via the
facilities for parametic polymorphism.

Graham Matthews:
: > access to Swing, promoting Python on the coat-tails of Java
Vadim Chugunov (chega at my-deja.com) wrote:
: What makes Swing to be better than any of the existing Python GUI
: bindings ?

Have you ever used Swing for anything? It is much cleaner that Tkinter
for example. It has a huge range of widgets, etc -- much more than
other toolkits. etc. etc. Sure there are bugs etc but Java is a new
product. Give it a few years and they will have gone away.

Graham Matthews:
: > (free publicity and hype), etc.
Vadim Chugunov (chega at my-deja.com) wrote:
: Yeah. Right. Let's rewrite everything using the hottest
: language of the day!  ;-)

At this point it's the end of the thread for me. I was making a
serious suggestion that Python's use could be improved by pig
backing off the hype for Python. And you ...

graham
-- 
                      Je suis pour le communisme
                      Je suis pour le socialisme
                      Je suis pour le capitalisme
                     Parce que je suis opportuniste




