请输入您要查询的百科知识:

 

词条 Object-oriented operating system
释义

  1. Background

  2. Examples

  3. See also

  4. References

  5. External links

{{short description|operating system}}{{Multiple issues|{{refimprove|date=December 2012}}{{original research|date=November 2009}}
}}

An object-oriented operating system[1] is an operating system that uses object-oriented design principles.

An object-oriented operating system is in contrast to an object-oriented user interface or programming framework, which can be run atop a non-object-oriented operating system like DOS or Unix.

There are already object-based language concepts involved in the design of a more typical operating system such as Unix. While a more traditional language like C does not support object-orientation as fluidly as more recent languages, the notion of, for example, a file, stream, or device driver (in Unix, each represented as a file descriptor) can be considered a good example of objects. They are, after all, abstract data types, with various methods in the form of system calls whose behavior varies based on the type of object and whose implementation details are hidden from the caller.

Object-orientation has been defined as objects + inheritance, and inheritance is only one approach to the more general problem of delegation that occurs in every operating system.[1] Object-orientation has been more widely used in the user interfaces of operating systems than in their kernels.

Background

An object is an instance of a class, which provides a certain set of functionalities. Two objects can be differentiated based on the functionalities (or methods) they support. In an operating system context, objects are associated with a resource. Historically, the object-oriented design principles were used in operating systems to provide several protection mechanisms.[2]

Protection mechanisms in an operating system help in providing a clear separation between different user programs. It also protects the operating system from any malicious user program behavior. For example, consider the case of user profiles in an operating system. The user should not have access to resources of another user. The object model deals with these protection issues with each resource acting as an object. Every object can perform only a set of operations. In the context of user profiles, the set of operations is limited by privilege level of a user.[2]

Present-day operating systems use object-oriented design principles for many components of the system, which includes protection.

Examples

Athene

Athene[3] was an object-based operating system first released in 2000 by Rocklyte Systems.[4] The user environment was constructed entirely from objects that are linked together at runtime. Applications for Athene could also be created using this methodology and were commonly scripted using the object scripting language Dynamic Markup Language (DML). Objects could have been shared between processes by creating them in shared memory and locking them as needed for access. Athene's object framework was multi-platform, allowing it to be used in Windows and Linux environments for the development of object-oriented programs. The company went defunct and the project abandoned sometime in 2009.

BeOS

One attempt at creating a truly object-oriented operating system was the BeOS[5] of the mid 1990s, which used objects and the C++ language for the application programming interface (API). But the kernel itself was written in C with C++ wrappers in user space. The system did not become mainstream and proved commercially unviable. Now it is being used and developed by a small group of enthusiasts.

Choices

Choices[6][7] is an object-oriented operating system that was developed at the University of Illinois at Urbana–Champaign. It is written in C++ and uses objects to represent core kernel components like the central processing unit (CPU), processes and so on. Inheritance is used to separate the kernel into portable machine-independent classes and small non-portable dependent classes. Choices has been ported to and runs on SPARC, x86, and ARM.

GEOS

PC/GEOS is a light-weighted object-oriented multitasking graphical operating system with sophisticated window and desktop management featuring scalable fonts. It is mostly written in an object-oriented x86 assembly language dialect and some C/C++ and is designed to run atop DOS (similar to Microsoft Windows up to Windows Me). GEOS was originally developed by Berkeley Softworks in 1990, which later became GeoWorks Corporation, and it is continued to be maintained by BreadBox Computer Company. Related software suites were named Ensemble and New Deal Office. Adaptations exist for various palmtops, and 32-bit systems with non-x86-CPUs.

Haiku

After the discontinuation of BeOS, an effort to create an open-source replacement began. Haiku (originally named OpenBeOS) reached its first milestone in September 2009 with the release of Haiku R1/Alpha 1. The x86 distribution is compatible with BeOS at both source and binary level. Like BeOS, it is written primarily in C++ and provides an object-oriented API. It is actively developed.

IBM i (OS/400, i5/OS)

IBM introduced OS/400 in 1988. This OS ran exclusively on the AS/400 platform. Renamed IBM i in 2008, this operating system and runs exclusively on Power Systems which also can run AIX and Linux. IBM i uses an object-oriented methodology and integrates a database (DB2 for i). The IBM i OS has a 128-bit unique identifier for each object.

IBM OS/2 2.0

IBM's first priority based pre-emptive multitasking, graphical, windows-based operating system included an object-oriented user shell. It was designed for the Intel 80386 that used virtual 8086 mode with full 32-bit support and was released in 1992. A new OS/2 based operating system called Blue Lion[8] is being developed by Arca Noae which is planned to be released in the first quarter of 2017.

