SkyOS
The SkyOS Logo
DeveloperRobert Szeleney
Working stateBeta
Source modelClosed source
Marketing targetDesktop users
Available inMultilingual
PlatformsX86
Kernel typeMonolithic
LicenseProprietary
Official websitehttp://www.skyos.org/

SkyOS (/skaɪ o s/) is a modern graphical desktop operating system written for the X86 computer architecture. As of March 2008 it is under active development, with just over 1,500 subscribed beta testers.

Technology

edit

thumb|right|200px|SkyOS Beta 4 thumb|right|200px|SkyOS Beta 9 thumb|right|200px|SkyOS Beta 6796

Kernel

edit

SkyOS user space lies on top of a custom, modularized, preemptive-multitasking kernel with support for common features like process and thread isolation, memory management/paging, kernel debugging, low-level locking primitives, and real-time PIC/APIC timers. It is a monolithic kernel, with drivers that are dynamically loaded into kernel space via an extension API.

There are some notable features that distinguish the SkyOS kernel from others. These include:

  • Kernel-mode VESA support, allowing for graphical display immediately upon power-up
  • Architecture abstraction layer, allowing SkyOS to be easily ported to other architectures
  • Advanced CPU support, including Multi-Core/SMP/HyperThreading and all the major x86 extensions
  • Full DMA, ATAPI, and ATA/SATA support (with SATA drivers for several major chipsets)
  • Support for popular buses (including USB)

Contrary to a popular misconception, the kernel is not derived from Linux or any of the various BSDs. It was written entirely by Szeleney over the course of several years, and uses no outside code.[1]

SkyGI

edit

The design of the SkyGI API is loosely based around the concepts of the Qt and Swing windowing toolkits. A core principle of SkyGI is the "view." Every GUI object is derived from the base "view" object, and, as such, all have similar properties and behave in similar ways.[2]

SkyGI has built in support for internationalization and localization, allowing third party developers to easily create multilingual applications that are based around easy to write 'translation' files. The framework also facilitates accessibility by building in support for advanced keyboard navigation.

Native controls can be themed by placing a 'theme' file, syntactically similar to the MSStyles format, in a directory corresponding to the location of the executable. [3]

Components

edit

The SkyOS GUI closely follows the WIMP desktop metaphor used in all modern GUIs. However, there are several major components of the SkyOS GUI that are distinct from other operating systems:

The Panel is the functional equivalent to the task bar in Windows or the dock in Mac OS X. It is used to launch programs and switch between application windows, as well as to display information to the user. Plug-ins allow developers to extend the panel's functionality. Existing plug-ins, for example, have added query-based fast application launching, and have modified the day/night indicator to instead show localized weather information.

The Notifier is a built-in user interface element for alerting the user to any number of things, including application crashes and hardware additions/removals. Application programmers may use the notifier for their own purposes via the Desktop Communication Service.

The Viewer is the native file browser on SkyOS. It features multiple view types, thumbnails, and metadata-based display of information, as well as "search as you type" browsing and advanced queries.

SkyFS

edit

SkyFS is a fork of the OpenBFS filesystem. It supports the following notable features:

  • 64-bit data structures
  • Journaling
  • Metadata support, allowing for, among other things, ACLs
  • Metadata indexing and querying
  • POSIX file permissions

Few changes have been made to the filesystem since the fork. The Magic ID has been changed to differentiate between SkyFS partitions and BFS partitions, and space is now reserved at the beginning of each partition for a bootloader. Otherwise, the on-disk layout of the filesystems are identical.

SkyOS can also be run from the following filesystems:

  • FAT 32/16/12
  • ISO9660

Fast Searching

edit

With the help of the SQL-based Index Feeder, SkyFS supports fast metadata and full-text searching similar in concept to WinFS and Spotlight. [4] This allows for instantaneous system-wide searches as well as "search as you type" file browsing.

The concept of virtual folders, which is commonly implemented alongside a query-based search framework, exists in SkyOS as the ability to save queries in the Viewer for later execution.

Here is an example Viewer query that would display all .txt documents that were modified today:

name = *.txt && last_modified >= %today%

To perform a search, it is not necessary to understand the syntax of the above query. Queries can be built using a GUI, or simpler keyword-based searching can be (and is by default) used.

History

edit
 
Robert Szeleney, the developer of SkyOS, pictured on the cover of Technoids Magazin
 
