Tech News
← Back to articles

Object-oriented design patterns in C and kernel development

read original related products more articles

My scheduler operations implementation

A benefit of working on your own operating system is that you’re free from the usual "restraints" of collaboration and real applications. That has always been a major factor in my interest in osdev. You don’t have to worry about releasing your program, or about critical security vulnerabilities, or about hundreds of people having to maintain your code. A benefit of working on your own operating system is that you’re free from the usual "restraints" of collaboration and real applications. That has always been a major factor in my interest in osdev. You don’t have to worry about releasing your program, or about critical security vulnerabilities, or about hundreds of people having to maintain your code.

In the OSDev world you’re usually alone, and that solitude gives you the freedom to experiment with unusual programming patterns.

While developing a kernel module for my master’s thesis I came across an article on LWN: “

It was fascinating to see how something as low-level as the kernel can still borrow the benefits of object orientation "encapsulation", modularity, and extensibility. This lead me to experimenting with implementing all my kernels services with this approach.

... continue reading