IBM TopView

TopView was an object-oriented operating environment that loaded on a PC atop DOS, and then took control from DOS. At that point it effectively became an object-oriented operating system with an object-oriented API (TopView API). It was IBM's first multi-tasking, window based, object-oriented operating system for the PC led by David C. Morrill and released in February 1985.

Java-based

Given that Oracle's (formerly Sun Microsystems') Java is today one of the most dominant object-oriented languages, it is no surprise that Java-based operating systems have been attempted. In this area, ideally, the kernel would consist of the bare minimum needed to support a Java virtual machine (JVM). This is the only component of such an operating system that would have to be written in a language other than Java. Built on the JVM and basic hardware support, it would be possible to write the rest of the operating system in Java; even parts of the system that are more traditionally written in a lower-level language such as C, for example device drivers, can be written in Java.

Examples of attempts at such an operating system include JavaOS, JOS,[9] JNode, and JX.

Lisp-based

An object-oriented operating systems written in the Lisp dialect Lisp Machine Lisp (and later Common Lisp) has been developed at MIT. It was commercialized with Lisp Machines from Symbolics, Lisp Machines Inc. and Texas Instruments. Symbolics called their operating system Genera. It was developed using the Flavors object-oriented extension of Lisp. Later then in New Flavors and then using the Common Lisp Object System.

Xerox developed several workstations with an operating system written in Interlisp-D. Interlisp-D provided object-oriented extensions like LOOPS and the Common Lisp Object System.

