[307] in java-interest
Re: Java vs Python
daemon@ATHENA.MIT.EDU (George Reynolds)
Wed Jun 14 09:46:26 1995
Date: Wed, 14 Jun 1995 09:21:39 -0400
From: George Reynolds <george@dvcorp.com>
To: cman@communities.com
Cc: java-interest@java.Eng.Sun.COM
>> > ...
>> > The test
>> > exercises method calls (get and set) and object creation.
>> >
>> > In every case python comes in at 200000/sec. Would someone
>> > setup the same script in Java so we could do a reasonable
>> > comparison?
>> >
>> > [...]
>> >
>> > [performance figures deleted]
>>
>> All this is very interesting, but you neglect to mention
>> anything like what hardware you're running this on, which makes it
>> kind of hard to compare your numbers to anything.
>>
[Blush....] Sorry about that. Its on a Sparc 5 running SunOS with 64 meg.
>> Also, I'm curious how Python deals with issues of untrusted code.
>> I don't recall reading anything about this.
>>
Security is in the process of being added. It may be in Python 1.2
(I havent checked) already.
>> As for VHLL features, I don't think this was one of the goals of
>> Java, but I'll leave that question to the Sun people. There are
>> certainly some features that seem to be lacking, but I suspect
>> that this is because these features are difficult to implement
>> in a secure way.
>>
>> I can vouch that Java _is_ extensible, as we did some simple
>> crypto wrappers over the weekend. The process could be a little
>> better documented, and I'm in the process of trying to reproduce
>> what looks like a bug we found, but it's a fairly solid process.
>> My only real concern stems from the fact that extensions leverage shared
>> libraries, which are implemented in N different ways on any given
>> N platforms.
>>
Was you extension to an existing C or C++ lib?
Thanks
George
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com