I started working with java from 1997 till to date it is very difficult to keep track new developments in java until you do most of your development work. Now i think i know most of the new developments going around in java. Comparing java with python 1.comparison can be done in terms of programming languages. Python is very easy to learn Java too , if you know C++. Nowdays best programming language is not based on any benchmarking or performance it is based on who is behind it, who is promoting it.
James Gosling comments on python ?
Click here
Bill Venners: That’s interesting, because the next thing I was going to ask about was weak typing and Python. Have you ever done anything with Python?
James Gosling: A little bit. Things like Python can be pretty nice. One of the issues with weak typing systems is they tend to be very hard to get them up to really high performance. In a lot of systems, for example, when integers overflow, they turn into doubles or big ints, or whatever. That means that adding a number together is not just an add instruction. It’s: “Gee, are these guys both integers? Okay. Then I guess I can do an add. Let’s get the integers. Oh, but this guy’s a bigger number than that.
So an add isn’t one instruction any more. I cared pretty deeply that a = b + c should almost always be compiled into one instruction on just about any architecture. And you look at any of the JITs today and they pretty much do that. a, b, and c get optimized in the registers. And that’s what it is most of these days. So you pay an awful lot for weak typing.
0 responses so far ↓
There are no comments yet...Kick things off by filling out the form below.
Leave a Comment