Haiku (operating system)

Haiku is a free and open-source operating system capable of running applications written for the now-discontinued BeOS, which it is modeled after. Its development began in 2001, and the operating system became self-hosting in 2008.[6] The first alpha release was made in September 2009, and the last alpha was released on November 2012; the first beta was released in September 2018, followed by beta 2 in June 2020, then beta 3 in July 2021. The fourth beta was released on December 23, 2022, still keeping BeOS 5 compatibility in its x86 32-bit images, with a greatly increased number of modern drivers, GTK3 apps and Wine port, as well as Xlib (X11) and Wayland compatibility layers.[7]

Haiku
DeveloperHaiku, Inc.
Written inC/C++
OS familyBeOS
Working stateBeta
Source modelOpen source
Initial release2002 (2002)
Latest previewR1 Beta 4 / 23 December 2022 (2022-12-23)[1]
Repositorygit.haiku-os.org/haiku/
Marketing targetPersonal computer (desktop user)
Available inMultilingual
Update methodSoftware Updater and pkgman
Package managerhpkg
PlatformsIA-32, x86-64,[2][3] RISC-V[4][5]
Kernel typeHybrid
Default
user interface
OpenTracker
LicenseMIT License and Be Sample Code License
Official websitewww.haiku-os.org

Haiku is supported by Haiku, Inc., a non-profit organization based in Rochester, New York, United States, founded in 2003 by former project leader Michael Phipps.[8] During the most recent release cycle, Haiku, Inc. employed a developer.[7]

History

Haiku began as the OpenBeOS project in 2001, the same 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.

Branding and style

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. Original logo was designed by Stuart "stubear" McCoy who was apparently heavily involved in the early days of the Haiku Usability & Design Team, and created mockups for Haiku R2.[9] Haiku developer and artist Stephan "Stippi" Assmus, who co-developed graphic editing software WonderBrush for Haiku, updated it and developed the HVIF icon vector format used by Haiku, as well as Haiku icon set chosen by popular vote in a contest in 2007.[10]

Milestones

Haiku reached its first milestone in September 2009 with the release of Haiku R1/Alpha 1. In November 2012, R1/Alpha 4.1 was released while work continued on nightly builds.[11] After years in between official releases, Haiku R1/Beta 1 was released on 19 September 2018,[12] followed by Haiku R1/Beta 2 on 9 June 2020.[13] Haiku's then released the next version, R1/Beta 3, was released on 26 July 2021.[14] R1/beta4 is the latest release that includes updates to the desktop environment and improved compatibility with Linux programs, including X11, Wayland, and various GTK ports.

In between official releases, 'Nightly' builds (mainly meant for developer testing) are regularly listed on the Haiku Nightly page in both 64-bit and 32-bit (x86) editions.[15]

Beyond R1

After the initial full BeOS 5 compatibility as target, in 2009 community decision updated the vision for R1 with more ambitious support for modern hardware, web standards and compatibility with FLOSS libraries.[16]

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.[17]

Release history

Current release
Version Release date OS name Architecture
Haiku R1/Alpha1 September 14, 2009 hrev33109 IA-32
Haiku R1/Alpha2 May 10, 2010 hrev36769
Haiku R1/Alpha3 June 20, 2011 hrev42211
Haiku R1/Alpha4 November 11, 2012 hrev44702 IA-32, X86-64
Haiku R1/Beta1 September 28, 2018 hrev52295
Haiku R1/Beta2 June 9, 2020 [18] hrev54154
Haiku R1/Beta3 July 26, 2021 [19] hrev55182
Haiku R1/Beta4 December 23, 2022 [20] hrev56578

Technology

Haiku is written in C++ and provides an object-oriented API.

The modular design[21] 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.
  • DataTranslations: recreates the reading/writing/conversion modules for the different file formats and data types.

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,[22] 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.

Package management

As of September 2013, Haiku includes a package management system called "Haiku Depot", enabling software to be compiled into dependency-tracking compressed packages.[23] 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.[24]

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 22 years old.[25] Switching to the newer version 7 of GCC breaks compatibility with BeOS software; therefore Haiku supports being built as a hybrid GCC7/GCC2 environment.[26] 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.[27]

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.[28]

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 those for Indeo 5 media decoders, for which no specification exists.