A very early version of SkyOS

SkyOS is the culmination of over ten years of research and development by Robert Szeleney and volunteers.

A young man in University, Szeleney and several friends began the "Sky Operating System" as an experiment in OS design. As the years progressed and the other founding members of SkyOS distanced from the project, Szeleney continued work on the operating system in his spare time.

Szeleney's full-time job was in automation programming, and he already had a fair understanding of operating system design. But he continued to use SkyOS as a learning device, releasing four versions under an open source license.

The project reached the height of its popularity in 2004, when Szeleney decided to close the source of SkyOS and begin work on the fifth version. At the beginning of the year, Szeleney started a paid beta program to fund development and distribution of the OS, expecting to have very few (if any) interested subscribers. At the same time, members of the community hosted a contest to determine the look of the GUI, which drew significant attention to the project. So much attention, in fact, that by the end of that same year, the SkyOS community had tripled in size, and Szeleney had hundreds of active beta testers downloading and testing his semi-monthly releases.

SkyOS underwent many changes after this surge in popularity. Because of significant differences at the source level, Szeleney stopped thinking of what was under development as the fifth version of his operating system, and the name "SkyOS 5.0" was rebranded to simply "SkyOS." A more professional demeanor was taken throughout the project, and Szeleney even considered incorporating under the name "Djinnworks." The SkyOS community has since shrunk significantly from its peak in 2004, but development of SkyOS continues as fast as ever. The codebase has grown to several hundred thousand lines of code, and current development is focused on a complete rewrite of the kernel in an attempt to bring legacy code up to par with the rest of the system.

Beta Releases

edit
Date Released Version
January 11, 2004 Beta 1
February 14, 2004 Beta 3
March 19, 2004 Beta 4
April 9, 2004 Beta 5
May 21, 2004 Beta 6
July 5, 2004 Beta 7
October 1, 2004 to August 6, 2005 Beta 8.x Series
November 27, 2005 Beta 9
March 26, 2006 Build 5550
July 26, 2006 Build 6132
September 3, 2006 Build 6179
November 18, 2006 Build 6669
June 21, 2007 Build 6753
August 4, 2007 Build 6763
October 8, 2007 Build 6796
November 25, 2007 Build 6814

Development

edit

While there are several well-developed APIs as well as exceptional POSIX compatibility, writing and releasing applications for SkyOS can be difficult due to minor binary incompatibilities between betas. Developers that wish to offer an application for SkyOS must keep up with the changes being made to the APIs, and are usually required to modify and recompile their applications upon the release of each new beta. There are no plans to finalize any of the APIs before SkyOS is publicly released, as Szeleney wishes to reserve the ability to further improve them as development progresses.

The evolution of SkyOS itself happens rather sporadically, with little documented long-term planning. This has often caused concern in the community, but has allowed for a development pace much faster than democratically-steered projects.

SkyOS executables are compiled into the ELF format using the GNU Compiler Collection. Commonly, developers cross compile their applications for use on SkyOS. However, as GCC has been ported and is actively being maintained, it is also possible to develop applications inside of a running SkyOS installation. Most notably, Scribis, a multi-protocol instant messenger, was developed by a volunteer exclusively under a running SkyOS environment.

Native APIs

edit

C++ is the only programming language officially supported for native development on SkyOS. Perl and Python have been ported, but the virtual machines have no bindings to any of the native SkyOS APIs. .NET applications that are command-line based can be run through Mono, but again, as there are no bindings to SkyGI, Windows Forms based GUI applications can not be run.

The Desktop Communication Service is an object-oriented inter-process communication framework used throughout SkyOS. It allows command-line and API based communication between both kernel and user space processes in SkyOS.[5]

In this messaging model, human-readable messages are sent to 'interfaces' that are represented by a string of identifiers.

For example, sending this message to "Notify.Media.Player.Control" would cause the SkyOS media player to advance to the next song:

MessageType STRING "Next Song"

SkyOS emits messages in response to hundreds of events, including device attachments, sucessful software installs, battery level changes, and new weather data, all available to any application or driver that subscribes to the appropriate interface.

The Integrated Streaming System (ISS) is a set of C++ APIs designed to facilitate media interaction, similar to the concept of a sound server in Linux. The API is abstracted so that media playback is completely independent of codec.

