Fuchsia (operating system) explained

Fuchsia
Logo Alt:The logo of the Fuchsia operating system is an illustration of a mobius strip, which is intended to be shaped after a lowercase letter "f".
Developer:Google
Family:Capability-based[1]
Working State:Current
Source Model:Open source
Programmed In:Rust, C++, C, Dart, Go, Python, assembly language[2] [3]
Language:English
Supported Platforms:ARM64, x86-64
Kernel Type:Microkernel
Influenced By:Pink, Android, Unix kernel (but not Unix-like), iOS
Ui:Ermine
License:BSD, MIT, Apache License 2.0
Other Articles:Taligent

Fuchsia is an open-source capability-based operating system developed by Google. In contrast to Google's Linux-based operating systems such as ChromeOS and Android, Fuchsia is based on a custom kernel named Zircon. It publicly debuted as a self-hosted git repository in August 2016 without any official corporate announcement. After years of development, its official product launch was in 2021 on the first-generation Google Nest Hub, replacing its original Linux-based Cast OS.

Etymology

Fuchsia is named for the color fuchsia, which is a combination of pink and purple.[4] [5] The name is a reference to two operating systems projects within Apple which influenced team members of the Fuchsia project: Taligent (codenamed "Pink") and iOS (codenamed "Purple").[6] The color-based naming scheme derives from the colors of index cards which Apple employees used to organize their ideas.[7]

The name of the color fuchsia is derived from the Fuchsia plant genus, which is derived from the name of botanist Leonhart Fuchs.

History

In August 2016, media outlets reported on a mysterious source code repository published on GitHub, revealing that Google was developing a new operating system named Fuchsia. No official announcement was made, but inspection of the code suggested its capability to run on various devices, including "dash infotainment" systems for cars, embedded devices like traffic lights, digital watches, smartphones, tablets, and PCs. Its architecture differs entirely from the Linux-based Android and ChromeOS due in part to its unique Zircon kernel, formerly named Magenta.[8] [9] [10] [11] [12] [13]

In May 2017, Ars Technica wrote about Fuchsia's new user interface, an upgrade from its command-line interface at its first reveal in August. A developer wrote that Fuchsia "isn't a toy thing, it's not a 20% Project, it's not a dumping ground of a dead thing that we don't care about anymore". Though users could test Fuchsia, nothing "works", because "it's all a bunch of placeholder interfaces that don't do anything". They found multiple similarities between Fuchsia's interface and Android, including a Recent Apps screen, a Settings menu, and a split-screen view for viewing multiple apps at once.[14] [15] Multiple media outlets wrote about the project's seemingly close ties to Android, with some speculating that Fuchsia might be an effort to "re-do"[16] or replace Android[17] [18] [19] in a way that fixes its problems.[14]

In January 2018, Google published a guide on how to run Fuchsia on Pixelbooks.[20] This was implemented successfully by Ars Technica, where experts were impressed with the progress, noting that things were then working, and were especially pleased by the hardware support and multiple mouse pointers.[21]

A Fuchsia device was added to the Android ecosystem in January 2019 via the Android Open Source Project (AOSP).[22] [23] Google talked about Fuchsia at Google I/O 2019.[24] Hiroshi Lockheimer, Senior Vice President of Chrome and Android, described it as one of Google's experiments around new operating system concepts.

On July 1, 2019, Google announced the official website of the development project with source code and documentation. Roughly a year and a half later, on December 8, 2020, Google announced that it was "expanding Fuchsia's open-source model"[25] including making mailing lists public, introducing a governance model, publishing a roadmap, and using a public issue tracker.

In May 2021, Google employees confirmed that Fuchsia had been deployed in the consumer market for the first time, within a software update to the first-generation Google Nest Hub that replaces its existing Chromecast-based software. The update contains no user-facing changes to the device's software or user interface.[26] [27] After the initial wave of updates to preview devices, the update was rolled out to all Nest Hub devices in August 2021.[28] Around February 21, 2022, the Chrome browser was fully working on Fuchsia.[29]

In January 2023, Google announced layoffs across the company with 16% of Fuchsia employees being impacted.[30] In May 2023, Google began rolling out a Fuchsia-based update to the second-generation Google Nest Hub.[31]

Overview

Most of Fuchsia is written in Rust.[32]

