Post Az3D8SEEnDKcY5hm4G by profoundlynerdy@bitbang.social
(DIR) More posts by profoundlynerdy@bitbang.social
(DIR) Post #Az3D8SEEnDKcY5hm4G by profoundlynerdy@bitbang.social
2025-10-04T03:36:04Z
0 likes, 0 repeats
How does one go form K&R C to hacking in the #FreeBSD or #Linux kernel? #programming #C
(DIR) Post #Az3D8TaFkqXIkf0s1Q by pngwen@mastodon.sdf.org
2025-10-04T12:18:21Z
0 likes, 0 repeats
@profoundlynerdy You need to learn OS development next. The traditional route was the Lions book, which gives you an annotated listing of the original UNIX source. Mit has the xv6 kernel and corresponding book available online. This is a modern teaching OS equivalent. https://pdos.csail.mit.edu/6.828/2025/xv6.html I use that along with the open source textbook https://www.ostep.org when teaching my os course. Work through that and read the xv6 book, and you'll be a kernel hacker in no time!
(DIR) Post #Az3D8UhjaW7AE9WMK0 by profoundlynerdy@bitbang.social
2025-10-04T15:53:33Z
0 likes, 0 repeats
@pngwen OK, I have...* K&R, C* Crafting Interpreters, interpreters* Several Forth books, minimalism * Dragon Book, compilers* Lion's book, OS development* Art of Computer Programming, encyclopedic series on algorithms* Gang of Four Book, Design PatternsAm I missing anything?#computing #programing #unix #linux
(DIR) Post #Az3D8VW4ZMNekH4Yme by pngwen@mastodon.sdf.org
2025-10-04T17:01:44Z
0 likes, 1 repeats
@profoundlynerdy it looks like you are building a library to become a hard-core UNIX systems codeslinger. I would add two books if that is your aim:The Unix Programming Environment by Brian Kernighan and Rob PikeThe Art of Unix Programming by Eric S. Raymond