πΏ Chill xv6 OSdev gardening: Clang-format, build errors, C build fundamentals, #include hygiene πΏ
2:30 Intro
4:23 clang format intro; feeling at home; garden analogy
11:35 q&a: my background, infosec, music tech
16:50 fixed initial broken build
19:10 clang-format broke the build (START HERE)
22:40 diagnosing build issue – include order
39:30 include guards explanation
===
0:20: πΏ Exploring xv6 OS development through coding practices and troubleshooting.
9:33: βοΈ Troubleshooting build errors and unfamiliar file formats in OS development environment setup.
17:38: πΏ Developer faces challenges with build system, receives likes on tweet, and continues with OS development.
25:45: πΏ Addressing missing #include errors in the xv6 OS codebase while enjoying a relaxing and straightforward debugging process.
34:08: π± Addressing build errors and improving #include hygiene in xv6 OS development
43:30: πΏ Preference for standard C/C++ types over custom non-standard types in programming.
52:53: π± Efficient coding practices discussed while updating code base and fixing build errors.
1:02:04: π± Exploring issues with assembly code inclusion in C headers and seeking solutions through community engagement.
1:10:31: π± Engaging in productive coding session, addressing build errors, and maintaining code quality.
1:20:51: π± Improving code formatting, addressing build errors, and enhancing #include organization in OS development.
1:32:05: π± Resolving merge conflicts and optimizing code formatting in C programming.
Recap by Tammy AI
===
I’m am experienced systems programmer, working on chill fork of the xv6 kernel β for myself, for fun π
Today my goal was to clang-format all the files to feel more at home in the codebase. This ended up breaking the build completely due to bad include hygiene in the original codebase, and I fixed it all up.
Topics covered: C programming & build system basics: headers, forward declaration, ifdefs, include guards. A bit of git conflict resolution.
—
Post stream reflections:
– It’s cool how I had very little expectations for the stream (we’d just run clang format and that’s it)
[ad_2]
source