KernelScript is a modern, type-safe, domain-specific programming language for eBPF-centric kernel customization
KernelScript is a modern, type-safe domain-specific programming language designed for eBPF-centric kernel customization and Linux kernel development. It unifies eBPF programs, userspace code, and kernel modules (kfuncs) in a single source file, automatically compiling each component to its appropriate target while providing features like automatic tail call orchestration, transparent dynptr integration, and zero-boilerplate shared state across programs. The language is built by Multikernel Technologies, Inc., and is written in OCaml using the Dune build system, with the compiler generating C code for eBPF programs and userspace loaders alongside optional kernel module code when kfuncs are defined.