Mark's Avatar

Mark

@offlinemark.bsky.social

trying hard. streaming kernel dev - http://youtube.com/@offlinemark blogging about life, art & systems programming. non-expert work: @ableton, prev @trailofbits home: offlinemark.com/about berlin, de

245 Followers  |  184 Following  |  32 Posts  |  Joined: 07.08.2023  |  1.6385

Latest posts by offlinemark.bsky.social on Bluesky

building my own operating system in c++ (week 93, page tables)
(detailed timestamps in comments)#livecoding #operatingsystem #codingwelcome: https://offlinemark.com/welcomediscord: https://discord.gg/XsgpqpVxNuWelcome!I’... building my own operating system in c++ (week 93, page tables)

week 93, streaming kernel dev right now

topic: virtual memory

last week we finished the bitmap allocator, complete with unit tests. will continue on whatever's next, probably using that to allocate page tables and set up virtual memory

see ya πŸ‘‹

youtube.com/live/SO7x0Z...

09.11.2025 15:02 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
building my own operating system (week 82, c++ stl)
(detailed timestamps in comments)#livecoding #operatingsystem #codingwelcome: https://offlinemark.com/welcomediscord: https://discord.gg/XsgpqpVxNuWelcome!I’... building my own operating system (week 82, c++ stl)

week 82, streaming kernel dev right now

topic: c++ STL

last week we got c++ working in the cmake build. now that we have that working, continuing today with trying out some embedded/freestanding STL options

see ya πŸ‘‹

youtube.com/live/-ukB4U...

24.08.2025 14:00 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
building my own operating system (week 81)
(detailed timestamps in comments)#livecoding #operatingsystem #codingNew here? Welcome info here: https://offlinemark.com/welcomediscord: https://discord.gg/... building my own operating system (week 81)

week 81, streaming kernel dev right now

topic: lldb, c++, STL

last week we got all the clang/llvm work ported over to cmake. will continue with using lldb instead of gdb, then moving on to c++ support (hopefully including some kind of STL to use)

see ya πŸ‘‹

youtube.com/live/lJRi_h...

17.08.2025 12:30 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
chill OS/kernel hacking // code with me (week 80, clang cmake)
(detailed timestamps in comments)#livecoding #softwareengineering #operatingsystem discord: https://discord.gg/XsgpqpVxNuWelcome! This is my chill Operating ... chill OS/kernel hacking // code with me (week 80, clang cmake)

week 80, streaming kernel dev right now

topic: clang/c++ cmake

last week we got limine integrated into cmake, will continue with porting the clang/c++ support I previously worked on, into cmake

see ya πŸ‘‹

youtube.com/live/jwvHrq...

10.08.2025 14:00 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
chill OS/kernel hacking in C // code with me (week 66)
#livecoding #softwareengineering #operatingsystem discord: https://discord.gg/XsgpqpVxNuWelcome! This is my chill Operating Systems development "gardening" p... chill OS/kernel hacking in C // code with me (week 66)

week 66, streaming kernel dev right now

topic: networking

last week we finally got RX working and received network data into userspace. continuing with networking today and likely finish the networking lab

see ya πŸ‘‹

youtube.com/live/7X8WKy...

04.05.2025 14:00 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
chill kernel hacking in C // code with me (PCI network driver, DMA)
(detailed timestamps in comments)#livecoding #softwareengineering #operatingsystem discord: https://discord.gg/XsgpqpVxNuWelcome! This is my chill Operating ... chill kernel hacking in C // code with me (PCI network driver, DMA)

week 59, streaming kernel dev right now

topic: network driver

continuing with last week's work to get the nic initialized!

see ya πŸ‘‹

youtube.com/live/Gf6Y_Q...

16.03.2025 15:00 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
chill kernel hacking in C // code with me
(detailed timestamps in comments)#livecoding #softwareengineering #operatingsystem discord: https://discord.gg/XsgpqpVxNuWelcome! This is my chill Operating ... chill kernel hacking in C // code with me