Movitz and [https://github.com/froggey/Mezzano Mezzano] are two more recent attempts at operating systems written in Common Lisp.

Microsoft Singularity

Singularity is an experimental operating system based on Microsoft's .NET Framework. It is comparable to Java-based operating systems.

Microsoft Windows NT

Windows NT is a family of operating systems (including Windows, 7, 8, Phone 8, 8.1, Windows 10, Xbox) produced by Microsoft, the first version of which was released in July 1993. It is a high-level programming language-based, processor-independent, multiprocessing, multi-user operating system. It is best described as object-based rather than object-oriented as it does not include the full inheritance properties of object-oriented languages.[10]

The Object Manager is in charge of managing NT objects. As part of this responsibility, it maintains an internal namespace where various operating system components, device drivers and Win32 programs can store and lookup objects. The NT Native API provides routines that allow user space (mode) programs to browse the namespace and query the status of objects located there, but the interfaces are undocumented.[11] NT supports per-object (file, function, and role) access control lists allowing a rich set of security permissions to be applied to systems and services. WinObj is a Windows NT program that uses the NT Native API (provided by NTDLL.DLL) to access and display information on the NT Object Manager's name space.[12]

; Component Object Model

On the user mode side of Windows, the Component Object Model (COM) is an application binary interface standard for software components introduced by Microsoft in 1993. It is used to enable interprocess communication and dynamic object creation in a large range of programming languages. COM is the basis for several other Microsoft technologies and frameworks, including Object Linking and Embedding (OLE), OLE Automation, ActiveX, COM+, Distributed Component Object Model (DCOM), the Windows shell, DirectX, and Windows Runtime. OLE is a proprietary technology developed by Microsoft that allows embedding and linking to documents and other objects. On a technical level, an OLE object is any object that implements the IOleObject interface, possibly along with a wide range of other interfaces, depending on the object's needs. Its primary use is for managing compound documents, but it is also used for transferring data between different applications using drag and drop and clipboard operations.

; Compound File Binary Format

Compound File Binary Format (CFBF) is a file format for storing many files and streams within one file on a disk. CFBF is developed by Microsoft and is an implementation of Microsoft COM Structured Storage. Structured storage is widely used as main file format in Microsoft Office applications including Microsoft Word, Microsoft Excel, Microsoft Powerpoint, Microsoft Access and is the basis of Advanced Authoring Format.

; Object Linking and Embedding

Object Linking and Embedding (OLE) was part of a grander plan named Cairo, the code name for a project at Microsoft from 1991 to 1996. Its charter was to build technologies for a next generation operating system that would fulfill Bill Gates' vision of "information at your fingertips".[13][14] Cairo never shipped, although portions of its technologies have since appeared in other products. The Windows 95 user interface was based on the initial design work that was done on the Cairo user interface. The remaining component is the object-based file system. It was once planned to be implemented in the form of WinFS as part of Windows Vista. WinFS (short for Windows Future Storage) is the code name for data storage and management system project based on relational databases, running atop NTFS. The Windows NT file system NTFS is object-oriented in the sense that it can store the NT objects including its NT object identifier. Each NTFS object has an object identifier; a shortcut with a target that's on an NTFS volume also records the object identifier of the shortcut target, as well as the object identifier of the drive itself.[15] WinFS was first demonstrated in 2003 as an advanced storage subsystem for the Microsoft Windows operating system, designed for persistence and management of structured, semi-structured as well as unstructured data. The development of WinFS was cancelled in June 2006, with some of its technologies merged into other Microsoft products such as Microsoft SQL Server 2008 and Microsoft SharePoint. It was subsequently confirmed in an interview with Bill Gates that Microsoft planned to migrate applications like Windows Media Player, Windows Photo Gallery, Microsoft Office Outlook, etc. to use WinFS as the data storage back-end.[16]

NeXTSTEP

During the late 1980s, Steve Jobs formed the computer company NeXT. One of NeXT's first tasks was to design an object-oriented operating system, NeXTSTEP. They did this by adding an object-oriented framework atop Mach and BSD using the Objective-C language as a basis. It achieved a niche status in the computing market, notably used by Tim Berners-Lee developing the first implementation of the World Wide Web.

NeXTStep later evolved into OpenStep and the Cocoa API on Mac OS X and iOS.

OpenStep was provided as an API layer atop many operating systems, namely HP-UX, NextStep, Solaris, and Windows.

OOSMOS

The Object-Oriented State Machine Operating System (OOSMOS), written in C, promotes object-oriented encapsulation and implements a full table-driven hierarchical state machine architecture. Generates C code directly from state charts drawn with the open source tool UMLet. OOSMOS also supports a unique feature call 'state threads' which allows a thread of execution per state. OOSMOS operates on a bare board or in cooperation with an existing operating system.

ReactOS

ReactOS is an open-source computer operating system intended to be binary compatible with application software and device drivers made for Microsoft Windows NT versions. Written from scratch, it aims to follow the architecture of Windows NT designed by Microsoft from the hardware level right through to the application level. This is not a Linux-based system, and shares none of the unix architecture.[17][18]

Self

Self (programming language) was invented at Xerox PARC. It was then developed at Stanford University and Sun Microsystems.

Smalltalk

Smalltalk was invented at Xerox in the 1970s. The Smalltalk system is fully object-oriented and needs very little support by BIOS and the run-time system.

Syllable

Syllable makes heavy use of C++ and for that reason is often compared to BeOS.

Symbolics Genera

Genera from Symbolics is an operating system for Lisp machines written in ZetaLisp and Symbolics Common Lisp. It makes heavy use of Flavors (an early object-oriented extension to Lisp) and the Common Lisp Object System (CLOS). The development started in the mid 70s at MIT.

Taligent

Taligent was an object-oriented operating system project, started by Apple Inc. and jointly developed with IBM in the 1990s. It was later spun off to an IBM subsidiary and transformed from an operating system to a programming environment.

See also

  • operating system
  • object-oriented design
  • object-oriented programming
  • Plan 9 from Bell Labs

References

1. ^{{cite journal|last1=Wegner|first1=Peter|title=Dimensions of Object-based Language Design|journal=Conference Proceedings on Object-oriented Programming Systems, Languages and Applications|date=1 January 1987|pages=168–182|doi=10.1145/38765.38823|url=http://dl.acm.org/citation.cfm?id=38823|publisher=ACM}}
2. ^{{cite journal|last1=Pashtan|first1=Ariel|title=Object Oriented Operating Systems: An Emerging Design Methodology|journal=Proceedings of the ACM '82 Conference|date=1 January 1982|pages=126–131|doi=10.1145/800174.809777|url=http://dl.acm.org/citation.cfm?id=809777|publisher=ACM}}
3. ^{{cite web|title=The Athene Operating System [LWN.net]|url=https://lwn.net/Articles/102230/|website=lwn.net|accessdate=13 February 2017}}
4. ^{{cite web|title=Rocklyte Systems|url=http://www.rocklyte.com/|website=www.rocklyte.com}}
5. ^{{cite book|last1=Sydow|first1=Dan Parks|title=Programming the Be operating system|date=1999|publisher=O'Reilly|location=Beijing|isbn=978-1-56592-467-3|edition=1st}}
6. ^{{cite journal|last1=Campbell|first1=Roy|last2=Johnston|first2=Garry|last3=Russo|first3=Vincent|title=Choices (Class Hierarchical Open Interface for Custom Embedded Systems)|journal=SIGOPS Oper. Syst. Rev.|date=1 July 1987|volume=21|issue=3|pages=9–17|doi=10.1145/29321.29323|url=http://dl.acm.org/citation.cfm?id=29323|issn=0163-5980}}
7. ^{{cite web|title=Choices|url=http://choices.cs.illinois.edu/index.html|website=choices.cs.illinois.edu}}
8. ^{{Cite news|url=https://www.arcanoae.com/blue-lion/|title=Blue Lion, by Arca Noae|newspaper=Arca Noae|access-date=2017-02-18|language=en-US}}
9. ^{{cite web | url = http://jos.sourceforge.net/about.html | title = About | author = | authorlink = | date = | publisher = JOS (A Free Java-Based Operating System) | quote = The JOS Project is a collaborative undertaking by an international group of Java™ programmers and enthusiasts aimed at the creation of a free and open Java™ based Operating System (JOS). As a collaborative effort, we work together to research how a Java-based operating system should work. Together, we work to build components for a Java-based operating system. | accessdate = 2012-09-03}}
10. ^{{Cite web|title=Object-Based|url=https://msdn.microsoft.com/en-us/library/windows/hardware/ff557751(v=vs.85).aspx|publisher=Microsoft Hardware Development Centre|accessdate=Aug 23, 2015}}
11. ^{{cite book | last = Nebbett | first = Gary | date = February 20, 2000 | title = Windows NT/2000 Native API Reference | url = | location = | publisher = Sams Publishing | page = 528 | isbn = 978-1578701995 | quote = The Windows NT/2000 Native API Reference provides the first comprehensive look at these undocumented services. A unique tool for software developers, this reference includes documentation of over 200 routines included in the native API, detailed description of routines that are either not directly accessible via the Win32 API, or that offer substantial additional functionality.}}
12. ^{{cite web | url = https://technet.microsoft.com/en-us/sysinternals/bb896657.aspx | title = Windows Sysinternals WinObj | author = Mark Russinovich | authorlink = | date = | publisher = Microsoft | quote = Obj is a must-have tool if you are a system administrator concerned about security, a developer tracking down object-related problems, or just curious about the Object Manager namespace. | accessdate = 2014-05-16}}
13. ^{{cite web | url = https://www.youtube.com/watch?v=kL8zoQVJaD8 | title = "Information at Your Fingertips" Keynote - Comdex/Fall 1990 | author = Bill Gates | authorlink = | date = 1990 | publisher = Microsoft | quote = Bill Gates delivered on November 12, 1990 his famous Keynote titled "Information at Your Fingertips" | accessdate = 2014-05-16}}
14. ^{{cite web | url = https://www.youtube.com/watch?v=o0O0Xjpjvfc | title = "Information at Your Fingertips" #2 Keynote (The Road Ahead) - Comdex 1994 | author = Bill Gates | authorlink = | date = 1994 | publisher = Microsoft | quote = Bill Gates' "Information At Your Fingertips" keynote speech for Comdex 1995 became the basis for his book The Road Ahead, predicting the next decade in technology - right and wrong. These predictions are enlivened by the interaction between Gates speaking and a made-for-Comdex future crime show. | accessdate = 2014-05-16}}
15. ^{{cite web | url = https://technet.microsoft.com/de-at/magazine/2009.10.windowsconfidential.aspx | title = Windows Confidential - The NT Way (excerpts from "The Old New Thing" book) | author = Raymond Chen | authorlink = | date = 2007 | publisher = Microsoft | quote = The Windows NT file system folks looked at the Windows 95 shortcut resolution algorithm and scoffed. " We can do better than that: We're object-oriented!" Each NTFS object has an object identifier; a shortcut with a target that's on an NTFS volume also records the object identifier of the shortcut target, as well as the object identifier of the drive itself. | accessdate = 2014-05-16}}
16. ^{{cite web|author=Daniel Kornev|url=http://channel9.msdn.com/ShowPost.aspx?PostID=267149|title=A few words about WinFS: The project is back on track|publisher=Channel 9|date=December 19, 2006}}
17. ^{{cite web | url = http://reactos.org | title = About ReactOS - Object Based | author = Klemens Friedl | authorlink = | date = | publisher = ReactOS Project | quote = ReactOS uses an object metaphor that is pervasive throughout the architecture of the system. Not only are all of the things in the UNIX file metaphor viewed as objects by ReactOS, but so are things such as processes and threads, shared memory segments, the global registry database and even access rights. | accessdate = 2017-02-19}}
18. ^Filby, J. "ReactOS: An open-source alternative to NT?." IEEE SOFTWARE 16.1 (1999): 35-35.

External links

  • Apertos
  • Choices
  • Hermes, former IBM project
  • [https://www.oosmos.com/ OOSMOS]
  • Rebol aspirations to displace the OS with the language environment itself
{{Operating system}}{{DEFAULTSORT:Object-Oriented Operating System}}

3 : Object-oriented programming|Object-oriented operating systems|Operating system technology

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/12 0:51:01