New proposed features for Java 1.5
started 12/5/2002; 3:08:27 PM - last post 12/6/2002; 3:40:10 PM
|
|
Ehud Lamm - New proposed features for Java 1.5
12/5/2002; 3:08:27 PM (reads: 1132, responses: 4)
|
|
New proposed features for Java 1.5 |
Quite a few additions to the language. Nothing you can't find in other languages, but when it comes to programming languages that's as close as we come to real progress...
Posted to general by Ehud Lamm on 12/5/02; 3:08:51 PM
|
|
|
|
Kimberley Burchett - Re: New proposed features for Java 1.5
12/6/2002; 11:16:41 AM (reads: 707, responses: 0)
|
|
The most useful Java feature for the kind of work I do would be some mechanism that lets you avoid per-object memory overhead. For example, implementing an array of objects as a bunch of parallel arrays, one for each member variable. Or the value object proposals.
Since objects in java currently have 8-12 bytes of overhead (depending on the VM), it restricts my designs pretty severely when designing very large scale systems.
By the way, I wrote up a design for one-byte virtual function pointers, if anybody's interested.
|
|
Patrick Logan - Re: New proposed features for Java 1.5
12/6/2002; 3:34:06 PM (reads: 654, responses: 1)
|
|
(How'd we get two of these discussions?)
|
|
Patrick Logan - Re: New proposed features for Java 1.5
12/6/2002; 3:40:10 PM (reads: 654, responses: 0)
|
|
Very few applications require stack allocated objects or one byte overhead for methods. *Some* do. Most don't, although programmers will tend to think that they do, because, hey, the stack is more efficient than the heap, right?
"Premature optimization is the root of all evil."
Donald Knuth
|
|
Adewale Oshineye - Re: New proposed features for Java 1.5
12/7/2002; 2:05:32 AM (reads: 648, responses: 0)
|
|
Ehud posted a message at the top level so that those people who only read the front page/the RSS newsfeed could see that there was a thread in the discussion group. It's common practice.
|
|
|
|