week 57, streaming kernel dev right now

topic: network/NIC driver

after learning last week about qemu networking, today we're going to work on initializing the network card via PCI and accessing it via mmio

see ya πŸ‘‹

youtube.com/live/cFfENG...

02.03.2025 15:00 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
offlinemark - Twitch 5k on youtube, and now joining twitch!streaming low level programming, assembly, and operating systems internals :)

twitch: www.twitch.tv/offlinemark

23.02.2025 15:00 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
chill kernel hacking in C // code with me (week 55)
(detailed timestamps in comments)#livecoding #softwareengineering #operatingsystem discord: https://discord.gg/XsgpqpVxNuWelcome! This is my chill Operating ... chill kernel hacking in C // code with me (week 55)

week 56, streaming kernel dev right now

topic: network driver

starting the network driver, which is the final lab of the coursework I'm following

(also, multi-streaming to twitch today for the first time)

see ya πŸ‘‹

youtube.com/live/j4o7Km...

23.02.2025 15:00 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
chill kernel hacking in C // code with me (week 54)
(detailed timestamps in comments)#livecoding #softwareengineering #operatingsystem discord: https://discord.gg/XsgpqpVxNuWelcome! This is my chill Operating ... chill kernel hacking in C // code with me (week 54)

week 54, streaming kernel dev

topic: filesystem / process spawn

streaming some filesystem dev and debugging, then moving onto start process spawning

(prerecorded since i'm away today, back live next week - see ya πŸ‘‹)

www.youtube.com/watch?v=E0K...

16.02.2025 15:00 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
chill kernel hacking in C // code with me
(detailed timestamps in comments)#livecoding #softwareengineering #operatingsystem discord: https://discord.gg/XsgpqpVxNuWelcome! This is my chill Operating ... chill kernel hacking in C // code with me

week 55, streaming kernel dev right now

topic: exec / spawn syscall

now that we have a filesystem, we can try to exec programs from disk :) working on this today

see ya πŸ‘‹

youtube.com/live/-FeYOM...

09.02.2025 15:00 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
chill kernel hacking in C // code with me
(detailed timestamps in comments)#livecoding #softwareengineering #operatingsystem discord: https://discord.gg/XsgpqpVxNuWelcome! This is my chill Operating ... chill kernel hacking in C // code with me

week 53, streaming kernel dev right now

topic: filesystem

working on the core fs routines for walking the filesystem to find disk blocks

see ya πŸ‘‹

youtube.com/live/zTUK5f...

02.02.2025 15:00 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
chill kernel hacking EVERY week (week 52!!! filesystem)
(detailed timestamps in comments)#livecoding #softwareengineering #operatingsystem discord: https://discord.gg/XsgpqpVxNuWelcome! This is my chill Operating ... chill kernel hacking EVERY week (week 52!!! filesystem)

week 52! streaming kernel dev right now

topic: continue hacking on the filesystem

see ya πŸ‘‹

youtube.com/live/3o-CYb...

26.01.2025 15:00 β€” πŸ‘ 1    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
chill kernel hacking every week (week 50, debug boot virt mem)
(detailed timestamps in comments)#livecoding #softwareengineering #operatingsystem discord: https://discord.gg/XsgpqpVxNuWelcome! This is my chill Operating ... chill kernel hacking every week (week 50, debug boot virt mem)

week 51, streaming kernel dev right now

topic: filesystem

needed to debug some boot issues last week after merging in the new lab code; will actually start the filesystem work today

see ya πŸ‘‹

youtube.com/live/bNg7oQ...

19.01.2025 15:00 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
YouTube Share your videos with friends, family, and the world

week 50! streaming kernel dev right now

topic: begin filesystem

finished the multicore/fork/IPC labs last week, beginning filesystem work this week 🀠

see ya πŸ‘‹

youtube.com/live/kVPJ95o...

12.01.2025 15:00 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
chill kernel hacking every week
(detailed timestamps in comments)#livecoding #softwareengineering #operatingsystem discord: https://discord.gg/XsgpqpVxNuWelcome! This is my chill Operating ... chill kernel hacking every week

