Miscellaneous I
2^31 1 = 2 * 2^30 1 = 2 * 1 GB 1 = 2 GB
One of the interesting features of Java, is you could run the code with 64 bit
addresses, and nothing would need to change in either the source code or the class
files. The only difference would be you could hold a lot more objects and stack
frames before you blew virtual RAM.
Obviously you would need a different JVM or Hotspot.
Java never lets you discover how big references really are inside or how they are
implemented, e.g. as pointers or as handles, or even the granularity of the
addressibility of your machine.
On a 32 bit OS it is a liitle hard to get 32+ bit memory space. How about you try a
64 bit Solaris 8?
answered by Michiel,
Roedy Green, JAVA GLOSSARY see http://www.mindprod.com/jgloss.html
and Johnny Bravo
Q: How can I format a diskette using Java? And, what s the way to get the
diskette s size?
Answer: As far as I know: no. Formatting a disk is strongly system dependant, so you
can hardly do this with java.
You *can* however start a new process, have it open a shell or any other kind of
command processor your particular operating system uses, and issue the format
command.
> And, what s the way to get the
> diskette s size?
Again system dependant.
Ansgar W. Konermann
Q: I am a 17 year old in the JDK version 1.1 . Is it worth upgrading and getting a
later package, and learning swing?
If so, why?
Answer: Yes.
Java 1.3 provides many performance improvements and library additions which will
make your life as a programmer easier.
Swing is "better" than the AWT in that because it is mostly written in Java it has the
advantage of the same look and feel across different platforms (which the AWT was
crap at). The reference of the other learned poster to a mainframe is the common
argument that Swing is slow. This _is_ true, however only if you build large
applications and I doubt that at the moment you will.
In the future you also have the option of compiling your Swing classes to native code
(viewed as a venerable evil by some some, but a practical solution by others) or
performing other oprtimisation tricks that will see your GUI apps not only looking
great and being cross platform, but also performing well.
It s what we call in the trade a no brainer. Time to get Swinging young chap.
file:///F|/a_jsite/350_tips/miscellaneous I.htm (7 of 10) [2001 07 08 11:24:56]
footer
Visionwebhosting.net Business web hosting division of Web
Design Plus. All rights reserved