UI and mobile apps

Fuchsia's user interface and apps are written in Flutter, a software development kit allowing cross-platform development abilities for Fuchsia, Android, and iOS. Flutter produces apps from Dart. Escher is the Vulkan-based graphics rendering engine, with specific support for "volumetric soft shadows", an element that Ars Technica wrote, "seems custom-built to run Google's shadow-heavy 'Material Design' interface guidelines".[33] The Flutter cross-platform software development kit allows users to install parts of Fuchsia on Android devices.

A special version of Android Runtime for Fuchsia is planned to run from a FAR file, the equivalent of the Android APK.[34]

Kernel

Fuchsia is based on a new object-capability kernel, named Zircon after the mineral. Its codebase was derived from that of Little Kernel (LK) for embedded devices, aimed for low-resource uses on a wide variety of devices.[35] LK was developed by Travis Geiselbrecht, who had also co-authored the NewOS kernel used by Haiku, a free software reimplementation of BeOS.

Zircon is written mostly in C++, with some parts in C and assembly language. It is composed of a kernel with a small set of user services, drivers, and libraries which are all necessary for the system to boot, communicate with the hardware, and load the user processes.[36] Its present features include handling threads, virtual memory, inter-process communication, and waiting for changes in the state of objects.[37]

It is but differs greatly. For example, it does not support Unix-like signals, but incorporates event-driven programming and the observer pattern. Most system calls do not block the main thread. Resources are represented as objects rather than files, unlike traditional Unix systems in which everything is a file.

