Archives
 
 
 
  Special
 
 
 
  About Us
 
 
 

Newsletter
Free E-mail Newsletter from BYTE.com

 
    
           
Visit the home page Browse the four-year online archive Download platform-neutral CPU/FPU benchmarks Find information for advertisers, authors, vendors, subscribers Request free information on products written about or advertised in BYTE Submit a press release, or scan recent announcements Talk with BYTE's staff and readers about products and technologies

ArticlesDouble-Edged Sword?


December 1997 / BYTE Hardware Lab Report / Double-Edged Sword?

The current crop of NC1s rely on older networking protocols, such as the X Window System and remote sessions to Windows NT, for most of their functionality. Most of the NC1s we tested had Java compilers, where everything runs through a totally interpreted Java virtual machine (VM). Yet the vendors of these NC1s tout as their systems' biggest benefit today the ability to run ICA protocols and multiuser Windows applications. Some NC1 vendors even say that Java would be best served running on a full-fledged PC.

Arguably, Java is far from perfect. But do its disadvantages outweigh its pluses? One of the primary responsibilities of the Java V M is to interpret incoming code into the native machine language. This allo ws the same Java applet to be shared by different hardware without being recompiled for each platform.

This approach presents the usual performance problems. For example, the first time you import an object into the Java VM, it gets interpreted. As a result, it's slow. However, future calls made to that object are much faster, since it's then in memory.

In addition, the Java VM was designed without a permanent file system. For temporary storage it uses cache, which gets cleared out when it's not regularly used. Applications in the Java VM are restricted from making I/O calls. On the upside, this might provide some security advantages because it allows you to run applications in a protected environment. It's also useful if you download virus-prone programs from the Internet. The disadvantage is that it requires you to reload all applications into the Java VM each time you boot up. Although Java cross-platform compatibility now comes at the expense of performance, just-in-time (JIT) compilers and Java chips are expected to make serious inroads within the next year and could narrow the gap.


Up to the BYTE Hardware Lab Report section contentsGo to previous article: Go to next article: Test ResultsSearchSend a comment on this articleSubscribe to BYTE or BYTE on CD-ROM  
Flexible C++
Matthew Wilson
My approach to software engineering is far more pragmatic than it is theoretical--and no language better exemplifies this than C++.

more...

BYTE Digest

BYTE Digest editors every month analyze and evaluate the best articles from Information Week, EE Times, Dr. Dobb's Journal, Network Computing, Sys Admin, and dozens of other CMP publications—bringing you critical news and information about wireless communication, computer security, software development, embedded systems, and more!

Find out more

BYTE.com Store

BYTE CD-ROM
NOW, on one CD-ROM, you can instantly access more than 8 years of BYTE.
 
The Best of BYTE Volume 1: Programming Languages
The Best of BYTE
Volume 1: Programming Languages
In this issue of Best of BYTE, we bring together some of the leading programming language designers and implementors...

Copyright © 2005 CMP Media LLC, Privacy Policy, Your California Privacy rights, Terms of Service
Site comments: webmaster@byte.com
SDMG Web Sites: BYTE.com, C/C++ Users Journal, Dr. Dobb's Journal, MSDN Magazine, New Architect, SD Expo, SD Magazine, Sys Admin, The Perl Journal, UnixReview.com, Windows Developer Network