🌿 Week 17 Hobby Kernel Dev in C, x86: Physical memory allocator pt2 🌿

  Рет қаралды 10,649

offlinemark

2 ай бұрын

(detailed timestamps in comments)
#livecoding #softwareengineering #operatingsystem
discord: discord.gg/XsgpqpVxNu
Welcome! This is my chill Operating Systems development "gardening" project.
The "gardening philosophy" is to have fun, above everything else. This means taking baby steps and locking in small wins before building up for more ambitious projects. People also call this "hacking" on something.
My personal goal & vision is to build a minimal, high quality OS foundation which can be used for play, experimentation, and learning.
I'm personally not an expert systems programmer, although I'd like to be someday. Right now, but I'm just an intermediate one - I worked in infosec for 7 years, and music tech for 3 years. I've been exposed to the Linux kernel in both settings, but in highly constrained contexts, and mostly reading code, not writing it.
0:00 start

Пікірлер: 24
@offlinemark
@offlinemark 2 ай бұрын
0:01: 🧠 Exploration of physical memory allocation in kernel development, focusing on learning core concepts and improving code quality. 8:37: 💻 Summary of physical memory allocation process in kernel development 18:05: 💻 Discussion on implementing a physical memory allocator function in a hobby kernel project. 28:56: 💻 Discussion on transitioning from C to C++, implementing assertions, returning pages to the free list, and testing the code. 37:11: 🔍 Discussion on debugging kernel memory allocation issues and handling optimizations in C++. 50:39: 🤯 Development process of an operating system kernel, focusing on x86 architecture and memory allocation. 1:03:20: 🧠 Understanding the management of page tables, linear to physical mappings, and virtual addresses in kernel development. 1:13:36: 💻 Exploring learning strategies for systems programming in C and Java, emphasizing step-by-step progression and project-based learning. 1:23:33: 🧠 Exploration of hierarchical paging structures in kernel development, focusing on extracting page table information from a virtual address. 1:38:42: 🧠 Understanding the process of converting physical addresses to kernel virtual addresses in x86 architecture. 1:52:15: 🧠 Development process of implementing page table entry and memory allocation logic. 2:04:12: 💻 Developing a hobby kernel in C with a focus on physical memory allocation. Recapped using Tammy AI
@ramadhanafif
@ramadhanafif 2 ай бұрын
Mad work. Appreciate that you post this online.
@offlinemark
@offlinemark 2 ай бұрын
Thank you very much Afif 🙏
@offlinemark
@offlinemark 2 ай бұрын
This is more meaningful for me than you know❤️
@somratdutta
@somratdutta 2 ай бұрын
good stuff man! Dont stop
@offlinemark
@offlinemark 2 ай бұрын
thanks somrat!! you make awesome videos 🙌
@443zpaj
@443zpaj Ай бұрын
Awesome Project!. BTW I really like the name of your OS!. GardenOS :)
@offlinemark
@offlinemark Ай бұрын
thank you! :)
@mohammedissam3651
@mohammedissam3651 Ай бұрын
Good stuff
@offlinemark
@offlinemark Ай бұрын
thank you!
@nedmon12
@nedmon12 Ай бұрын
Bro I thought the leaf was for weed smh
@offlinemark
@offlinemark Ай бұрын
lmao
@user-xz4rl8gv2x
@user-xz4rl8gv2x Ай бұрын
Hey awesome video! I recently started learning more about OS, would you say the "OS: Three Easy Pieces" book is a good resource to learn the theory behind it? I've also heard that OSDev wiki is a good one
@offlinemark
@offlinemark Ай бұрын
I haven't read that one personally. I think the OSDev wiki is ok, but isn't super structured or rigorous. I would turn to it for very practical tutorials on specific topics, but don't see it as a replacement for a textbook or a course. imo the more important thing is to start with literally anything, vs deciding which is the 'optimal' action :)
@AlexAlex-ei7zf
@AlexAlex-ei7zf Ай бұрын
Hello, bro! What is your opinion about Rust program language? Is it fully able to write your own module for Linux? I gonna to try it. It will be for security purpocess. A lot of people think it is very hardening for memory protection, but I laugh when trying to work with a network there - a lot of functions doesnt work without "unsafe" - macross))))
@offlinemark
@offlinemark Ай бұрын
My opinion is very positive overall about Rust, although I never learned the language. It seems like a strong candidate to replace C++. It is interesting that it managed to make it into Linux, while C++ never did.
@nier704
@nier704 2 ай бұрын
wha'ts your editor font?
@offlinemark
@offlinemark 2 ай бұрын
Menlo! Gotta be my fav font, been using it for 10+ years
@jonesconrad1
@jonesconrad1 Ай бұрын
you mentioned C++ , lookup includeOS
@offlinemark
@offlinemark Ай бұрын
thank you, that is awesome
@mariodanielgallardocruzado6349
@mariodanielgallardocruzado6349 Ай бұрын
isnt this guy, the voice from the chatgpt videos?
@offlinemark
@offlinemark Ай бұрын
lol i am not
@user-wk6zu5gd9e
@user-wk6zu5gd9e Ай бұрын
I think you need deep understanding. I never had that.
@offlinemark
@offlinemark Ай бұрын
Same, yeah I def want that
Inside Out Babies (Inside Out Animation)
00:21
FASH
Рет қаралды 16 МЛН
Gym belt !! 😂😂  @kauermtt
00:10
Tibo InShape
Рет қаралды 17 МЛН
iPhone 15 Pro в реальной жизни
24:07
HUDAKOV
Рет қаралды 473 М.
Как бесплатно замутить iphone 15 pro max
0:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 8 МЛН
НЕ БЕРУ APPLE VISION PRO!
0:37
ТЕСЛЕР
Рет қаралды 373 М.
Как удвоить напряжение? #электроника #умножитель
1:00
Hi Dev! – Электроника
Рет қаралды 1,1 МЛН