R5 binary applications that run successfully under Haiku (as of May 2006) include: Opera, Firefox, NetPositive, Quake II, Quake III, SeaMonkey, Vision and VLC.

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 those for storage devices and SCSI adapters, will not be compatible. However, USB drivers for both the second- (BeOS 5) and third- (BeOS Dano) generation USB stacks will work.

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.

System requirements

The hardware requirements to be able to run Haiku (R1 beta 4) are these:[7]

Haiku requirements
MINIMUM (32-bit)RECOMMENDED (64-bit)
Processor Intel Pentium II; AMD AthlonIntel Core i3; AMD Phenom II
Memory 384MB2GB
Monitor 800×6001366×768
Storage 3GB16GB

Reception

As of 2018, the Free Software Foundation has included Haiku in a list of non-endorsed operating systems. They state the reason being because: "Haiku includes some software that you're not allowed to modify. It also includes nonfree firmware blobs."[29]

See also

References

  1. "Haiku R1/beta4 has been released!". Haiku Project. 2022-12-23. Retrieved 2022-12-23.
  2. "x86_64 port: final report". 28 August 2012.
  3. "Haiku OS Ported To 64-bit, Picks Up OpenJDK Support". Phoronix.
  4. "Booting our RISC-V images". Haiku Project. 7 November 2021. Retrieved 4 March 2023.
  5. "Haiku Port Status". Haiku Project. Retrieved 4 March 2023.
  6. Bruno Albuquerque (2008-04-01). "Haiku self-hosting". Retrieved 2008-06-25.
  7. "R1/beta4 – Release Notes". Haiku Project. Retrieved 2022-12-24.
  8. "What is Haiku?". Haiku, Inc. Retrieved 2014-08-05.
  9. "What do You Know About the Haiku Logo?". Haiku Project. 2009-11-25. Retrieved 2020-11-01.
  10. "Haiku Desktop Visualizer". 2008-04-09. Archived from the original on 2008-04-09. Retrieved 2020-11-01.
  11. "Home". Haiku. 2016. Retrieved 9 May 2016.
  12. "Haiku R1/beta1 has been released". Haiku Project. 2018-09-28. Retrieved 2021-05-22.
  13. "Haiku R1/beta2 has been released". Haiku Project. 2020-06-09. Retrieved 2021-05-22.
  14. "R1/beta3 – Release Notes". Haiku Project. 2021-07-26. Retrieved 2021-07-26.
  15. "Haiku Downloads". Haiku. 2021-05-22. Retrieved 2021-05-22.
  16. Pearce, Rohan (2018-09-07). "Beta release nears for BeOS-inspired open source OS Haiku". Computerworld. Retrieved 2020-10-21.
  17. "R2 Ideas – Glass Elevator Summaries". Archived from the original on 2007-05-17. Retrieved 2007-03-07.
  18. Larabel, Michael (9 June 2020). "Haiku R1 Beta 2 "Open-Source BeOS" Operating System Released". Phoronix. Retrieved 15 November 2021.
  19. Larabel, Michael (26 July 2021). "Haiku R1 Beta 3 Released As Spiritual Successor To BeOS". Phoronix. Retrieved 15 November 2021.
  20. "Haiku R1/beta4 has been released!". Retrieved 23 December 2022.
  21. "Haiku: BeOS for the 21st Century". 31 December 2012. Retrieved 2015-09-29.
  22. "Haiku Kernel & Drivers Team". Archived from the original on 2008-06-09. Retrieved 2008-07-17.
  23. "Package Management now live". 27 September 2013. Retrieved 2013-11-04.
  24. "The libsolv Open Source Project on Open Hub". www.openhub.net. Retrieved 2015-09-29.
  25. The GCC team (2007-07-25). "GCC Releases - GNU Project - Free Software Foundation (FSF)". Free Software Foundation. Retrieved 2007-08-16.
  26. "Haiku Hybrids". Haiku Project.
  27. "Haiku legacy build tools sourcecode history".
  28. "Configure Options". Haiku Project.
  29. "Explaining Why We Don't Endorse Other Systems". Free Software Foundation. Archived from the original on 2018-04-02.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.