The Road to My Ultimate Training System
Tags: showdev, computerscience, announceyouridea, codenewbie
Published: 2020-08-28 11:25:07

If you've seen me around, you might have noticed that there is one massive project I want to accomplish: building an operating system from scratch. However, my college got in the way many times as it always does, keeping me from putting serious effort into the project. So, with my degree in the bag, it is finally time to walk the road to My Ultimate Training System.

_Cover Photo by [Hayden Walker](https://unsplash.com/@haydenwalker?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) on [Unsplash](https://unsplash.com/?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText)_

## The Humble Beginnings
So, how did I even decide to undertake this journey? Let me take you back to two years ago. I had just started my internship at the company where I'm still working. My task was to convert some internal tooling, consisting of multiple script files, into a whole application with front- and backend. At the start, I was researching software architectures which made me fall in love with the subject. Especially the microkernel architecture took my breath away.

One day, when I was travelling back home by train, I was messaging with my best friend, Valentin. We were talking about this microkernel architecture I had just discovered that week. The following conversation ensued:

> Valentin: "So, this microkernel architecture, du you know any examples of software that use it?"
Me: "Hmm, I cannot give you any examples from the top of my head, but I'm quite sure there are plenty. I mean, the main feature is having a core system handling the communications and plugins having the business logic."
Valentin: "Interesting..."
Me: "There is still a lot I have to learn about this architecture, but damn, it's interesting!"
Valentin: "That for sure it is!"
A small moment of silence creeps in, the train passing by field after field.
Me: "You know what.. I'm going to build my own operating system! From scratch!"
Valentin: "Are you insane?! Do you know how long that'll take?!"
Me: "Hahaha, yeah, it'll most likely be a 10-year project or so, but hell, why not!"

And so, the idea of building my operating system was born.

## Road to My Ultimate Training System
It's been two years since I've decided to walk the path of the operating system. But, as I said, college managed to get in the way of my plans. However, now that I finally have my degree, some free time has opened up. Still, diving in a project of this magnitude like a headless chicken isn't the way to go.

![The Flight of the Headless Chicken by [Club Orlov](http://cluborlov.blogspot.com/2018/11/the-flight-of-headless-chicken.html)](https://dev-to-uploads.s3.amazonaws.com/i/av377e30nt68g7bdr71j.jpg)

Recently, I read a post on Dev.to on things to do when starting a side project. The first step stood out to me most: Announce Your Idea. Now, I have thrown my idea around here and there in some comments and on my blog, but I have never really sat down to **think** and **plan** what I want to do.

{% link https://dev.to/niharrs/get-these-in-place-before-starting-your-next-side-project-38l8 %}

That was until a late evening. I was feeling pooped as hell and not motivated to do anything. I told my partner: "Bleeeehhh, I'm pooped; I cannot focus; I cannot do anything tonight; tonight _SUCKS_!". He looked at me and almost literally picked me up from the bed. Before I knew, he'd put me on a chair in the living room with a book and notebook. Next, he squashed a pair of headphones on my head and set a vinyl in the player with some Bob Marley (don't ask me why, I don't know it either). Without realising, my brain was swinging along with Marley 10 minutes later and producing all sorts of strange creative stuff.

### The Path to My Operating System
You don't "just" build an operating system. You need knowledge for that, and lots of it too. So, before I even dare start writing a single line of code for my operating system, I need to work on that brain! I managed to create a high level overview of what I think I need to learn to get started and in which order.

- Learning about Computer Architecture and Organisation;
- Learning C Programming;
- Learning Assembly Language;
- Learning about Operating System Structure;
- Building MUTS!!

Gaining this knowledge won't fall out of the sky magically in my brain, unfortunately. Boy, would it be interesting for that to happen! But no, I need books for this, and I have started with the first one this week! I have got [a big list](https://www.rosafiore.eu/operating-system/book-list-for-muts/) of [all the books](https://www.rosafiore.eu/operating-system/additional-books-for-muts/) that I could find that would be interesting for this project. However, reading them all would take me... an eternity. So, I've tried to keep the list short, for now.

- [Write Great Code - Understand the Machine](https://nostarch.com/writegreatcode1_2e) by Randall Hyde
- [Write Great Code - Thinking Low-Level Writing High-Level](https://nostarch.com/writegreatcode2_2) by Randall Hyde
- [C Programming - A Modern Approach](https://www.amazon.com/C-Programming-Modern-Approach-2nd/dp/0393979504) by K.N. King
- [The Art of Assembly](https://nostarch.com/assembly2.htm) by Randall Hyde
- [Modern Operating Systems](https://www.amazon.com/Modern-Operating-Systems-Global-Paperback/dp/B00QAVC79K/ref=sr_1_5?dchild=1&keywords=modern+operating+systems&qid=1598612664&s=books&sr=1-5) by Andrew Tanenbaum
- [Operating Systems from 0 to 1](https://github.com/tuhdo/os01)

![Creepy Creative Creations](https://dev-to-uploads.s3.amazonaws.com/i/dayft4amsxp3ck4anu0s.jpg)

### Show The World
Still inspired, I'm now trying to announce my idea to you all! I hope this gives you a bit of background for my motives even to dare touch this project. Believe me, I'm scared to bits and almost shitting my pants. Still, I also feel exhilarated and motivated to work on this fantastic project. Even if it fails miserably, I'm confident that I will learn so much along the way that it won't be a waste of time.

But more importantly, I want to share my strides and struggles with you all. The first idea I have is to keep writing articles and posting them on [my blog](https://www.rosafiore.eu/). Furthermore, I want to cross-post my articles to [Dev.to](https://dev.to/shadowphoenix), and maybe to Medium and other dev communities. I'm not too sure about the last two, but if you have any ideas on that, please do let me know!

I also do have one other idea, but I'd like your opinion on that too. Would it be interesting if I stream my C and Assembly programming on Twitch, sowing my learning process and progress on the languages? Afterwards, I can upload the stream to [my YouTube channel](https://www.youtube.com/channel/UCgTGwso0l6VEr8R_4fqGVHg), so you can watch it later.

Finally, I would like to ask you: Do you have any ideas on how you'd like to keep updated on projects like this? Things that I can do to expose it more, so I can hold myself accountable to stay motivated even during the tougher learning times. I'm curious to see what you think!

## Some Last Thoughts
The road to My Ultimate Training System will be a long one, that is a given. Projects like these will have their ups and downs, but I'm hoping that I can stick to my plan. The learning possibilities are endless, which is what motivates me the most. Naturally, the development of my operating system will be open source. There is one question that always lingers in the back of my brain: Will I, or anyone, ever use my OS seriously? That, I won't know until I've "finished" it. However, I'd like to think that one day I'll run my OS on a device and use it for simple tasks. That is the end goal for now.