Basic functionality can be achieved in less than ten lines of code in situations where default behavior is acceptable to the programmer. However, through a very extended API, all relevant parts of the audio-visual processing pipeline can be controlled.

"For example, you can create two audio streams, one stereo, one 5.1 DolbyDigital, connecting an echo filter to the second, associating the 5.1 stream with a SB Audigy live and the stereo stream with a basic stereo soundcard, and apply various software digital filters to individual streams."

— Robert Szeleney [6]

Porting Applications

edit

Most command-line applications that were written to be compiled with the GNU Toolchain can be ported to SkyOS with little or no modification. Several large applications, including Apache, GCC, Samba, CUPS, and Bash have been ported using the Toolchain.

The following applications have been ported using native APIs and are currently being maintained on SkyOS:

The ports of GTK and several GTK-based applications have become unusable with recent API changes. It is not yet known if in the future they will be brought back up to speed.

Criticism

edit

Third Party Support

edit

Due to the limited popularity of the operating system, SkyOS has very few third party developers. This means that many common hardware devices are not supported by SkyOS, and are not likely to be without significant money and effort on Szeleney's part.

Less importantly, this means that a limited variety of applications are available for SkyOS. While some of the basic needs such as web browsing and e-mail are covered, others are not. These needs include:

  • A full office suite
  • An advanced media manager
  • An instant messenger
  • A development environment
  • Popular commercial video games

To help stimulate third party development, SkyOS employs a "code ransom" system where people may donate money to projects that they wish to see completed. Developers who complete these projects will then receive any money that has been donated to the project.[7] If possible, Szeleney hopes to complete any projects not claimed by the code ransom before SkyOS leaves beta status.

Security and Stability

edit

Although the APIs for working with user and file permissions are well-developed, none of the applied permissions are actually obeyed by the system. While SkyOS is under development, this will remain the intended behavior.

The network stack used in SkyOS is a custom design which is largely untested in a production environment. No known attempts have been made to penetrate a live system from the internet, meaning that the 'hackability' of SkyOS is unknown.

The "passworded folders" feature is implemented at the filesystem level, so no SkyOS applications can use the native APIs to access files without the correct password having been entered by the user. However, files in a passworded folder are stored on-disk in an a way identical to un-passworded files, so a clever programmer could write a userspace SkyFS driver that simply ignores the password and reads the directory at whim.

The stability of SkyOS varies from user to user, although, as a whole, it is improving. With the right hardware, a user may almost never experience a crash, but with the wrong hardware, the system may not even boot. No comprehensive hardware compatibility list can be kept due to the ever changing state of the system.

Involvement with Free Software

edit

As a former open source project, SkyOS has been the subject of many debates involving Free software.

Often, SkyOS is accused of violating the GPL based on a fallacy of necessity. That is, since developing an operating system is thought to be an exceedingly complex task, the conclusion is drawn by some that Szeleney must have stolen code from Free software in order for him to have made the progress that he has. In fact, the opposite is implied by Szeleney's public dealings with open source developers.[8] Even when not required under license, Szeleney has consistently published changes made to open source works used in SkyOS. [9] [10]

Some beta testers fear that their investment will be lost if Szeleney becomes unable or unwilling to continue the development of SkyOS. This fear is commonly used as one of the more well-substantiated arguments for open sourcing SkyOS. There has so far been no official response from Szeleney as to the fate of SkyOS in this eventuality.

See Also

edit

Other Alternative OS's

edit

Supporting Technologies

edit

References

edit
  1. ^ "SkyOS FAQs". Retrieved March 4, 2008.
  2. ^ "SkyGI: Alphabetical List". Retrieved March 4, 2007.
  3. ^ "New Theme Engine". Retrieved March 4, 2007.
  4. ^ "SkyOS Index Feeder" (PDF). Retrieved March 4, 2008.
  5. ^ "A few words on desktop Communication Service". Retrieved March 4, 2008.
  6. ^ "SkyOS Tour - Integrated streaming system". Retrieved March 4, 2008.
  7. ^ "SkyOS Code Ransom". Retrieved March 4, 2008.
  8. ^ "OpenBFS misconceptions and SkyFS". Retrieved March 4, 2008.
  9. ^ "GPL software". Retrieved March 4, 2008.
  10. ^ "patch to compile apr-1.2.2 on SkyOS". Retrieved March 4, 2008.
edit

Further Reading

edit

Media Coverage

edit