Notes and References

  1. Web site: Language usage in Fuchsia . Noober Info . June 15, 2021 . August 24, 2022 . August 24, 2022 . https://web.archive.org/web/20220824134424/https://nooberinfo.com/google-fuchsia-os-the-next-big-thing-on-the-internet-next-gen-os/#8-is-fuchsia-a-unix-os . dead .
  2. Web site: Google Fuchsia OS: The next big thing on the internet – Next-Gen OS . Fuchsia.
  3. Web site: C++ in Zircon . Fuchsia . February 7, 2023 . en.
  4. Web site: Fuchsia. GitHub.
  5. News: Matte. Daniel. April 10, 2017. Open-Source Clues to Google's Mysterious Fuchsia OS. IEEE Spectrum. Institute of Electrical and Electronics Engineers (IEEE). March 4, 2019.
  6. McKillop . Christopher . chrismckillop . 1397218897523265540 . May 25, 2021 . Pink was an OS project started by Apple in 1988 (became Tailgent). Purple was the codename of the original iPhone OS. [...] . August 16, 2023 . live . https://web.archive.org/web/20220408222017/https://twitter.com/chrismckillop/status/1397218897523265540 . April 8, 2022 .
  7. Web site: Hormby . Tom . April 27, 2014 . Pink: Apple's First Stab at a Modern Operating System . live . https://web.archive.org/web/20230321012500/https://lowendmac.com/2014/pink-apples-first-stab-at-a-modern-operating-system/ . March 21, 2023 . August 16, 2023 . Low End Mac .
  8. Web site: McGrath . Roland . [zx] Magenta -> Zircon ]. zircon - Git at Google . September 19, 2017 . September 12, 2017 . dead . https://web.archive.org/web/20180711190811/https://fuchsia.googlesource.com/zircon/+/f3e2126c8a8b2ff64ca6cb7818f0606ceb5f889a . July 11, 2018.
  9. Web site: Etherington . Darrell . August 15, 2016 . Google's mysterious new Fuchsia operating system could run on almost anything . . . October 5, 2016.
  10. Web site: Fingas . Jon . August 13, 2016 . Google's Fuchsia operating system runs on virtually anything . . . October 5, 2016.
  11. Szász . Attila . Gergő . Hosszú . November 8, 2017 . Dive into Magenta: fuzzing Google's new kernel . . Hacktivity . live . https://web.archive.org/web/20221122124516/https://www.youtube.com/watch?v=aYZCiLI-LZM . Nov 22, 2022 .
  12. News: Google's Fuchsia OS Magenta Becomes Zircon . Michael . Larabel . 13 September 2017 . Phoronix . May 20, 2018.
  13. Web site: Vaughan-Nichols . Steven J. . Google Fuchsia is not Linux: So, what is it and who will use it? . August 18, 2018 . ZDNet.
  14. Web site: Amadeo . Ron . May 8, 2017 . Google's "Fuchsia" smartphone OS dumps Linux, has a wild new UI . . . May 9, 2017.
  15. News: Altavilla . Dave . Google's Mysterious Fuchsia OS Developer Site Debuts With New Fascinating Details . August 29, 2019 . Forbes . June 30, 2019.
  16. Web site: Fingas . Jon . May 8, 2017 . Google's mysterious Fuchsia OS looks like an Android re-do . . . May 9, 2017.
  17. Web site: Gartenberg . Chaim . May 8, 2017 . Google's mysterious new Fuchsia OS has a UI now . . . May 9, 2017.
  18. Web site: Davenport . Corbin . May 8, 2017 . Google's "Fuchsia" operating system is taking shape with a new design . Android Police . May 9, 2017.
  19. Web site: January 18, 2018 . First Look at all new Fuchsia OS from Google . IB Computing . IB Computing . January 18, 2018.
  20. News: Yes, Google Is Running Fuchsia On The Pixelbook: Calm Down. January 1, 2018. Chrome Unboxed - The Latest Chrome OS News. January 3, 2018. en-US.
  21. News: Amadeo . Ron . January 8, 2018 . Google's Fuchsia OS on the Pixelbook: It works! It actually works! . . . January 22, 2018 . Right now, Google's built-from-scratch kernel and operating system will actually boot on the Pixelbook, and some things even work. The touchscreen, trackpad, and keyboard work and so do the USB ports. You can even plug in a mouse and get a second mouse cursor..
  22. Web site: Add initial fuchsia target. January 22, 2019.
  23. Web site: Google's Fuchsia OS confirmed to have Android app support via Android Runtime. Bradshaw. Kyle. January 3, 2019. 9to5Google. en-US. January 4, 2019.
  24. Web site: Fuchsia is Google's investment in trying new OS concepts. Abner. Li. May 9, 2019.
  25. Web site: Expanding Fuchsia's open-source model. May 26, 2021. Google Open Source Blog.
  26. Web site: Amadeo. Ron. May 25, 2021. Google launches its third major operating system, Fuchsia. May 25, 2021. Ars Technica. en-us.
  27. Web site: Bradshaw. Kyle. May 25, 2021. Google is releasing Fuchsia OS, starting w/ 1st-gen Nest Hub. May 25, 2021. 9to5Google. en-US.
  28. Web site: Byford . Sam . August 18, 2021 . Google's Fuchsia OS is rolling out to every first-gen Nest Hub . August 18, 2021 . The Verge . en-us.
  29. Web site: Bradshaw . Kyle . March 4, 2022 . Here's the full Google Chrome browser running on Fuchsia [Gallery] ]. July 16, 2023 . . en-US.
  30. Web site: Amadeo . Ron . January 23, 2023 . Google's Fuchsia OS was one of the hardest hit by last week's layoffs . January 23, 2023 . Ars Technica . en-us.
  31. Web site: Bradshaw . Kyle . May 2, 2023 . Nest Hub 2nd Gen updates to Google's Fuchsia operating system . May 3, 2023 . . en-us.
  32. Web site: HanDong (Alex). Zhang . 2022 Review The adoption of Rust in Business . 2023-01-31 . Rust Magazine . February 7, 2023 . en.
  33. News: Amadeo . Ron . Google's "Fuchsia" smartphone OS dumps Linux, has a wild new UI . August 31, 2022 . Ars Technica . Condé Nast . May 8, 2017 . en-us.
  34. Web site: Google's Fuchsia OS confirmed to have Android app support via Android Runtime . January 3, 2019 . . March 27, 2019.
  35. Web site: Sims . Gary . August 17, 2016 . What we learned from running Fuchsia, the mysterious new OS from Google . Android Authority . May 9, 2017.
  36. News: April 15, 2018 . An Early Look at Zircon, Google Fuchsia New Microkernel . May 20, 2018 . Written in C++, Zircon is composed of a microkernel plus a set of userspace services, drivers, and libraries that are required to handle system boot, process launch, and other typical kernel tasks. Zircon syscalls are generally non-blocking, with the exception of wait_one, wait_many, port_wait and sleep..
  37. Web site: Overview. June 18, 2020. Fuchsia. en.