Software:Google Fuchsia

From HandWiki
Short description: Computer operating system by Google
Fuchsia
The logo of the Fuchsia operating system, an illustration of a mobius strip, which is intended to be shaped after a lowercase letter “f.”
Screenshot of Google Fuchsia (July 2017).png
Screenshot of the Google Fuchsia GUI
DeveloperGoogle
Written inC, C++, Dart, Go, Rust, Python[1]
Working stateCurrent
Source modelOpen source
Initial releaseMay 25, 2021; 2 years ago (2021-05-25)
Repositoryfuchsia.googlesource.com
Available inEnglish
PlatformsARM64, x86-64
Influenced byAndroid
Default user interfaceErmine
LicenseBSD, MIT, Apache License 2.0
Official websitefuchsia.dev

Fuchsia is an open-source capability-based operating system developed by Google. It first became known to the public when the project appeared on a self-hosted form of git in August 2016 without any official announcement. The reasoning behind the name is "Pink + Purple = Fuchsia (a new Operating System)",[2] which might be a reference to Pink (Apple's first effort at an object-oriented, microkernel-based operating system) and Purple (the original iPhone's codename), however, Google has not confirmed this explanation.[3] In contrast to prior Google-developed operating systems such as Chrome OS and Android, which are based on the Linux kernel, Fuchsia is based on a new kernel called Zircon. After years of development, Fuchsia was officially released to the public on the first-generation Google Nest Hub, replacing its original Cast OS.

History

In August 2016, media outlets reported on a codebase post published on GitHub, revealing that Google was developing a new operating system called "Fuchsia". No official announcement was made, but inspection of the code suggested its capability to run on universal devices, including "dash infotainment systems for cars, to embedded devices like traffic lights and digital watches, all the way up to smartphones, tablets and PCs". The code differs from Android and Chrome OS due to its being based on the Zircon kernel (formerly called Magenta)[4] rather than on the Linux kernel.[5][6][7][8][9]

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, along with a developer writing 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".[10] 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"[11] or replace Android[12][13][14] in a way that fixes problems on that platform.[10]

In January 2018, Google published a guide on how to run Fuchsia on Pixelbooks.[15][16] This was followed successfully by Ars Technica.[17]

A Fuchsia "device" was added to the Android ecosystem in January 2019 via the Android Open Source Project (AOSP).[18][19] Google talked about Fuchsia at Google I/O 2019.[20] Hiroshi Lockheimer, Senior Vice President of Chrome and Android, described Fuchsia as one of Google’s experiments around new concepts for operating systems.[citation needed]

On July 1, 2019, Google announced the official website of the development project providing source code and documentation for the operating system.[21] Roughly a year and a half later, on December 8, 2020, Google announced that they were "expanding Fuchsia's open-source model"[22] including making mailing lists public, introducing a governance model, publishing a roadmap and would be using a public issue tracker.

In May 2021, Google employees confirmed that it had deployed Fuchsia in the consumer market for the first time, within a software update to the first-generation Google Home Hub that replaces its existing Chromecast-based software. The update contains no user-facing changes to the device's software or user interface.[23][24] After the initial wave of updates to preview devices, the update was rolled out to all Nest Hub devices in August 2021.[25]

Overview

The GitHub project suggested Fuchsia can run on many platforms, from embedded systems to smartphones, tablets, and personal computers. In May 2017, Fuchsia was updated with a graphical user interface, along with a developer writing that the project was not a "dumping ground of a dead thing", prompting media speculation about Google's intentions with the operating system, including the possibility of it replacing Android. On July 1, 2019 Google announced the homepage of the project, fuchsia.dev, which provides source code and documentation for the newly announced operating system.[21]

Fuchsia's user interface and apps are written with Flutter, a software development kit allowing cross-platform development abilities for Fuchsia, Android and iOS. Flutter produces apps based on Dart, offering apps with high performance that run at 120 frames per second. Fuchsia also offers a Vulkan-based graphics rendering engine called Escher, 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".

Due to the Flutter software development kit offering cross-platform opportunities, users are able to install parts of Fuchsia on Android devices.

In 2017, Ars Technica noted that, 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.[10] In a 2018 review, Ars Technica experts were impressed with the progress, noting that things were then working, and were especially pleased by the hardware support. One of the positive surprises was support for multiple mouse pointers.[17]

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

Kernel

Fuchsia is based on a new message-passing kernel called Zircon, named after the mineral. Zircon's codebase was derived from that of Little Kernel (LK), a real-time kernel for embedded devices, aimed for low resource consumption, to be used on a wide variety of devices.[27] Little Kernel was developed by Travis Geiselbrecht, who had also co-authored the NewOS kernel used by Haiku.

Zircon is written mostly in C++, with some parts in 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.[28] Its present features include handling threads, virtual memory, processes intercommunication, and waiting for changes in the state of objects.[29]

It is heavily inspired by Unix kernels 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.

