Google adds Fuchsia OS support for Apple’s Swift programming language

Google is working on adding Fuchsia OS support for Apple’s Swift programming language

We had reported over a year ago that Google is working on a new in-development operating system named “Fuchsia”, which is not Android or Chrome OS based. It instead runs on top of the real-time ‘Magenta’ kernel instead of Linux. Fuchsia is based on a new microkernel called “Zircon”, derived from “Little Kernel”, a small operating system intended for embedded systems. It runs across cross computers, mobile phones, tablets, and Internet of Things (IoT) devices.

Android Police noted that some of the most recent code commits that Google is working to integrate Swift, an open-source programming language developed by Apple with its Fuchsia OS. Fuchsia already supports programming languages like Dart, a language similar to C developed by Google and other languages like C/C++ and Go.

For those unaware, Swift, the successor of Objective-C, is a relatively clean, fast and error-free programming language that can reduce the length of the code, saving time and energy. Developed by Apple, Swift is suitable for building applications for iOS, macOS, watchOS and tvOS. It can be mixed with existing C/Objective-C/C++ code on Apple’s own platforms.

The support for Swift on Fuchsia was spotted on GitHub repository via a pull request adding Fuchsia OS support to the compiler. It was created by a Google employee and there are discussions about splitting it into several smaller pull requests in order to make it easier to review the code changes.

Confirming the move in a tweet, Apple’s Swift creator, Chris Lattner who currently works at Google, suggesting that it plans to have its own code.

Google intends to make a code to meet their special requirements by making changes to Swift, and releasing it to Swift official repository. In fact, Google has already done this work. Google developer Zac Bowling posted a message in his social media account, which says that Swift GitHub has established a “pull request” to require support for the Fuchsia OS in the Swift translator. It is clear that this plan has been almost officially recognized and implemented.

Compiling Swift code for Fuchsia does not make iOS apps immediately compatible. It does not mean that apps on the iOS platform can easily be transferred to Google’s new OS. However, this would allow potential developers to create the essential features of their applications in their preferred language, before adding the UI (user interface) through the tools of each platform.

Source: Digit


Subscribe to our newsletter

To be updated with all the latest news

Kavita Iyer
Kavita Iyer
An individual, optimist, homemaker, foodie, a die hard cricket fan and most importantly one who believes in Being Human!!!


Please enter your comment!
Please enter your name here

Subscribe to our newsletter

To be updated with all the latest news

Read More

Suggested Post