KernelScript: A Programming Language For Kernel Customization & App Optimizations
([Programming] 5 Hours Ago
KernelScript)
- Reference: 0001635549
- News link: https://www.phoronix.com/news/KernelScript
- Source link:
Multikernel Technologies Inc has been working on a [1]multi-kernel architecture for the Linux kernel while in addition to that they have been developing KernelScript as a domain-specific language for carrying out Linux kernel customizations and app-specific optimizations.
Cong Wang as the founder of Multikernel Technologies presented at the Linux Foundation's Open-Source Summit this past week in Minnesota on KernelScript. KernelScript aims to make it easier to write eBPF programs than plain C code and integrate nicely across Linux projects. KernelScript, which is currently considered beta, aims to unify eBPF, user-space, and kernel extension development into a type-safe language.
Cong Wage argues that eBPF is "miserable to write" while KernelScript hopes to make it less painful with it emitting appropriate C code for eBPF, user-space code, and kernel modules.
Not only does KernelScript view itself as a better alternative to raw C-based eBPF programs but also easier than Rust eBPF programs and more versatile than bpftrace.
In theory this sounds great and will be interesting to see how it plays out as it matures past its beta stage.
Those wanting to learn more about KernelScript can find the presentation assets via the [2]OSS 2026 presentation page . The KernelScript code is hosted on [3]GitHub .
[1] https://www.phoronix.com/news/Linux-Multi-Kernel-Patches
[2] https://osselcna2026.sched.com/event/2JQqp/kernelscript-unifying-ebpf-userspace-and-kernel-extensions-in-one-language-cong-wang-multikernel-technologies
[3] https://github.com/multikernel/kernelscript
Cong Wang as the founder of Multikernel Technologies presented at the Linux Foundation's Open-Source Summit this past week in Minnesota on KernelScript. KernelScript aims to make it easier to write eBPF programs than plain C code and integrate nicely across Linux projects. KernelScript, which is currently considered beta, aims to unify eBPF, user-space, and kernel extension development into a type-safe language.
Cong Wage argues that eBPF is "miserable to write" while KernelScript hopes to make it less painful with it emitting appropriate C code for eBPF, user-space code, and kernel modules.
Not only does KernelScript view itself as a better alternative to raw C-based eBPF programs but also easier than Rust eBPF programs and more versatile than bpftrace.
In theory this sounds great and will be interesting to see how it plays out as it matures past its beta stage.
Those wanting to learn more about KernelScript can find the presentation assets via the [2]OSS 2026 presentation page . The KernelScript code is hosted on [3]GitHub .
[1] https://www.phoronix.com/news/Linux-Multi-Kernel-Patches
[2] https://osselcna2026.sched.com/event/2JQqp/kernelscript-unifying-ebpf-userspace-and-kernel-extensions-in-one-language-cong-wang-multikernel-technologies
[3] https://github.com/multikernel/kernelscript