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

ArticlesComparing Spring


February 1996 / Special Report / Sunsoft'S Object Lesson / Comparing Spring

Spring is unique in many ways, but it's probably most like Mach, the microkernel-based operating system developed at Carnegie Mellon University. There are two main differences. First, Mach's microkernel contains a few more functions than Spring's: process management, virtual memory, interprocess communication, and device drivers. Second, Mach uses ports to communicate between machines. Suppose y ou wanted a remote database. You would use a port, prepare a message for it, send it to the port, and the other end then figures out what to do. In Spring, the other end would have an IDL interface.

The other OS that comes to mind when you say "distributed" is AT&T's Plan 9. But Plan 9 isn't object-oriented. Plan 9's main goal was to extend Unix's concept that "everything is a file." So, in Plan 9, applications talk to everything as though it were a file -- usually using a serial stream (e.g., a pipe or a byte stream).

In Spring, everything is an object, and you talk to every object as its IDL interface describes. In other words, in Spring, you could have an object that represents a person. Consequently, there would be an operation to find out a person's name. In Plan 9, an application would read from a data stream until it found a particular delimiter that the application knew was the start of the name, then read until it found the delimiter that meant the end of the name.


Up to the Special Report section contentsGo to previous article: Comparing SpringGo to next article: Linux MattersSearchSend 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