Whistler: Live eBPF Programming from the Common Lisp REPL (atgreen.github.io)

by varjag 18 comments 134 points
Read article View on HN

18 comments

[−] runetech 50d ago
Just recently discovered the author, Anthony Green. Floored and inspired by his productivity and scope of projects!

I enjoyed reading up on his fiber implementation and dabbling with the Java compiler/runtime integration.

https://atgreen.github.io/repl-yell/posts/sbcl-fibers/

https://github.com/atgreen/openldk

Kudos Anthony - you make the world a more interesting place ;-)

[−] jasonjmcghee 50d ago
This is very cool.

I'm in danger of being nerd sniped.

[−] kuschkufan 50d ago
Very impressive, good reason to get into Lisp, I reckon
[−] guenthert 50d ago
While this is an interesting project, I found following grating:

"Permissions without root

You don’t need root. Grant capabilities to SBCL:

sudo setcap cap_bpf,cap_perfmon+ep /usr/bin/sbcl

Now sbcl --load my-bpf-program.lisp works as your regular user. Tracepoint format files need chmod a+r to allow non-root compilation with deftracepoint."

That's obviously not ideal. Better might be to create a purpose-built image. Unlike perl, sbcl doesn't even pretend to care about security. Taint mode extension for sbcl, anybody?

[−] fock 50d ago
very cool and the person has the skills to do that. sad to see how the fully AI generated "why this matters" section in the blog gives a lingering vibe of slop.
[−] AbanoubRodolf 50d ago
[flagged]