Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Many people are surprised to learn that Linux (and I guess some of the BSDs?) have a virtual machine that runs in the kernel and executes its own specific bytecode. LLVM has a BPF backend, as mentioned in this article.


Pretty sure BPF originated in BSD land :)

Prior to BPF there was "Enet Packet Filter", then Ultrix Packet Filter then something under SunOS before it became BPF. BPF was created in 1990 (at Berkeley) which was widely BSD oriented.


> and I guess some of the BSDs?

BPF, BSD — notice the first letter is the same ;-)

Also, many systems (some BSDs, SmartOS, macOS, Windows10, …) have an in-kernel VM for running dtrace bytecode.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: