Hacker News new | ask | show | jobs
by vavrusa 3524 days ago
It wasn't mentioned in the article, but I've recently merged LuaJIT to BPF compiler. So you just write Lua and the kernel bits get compiled into BPF bytecode and loaded. No C.

See https://github.com/iovisor/bcc/blob/master/src/lua/README.md... or examples https://github.com/iovisor/bcc/blob/master/examples/lua/trac... (this one is for tracing).

1 comments

Okay, that's really cool. Thanks. It does need more documentation, but this is an excellent step.

It also allows for building higher level APIs atop BCC's low-level lua integration, as opposed to writing yet another DSL.