Haiku (operating system)
|Source model||Open source|
|Latest preview||R1 Beta 1 / 28 September 2018|
|Marketing target||Personal computer (desktop user)|
|Platforms||IA-32, ARM, and x86-64|
|Default user interface||OpenTracker|
|License||MIT License and Be Sample Code License|
Haiku is a free and open-source operating system compatible with the now discontinued BeOS. Its development began in 2001, and the operating system became self-hosting in 2008. The first alpha release was made in September 2009, and the last was November 2012; the first beta was released in September 2018.
Haiku began as the OpenBeOS project in 2001, the year that Be, Inc. was bought by Palm, Inc. and BeOS development was discontinued. The focus of the project was to support the BeOS user community by creating an open-source, backward-compatible replacement for BeOS. The first project by OpenBeOS was a community-created "stop-gap" update for BeOS 5.0.3 in 2002. In 2003, the non-profit organization Haiku, Inc. was registered in Rochester, New York, to financially support development, and in 2004, after a notification of infringement of Palm's trademark of the BeOS name was sent to OpenBeOS, the project was renamed Haiku.
It wasn't until September, 2009 that Haiku reached its first milestone with the release of Haiku R1/Alpha 1. Then in November, 2012 the R1/Alpha 4.1 was released, while work continued on nightly builds. On September 28, 2018, the Haiku OS R1/Beta 1 was released.
The modular design of BeOS allowed individual components of Haiku to initially be developed in teams in relative isolation, in many cases developing them as replacements for the BeOS components prior to the completion of other parts of the operating system. The original teams developing these components, including both servers and APIs (collectively known in Haiku as "kits"), included:
- App/Interface – develops the Interface, App and Support kits.
- BFS – develops the Be File System, which is mostly complete with the resulting OpenBFS.
- Game – develops the Game Kit and its APIs.
- Input Server – the server that handles input devices, such as keyboards and mice, and how they communicate with other parts of the system.
- Kernel – develops the kernel, the core of the operating system.
- Media – develops the audio server and related APIs.
- MIDI – implements the MIDI protocol.
- Network – writes drivers for network devices and APIs relating to networking.
- OpenGL – develops OpenGL support.
- Preferences – recreates the preferences suite.
- Printing – works on the print servers and drivers for printers.
- Screen Saver – implements screen saver function.
- Storage – develops the storage kit and drivers for required filesystems.
- Translation – recreates the reading/writing/conversion modules for the different file formats.
A few kits have been deemed feature complete and the rest are in various stages of development.
The Haiku kernel is a modular hybrid kernel which began as a fork of NewOS, a modular monokernel written by former Be Inc. engineer Travis Geiselbrecht. Like the rest of the system, it is currently still under heavy development. Many features have been implemented, including a virtual file system (VFS) layer and symmetric multiprocessing (SMP) support.
As of September 2013[update], Haiku includes a package management system called "Haiku Depot," enabling software to be compiled into dependency tracking compressed packages. Packages can also be activated by installing them from remote repositories with pkgman, or dropping them over a special packages directory. Haiku package management mounts activated packages over a read only system directory. The Haiku package management system performs dependency solving with libsolv from the openSUSE project.
Compatibility with BeOS
Haiku R1 aims to be compatible with BeOS at both the source and binary level, allowing software written and compiled for BeOS to be compiled and run without modification on Haiku. This provides Haiku users with an instant library of applications to choose from (even programs whose developers are no longer in business or have no interest in updating them), in addition to allowing development of applications to resume from where they had been terminated following the demise of Be, Inc.
This dedication to compatibility has its drawbacks though — requiring Haiku to use a forked version of the GCC compiler, based on version 2.95, released in 2001, which is now 18 years old. Switching to the newer version 7 of GCC breaks compatibility with BeOS software; therefore Haiku supports being built as a hybrid GCC7/GCC2 environment. This allows the system to run both GCC version 2 and version 7 binaries at the same time. The changes done to GCC 2.95 for Haiku include wide characters support and backport of fixes from GCC 3 and later.
This compatibility applies to 32-bit x86 systems only. The PowerPC version of BeOS R5 is not supported. As a consequence, the ARM, 68k, 64-bit x86 and PPC ports of Haiku use only the GCC version 7 compiler.
Despite these attempts, compatibility with a number of system add-ons that use private APIs will not be implemented. These include additional filesystem drivers and media codec add-ons, although the only affected add-ons for BeOS R5 not easily re-implemented are Indeo 5 media decoders for which no specification exists.
Driver compatibility is incomplete, and unlikely to cover all kinds of BeOS drivers. 2D graphics drivers in general work exactly the same as on R5, as do network drivers. Moreover, Haiku offers a source-level FreeBSD network driver compatibility layer, which means that it can support any network hardware that will work on FreeBSD. Audio drivers using API versions prior to BeOS R5 are as-yet unsupported, and unlikely to be so; however, R5-era drivers work.
Low-level device drivers, namely for storage devices and SCSI adapters, will not be compatible. USB drivers for both the second- (BeOS 5) and third- (BeOS Dano) generation USB stacks will work, however.
In some other aspects, Haiku is already more advanced than BeOS. For example, the interface kit allows the use of a layout system to automatically place widgets in windows, while on BeOS the developer had to specify the exact position of each widget by hand. This allows for GUIs that will render correctly with any font size and makes localization of applications much easier, as a longer string in a translated language will make the widget grow, instead of being partly invisible if the widget size were fixed.
Initial planning for R2 has started through the "Glass Elevator" project (a reference to the children's novel Charlie and the Great Glass Elevator). The only detail confirmed so far is that it will switch to a current GCC release.
A compatibility layer is planned that will allow applications developed for Haiku R1 to run on Haiku R2 and later. This was mentioned in a discussion on the Haiku mailing list by one of the lead developers, Axel Dörfler. Suggested new features include file indexing on par with Unix's Beagle, Google Desktop and macOS's Spotlight, greater integration of scalable vector graphics into the desktop, proper support for multiple users, and additional kits.
- A 32-bit x86 architecture like Intel's IA-32
- Memory: 256 MB (2 GB is needed to compile Haiku within itself )
- Hard disk: 1.5 GB
Dedoimedo.com reviewed Haiku Alpha 4 in September 2013.
Like its predecessor, it begins with a language & keyboard selection. Nothing fancy, a plain blue desktop, some icons stolen straight from 1993, and the overall feel of a workstation running on nostalgia, from before the CDE was hip, and even the world itself was two-dimensional. However, you can try the live edition or installation.
Jeremy Reimer wrote a review for Ars Technica. His review of Haiku Alpha 4 mentions that:
The last computer I tried was an ASUS P5K-VM motherboard with a Core 2 Quad Q6600 CPU running at 2.4GHz and 8GB of RAM. This is my Media Center PC, hooked up directly to my television. Fortunately, Haiku booted on this hardware without any issue. Startup was very fast and took less than 15 seconds to get to a fully functional desktop. By default, the system booted into a resolution of 1024x768. Unfortunately, there was no option to switch to a widescreen resolution.
Ars Technica had an earlier Haiku review.
Rebecca Chapnik wrote a review of Haiku OS for MakeTechEasier.com:
Haiku doesn’t seem quite stable enough for everyday use, especially for a production environment, but I still recommend trying it from a live medium. If anything, it presents an interesting type of anachronism to ponder. If you’re into retro computing but want things like modern websites to render properly, definitely give Haiku a shot.
I grabbed the Haiku install image, which weighs in at about 400 MB and acts both as installation media and as a live CD. Upon booting from the CD, Haiku starts up a graphical environment and asks if the user wishes to run the installer or move on to the live desktop. Selecting the latter option deposits the user at a fairly standard-looking desktop. The wallpaper is a soft sky blue and contains the Haiku logo. In the upper-left corner are icons for navigating the user's (and system's) directories. There are also icons linking to the project's release notes and manual. Lastly, there's an icon which launches the installer. Over in the upper-right corner we find a compact combination of application menu (represented here by a blue feather), system tray and taskbar. By default, the system tray displays a digital clock and system monitor. Clicking on the system monitor enables the user to manage running processes.
Smith reviewed Haiku OS again in 2016.
- Be File System
- BeOS API
- Comparison of operating systems
- Haiku Vector Icon Format
- List of BeOS programs
- "Haiku R1/beta1 has been released". Haiku Project. 2018-09-28. Retrieved 2018-09-30.
- "Compiling Haiku for Arm". Haiku Project.
- "x86_64 port: final report". 28 August 2012.
- "Haiku OS Ported To 64-bit, Picks Up OpenJDK Support". Phoronix.
- Bruno Albuquerque (2008-04-01). "Haiku self-hosting". Retrieved 2008-06-25.
- "What is Haiku?". Haiku, Inc. Retrieved 2014-08-05.
- "Haiku monthly activity report - 05/2018 (ft. LibreOffice!)". Haiku Project. 2018-06-06. Retrieved 2018-08-27.
- "Home". Haiku. 2016. Retrieved 9 May 2016.
- "R1/beta1 release plans - at last". Haiku Project. 2018-08-19. Retrieved 2018-08-27.
- "Haiku Downloads". Haiku. 2017. Retrieved 16 September 2017.
- "Haiku: BeOS for the 21st Century". Retrieved 2015-09-29.
- "Haiku Kernel & Drivers Team". Archived from the original on 2008-06-09. Retrieved 2008-07-17.
- "Package Management now live". Retrieved 2013-11-04.
- "The libsolv Open Source Project on Open Hub". www.openhub.net. Retrieved 2015-09-29.
- The GCC team (2007-07-25). "GCC Releases - GNU Project - Free Software Foundation (FSF)". Free Software Foundation. Retrieved 2007-08-16.
- "Haiku Hybrids". Haiku Project.
- "Haiku legacy build tools sourcecode history".
- "Configure Options". Haiku Project.
- "R2 Ideas – Glass Elevator Summaries". Archived from the original on 2007-05-17. Retrieved 2007-03-07.
- "Frequently Asked Questions | Haiku Project". haiku-os.org. Retrieved 2019-01-22.
- "Haiku Alpha 4 - So what's next?". Dedoimedo.com. September 25, 2013. Retrieved August 5, 2019.
- "1998's most intriguing OS, 15 years later: Hands-on with Haiku alpha 4". Ars Technica.
- "First look: Haiku poetically resurrects BeOS". Ars Technica.
- "Haiku: BeOS for the 21st Century". MakeTechEasier.com.
- "A first look at Haiku (alpha)". DistroWatch Weekly.
- "Haiku in 2016". DistroWatch Weekly.