3 ms·
There are real life situations where you must program without loops, and eBPF programs are an example. They also have an program size and various other limitati
by regecks 7y ago
There are real life situations where you must program without loops, and eBPF programs are an example. They also have an program size and various other limitations (http://www.brendangregg.com/ebpf.html#bccprogramming http://www.brendangregg.com/ebpf.html#bccprogramming).
When I was writing an ACME (Let's Encrypt) TLS-ALPN client that ran in-kernel with an eBPF tc program, it led to some pretty silly looking code: https://dpaste.de/82aZ https://dpaste.de/82aZ