Re:Ask HN: Going low-level – what to learn next?
by motherfsck on Wednesday June 05, 2024 @03:09PM
(#40589039)
> with just as much low-level hooks as you might need
eBPF is great for some things and is "easier" for some things but kernel modules are able to do _way_ more by design.
1. The best source of low-level information on things like operating systems (writing your own) etc is https://wiki.osdev.org/Expanded_Main_Page
2. Compiler related low-level should include a read through Crafting Interpreters (https://craftinginterpreters.com/), even if all you're going to do is create compiled languages.
3. Hardware type low-level (where you build your own logic) is a long and ultimately non-rewarding path. I would suggest https://eater.net/8bit/
All those links are only starting points; use them to find a direction in which to head.
[EDIT: I also recommend writing a eBPF module for linux - easier than writing a kernel module, with just as much low-level hooks as you might need].