week 49, streaming kernel dev right now

topic: basic IPC

working on a basic IPC system so processes can send messages between each other

see ya πŸ‘‹

youtube.com/live/35QuRw...

05.01.2025 15:00 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

week 48, streaming kernel dev

topic: debug final bugs with COW fork syscall

debugging a subtle bug in my COW fork support: I didn't realize that the child will immediately fault in its stack when it gets execution after the fork

(prerecorded since I'm at CCC!)

youtu.be/ohT3ZHI4kRc

29.12.2024 15:00 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

week 47, streaming kernel dev right now

topic: preemptive multitasking

very exciting! we've only had cooperative multitasking with explicit yields so far β€” now it's time to implement preemption with a timer interrupt

see ya πŸ‘‹

youtube.com/live/CfEJOB...

22.12.2024 15:00 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

week 46, streaming kernel dev right now

topic: copy on write fork() in userspace

continuing with this now that I finally understand this "UVPT" recursive page table mechanism for mapping the page tables so they're accessible from userspace

see ya πŸ‘‹

youtube.com/live/ura43M...

15.12.2024 15:00 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

thanks for joining and hanging out :))

08.12.2024 17:33 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
YouTube Share your videos with friends, family, and the world

week 45, streaming kernel dev right now

topic: copy on write fork() in userspace

now that we have userspace page fault handling working, we can proceed to the lab where we implement copy on write fork, entirely in userspace

see ya πŸ‘‹

youtube.com/live/PjsXpSu...

08.12.2024 15:00 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 1

special shoutouts to @h0mbre_, @awesomekling, l1zard, shivang, catflare, ismail, handle, digitulized, afnan β€” thank you

03.12.2024 22:07 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

hit a milestone, 5000 subs on youtube 🀯

a heartfelt thank you to anyone who has joined, watched, commented, or supported my streams in any way πŸ™

it's really wild how much you can learn by just practicing something for 2 hours a week, every week.

next stop: 52 weeks of kernel dev 🌽 πŸ€“

03.12.2024 22:07 β€” πŸ‘ 6    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Which do approximately what? Just curious

01.12.2024 19:27 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Love these

01.12.2024 19:24 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Thank you!!

01.12.2024 15:14 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
chill kernel hacking for fun (week 44, user page fault + assembly)
(detailed timestamps in comments)#livecoding #softwareengineering #operatingsystem discord: https://discord.gg/XsgpqpVxNuWelcome! This is my chill Operating ... chill kernel hacking for fun (week 44, user page fault + assembly)

week 44, streaming kernel dev

topic: userspace page fault handling

prequel to week 43, worked on the kernel-mode syscall support behind userspace PF handling (incl. recursive page fault support)

(pre-recorded since I'm away this week ✌️)

https://www.youtube.com/watch?v=5fv6Pjx3in8

01.12.2024 15:05 β€” πŸ‘ 6    πŸ” 1    πŸ’¬ 0    πŸ“Œ 1
Post image Post image

that was probably the best stream I've ever had, and one of the most technical by far

wrote the assembly stub (basically felt like shellcode) which returns from the userspace page fault handler, back to the interrupted code. (with support for recursive page fault handling)

got all working, live!

24.11.2024 17:42 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
chill kernel hacking for fun
(detailed timestamps in comments)#livecoding #softwareengineering #operatingsystem discord: https://discord.gg/XsgpqpVxNuWelcome! This is my chill Operating ... chill kernel hacking for fun

week 43, streaming kernel dev right now

topic: userspace page fault handling

making decent progress, will work on the assembly stub that returns control back to the user thread

see ya πŸ‘‹

#programming
https://youtube.com/live/WcbInYfBAOQ?feature=share

24.11.2024 15:01 β€” πŸ‘ 8    πŸ” 4    πŸ’¬ 1    πŸ“Œ 0

thanks 😊

23.11.2024 18:55 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

@offlinemark is following 20 prominent accounts