Skip to content

Instantly share code, notes, and snippets.

@vegard
vegard / kernel-dev.md
Last active March 24, 2024 06:37
Getting started with Linux kernel development

Getting started with Linux kernel development

Prerequisites

The Linux kernel is written in C, so you should have at least a basic understanding of C before diving into kernel work. You don't need expert level C knowledge, since you can always pick some things up underway, but it certainly helps to know the language and to have written some userspace C programs already.

It will also help to be a Linux user. If you have never used Linux before, it's probably a good idea to download a distro and get comfortable with it before you start doing kernel work.

Lastly, knowing git is not actually required, but can really help you (since you can dig through changelogs and search for information you'll need). At a minimum you should probably be able to clone the git repository to a local directory.

@yuanmai
yuanmai / gist:4411286
Created December 30, 2012 06:40
remove all elc files in your emacs folders
find . -name "*.elc" -type f | xargs rm -f
@pminten
pminten / update-bench.rkt
Created August 8, 2014 12:24
Racket code to visualize how bad association lists are as an updating dictionary
#lang racket
; Quick and ugly benchmark to see how if association lists for
; smallish lists are quicker to update than hash tables.
; To run: open in DrRacket and press the Run button.
(require plot)
; List of words of varying length.