Operating Systems in the Era of AI and ML talks about how an operating system should be evolved so that it gives a highly personalized experience with utmost privacy and security to its users.


Operating Systems in the Era of AI and ML is an article that focuses on a conceptual operating system that is smart and intelligent, learns from its environment & user, interacts with the outside world. The main computing is done by a mother computer sitting in the cloud and helping these machines do their work properly. Most of the processing is done locally and only knowledge is transferred. I have termed this operating system as conceptOS. This operating system(OS) has a really smart artificial general intelligence working tirelessly in the cloud and learning from various inputs and making an Artificially superintelligent.

Most computations are done in the cloud and devices, where is conceptOS is installed, receive the results of the computations. The data on which the model is generated is prepared from the data which is received regularly from the devices on which conceptOS is installed. Since computations are resource-intensive and devices may not have the required resources for computing the results.

We also need to understand that these models are based on user experiences with the operating system. The data which is gathered from the device is like pressing keys on the keyboard, the pressure used on the trackpad, clicks, navigation inside the system, time spent on each application, and many more. These factors make a user unique from the other users and those experiences are recorded by the system to understand the user.

Brief Idea of the operating system!!

We use operating systems(OS) in our day-to-day life while using mobile phones, home devices, desktops, laptops, and in many more devices. Without them most of our devices won’t work at all. 

We already know that they are a serious piece of work that requires hardcore programming skills and knowledge of hardware and its working. These systems are used to automate tasks that we do daily on our machines. Like for example, mobile phones are used in many ways like a gaming console, an entertainment box, a productivity machine, a health partner, and many more. Do you know most of the work on our phone is done by OS like Android or iOS. These OSs run on hardware and provide intelligence to the hardware. 

In this article, my focus is on a conceptual OS(conceptOS) which is not like the OS’s we use in our daily life, but a minimal code, based on user interaction. Let me put my thought in a statement here.

“An OS that starts from a maximal code and slowly and gradually reduce itself to minimal, based on the user interaction with the machine. The kernel code should be smart enough to add whatever modules are required and delete those which are not needed or seldom required. Intelligence, Performance and Optimality should be at the heart of the system. The system should adjust itself and keep the applications running inside a container. This way the system will be less affected by bugs in an application. System should keep its eye on what user is doing and keep adjusting itself on the fly.” —–(1)

Sounds weird right! 

Yes, initially but if we try to delve into the challenges operating system designers face while designing the code for a piece of hardware then you will be able to understand the real pain.

My early code which is just might kickstart you in the process can be accessed from here.

Featured: Image Source