References

  1. "Language usage in Fuchsia". https://fuchsia.dev/fuchsia-src/development/languages. 
  2. "Fuchsia". https://github.com/fuchsia-mirror. 
  3. Matte, Daniel (April 10, 2017). "Open-Source Clues to Google's Mysterious Fuchsia OS". IEEE Spectrum. IEEE. https://spectrum.ieee.org/tech-talk/computing/software/a-modern-os-from-google. 
  4. McGrath, Roland (12 September 2017). "[zx Magenta -> Zircon"]. https://fuchsia.googlesource.com/zircon/+/f3e2126c8a8b2ff64ca6cb7818f0606ceb5f889a. 
  5. Etherington, Darrell (August 15, 2016). "Google's mysterious new Fuchsia operating system could run on almost anything". AOL. https://techcrunch.com/2016/08/15/googles-mysterious-new-fuchsia-operating-system-could-run-on-almost-anything/. 
  6. Fingas, Jon (August 13, 2016). "Google's Fuchsia operating system runs on virtually anything". AOL. https://www.engadget.com/2016/08/13/google-fuchsia-operating-system/. 
  7. Szász, Attila (November 8, 2017). Dive into Magenta – fuzzing Google’s new kernel. Hacktivity – via YouTube.
  8. "Google's Fuchsia OS Magenta Becomes Zircon - Phoronix". https://www.phoronix.com/scan.php?page=news_item&px=Fuchsia-OS-Magenta-Zircon. 
  9. Vaughan-Nichols, Steven J.. "Google Fuchsia is not Linux: So, what is it and who will use it?". https://www.zdnet.com/article/google-fuchsia-is-not-linux-so-what-is-it-and-who-will-use-it/. 
  10. 10.0 10.1 10.2 Amadeo, Ron (May 8, 2017). "Google's "Fuchsia" smartphone OS dumps Linux, has a wild new UI". Condé Nast. https://arstechnica.com/gadgets/2017/05/googles-fuchsia-smartphone-os-dumps-linux-has-a-wild-new-ui/. 
  11. Fingas, Jon (May 8, 2017). "Google's mysterious Fuchsia OS looks like an Android re-do". AOL. https://www.engadget.com/2017/05/08/google-fuchsia-os-matures/. 
  12. Gartenberg, Chaim (May 8, 2017). "Google's mysterious new Fuchsia OS has a UI now". Vox Media. https://www.theverge.com/circuitbreaker/2017/5/8/15579846/google-fuchsia-os-magenta-armadillo-first-look-ui. 
  13. Davenport, Corbin (May 8, 2017). "Google's "Fuchsia" operating system is taking shape with a new design". http://www.androidpolice.com/2017/05/08/googles-fuchsia-operating-system-taking-shape-new-design/. 
  14. "First Look at all new Fuchsia OS from Google". IB Computing. January 18, 2018. https://ibcomputing.com/first-look-all-new-fuchsia-os-google/. 
  15. "Yes, Google Is Running Fuchsia On The Pixelbook: Calm Down" (in en-US). Chrome Unboxed - The Latest Chrome OS News. 2018-01-01. https://chromeunboxed.com/news/fuchsia-pixelbook-install-google-developer. 
  16. Install Fuchsia on Pixelbook, https://fuchsia.dev/fuchsia-src/development/hardware/pixelbook, retrieved 2020-12-09 
  17. 17.0 17.1 Amadeo, Ron (8 January 2018). "Google's Fuchsia OS on the Pixelbook: It works! It actually works!". Condé Nast. https://arstechnica.com/gadgets/2018/01/googles-fuchsia-os-on-the-pixelbook-it-works-it-actually-works/. "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." 
  18. "Add initial fuchsia target". 2019-01-22. https://android-review.googlesource.com/c/device/google/fuchsia/+/859930. 
  19. Bradshaw, Kyle (2019-01-03). "Google's Fuchsia OS confirmed to have Android app support via Android Runtime" (in en-US). https://9to5google.com/2019/01/02/android-runtime-app-support-fuchsia/. 
  20. Li, Abner (May 9, 2019). "Fuchsia is Google's investment in trying new OS concepts". https://9to5google.com/2019/05/09/what-is-google-fuchsia/. 
  21. 21.0 21.1 Altavilla, Dave (30 June 2019). "Google's Mysterious Fuchsia OS Developer Site Debuts With New Fascinating Details". Forbes. https://www.forbes.com/sites/davealtavilla/2019/06/30/googles-mysterious-fuchsia-os-developer-site-debuts-with-new-fascinating-details. 
  22. "Expanding Fuchsia's open-source model". https://opensource.googleblog.com/2020/12/expanding-fuchsias-open-source-model.html. 
  23. Amadeo, Ron (2021-05-25). "Google launches its third major operating system, Fuchsia" (in en-us). https://arstechnica.com/gadgets/2021/05/google-launches-its-third-major-operating-system-fuchsia/. 
  24. Bradshaw, Kyle (2021-05-25). "Google is releasing Fuchsia OS, starting w/ 1st-gen Nest Hub" (in en-US). https://9to5google.com/2021/05/25/google-releases-fuchsia-os-nest-hub/. 
  25. Byford, Sam (2021-08-18). "Google’s Fuchsia OS is rolling out to every first-gen Nest Hub" (in en-us). https://www.theverge.com/2021/8/18/22630245/google-fuchsia-os-nest-hub-rollout-release-date. 
  26. "Google's Fuchsia OS confirmed to have Android app support via Android Runtime". 2019-01-03. https://9to5google.com/2019/01/02/android-runtime-app-support-fuchsia/. 
  27. Sims, Gary (August 17, 2016). "What we learned from running Fuchsia, the mysterious new OS from Google". http://www.androidauthority.com/we-compiled-fuchsia-os-710491/. 
  28. "An Early Look at Zircon, Google Fuchsia New Microkernel". April 15, 2018. https://www.infoq.com/news/2018/04/google-fuchsia-zircon-early-look. "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." 
  29. "Overview" (in en). https://fuchsia.dev/fuchsia-src/concepts. 

External links