3 ms·
Great idea for audio but that sounds very challenging given BPF's lack of support for floating point types and instructions [0]. I suppose it's possible to do
by jsd1982 7y ago
Great idea for audio but that sounds very challenging given BPF's lack of support for floating point types and instructions [0].
I suppose it's possible to do audio processing being limited to integer arithmetic. BPF does have multiply and divide instructions at least.
[0] Scanning the x86_64 JIT compiler for example yields no mention of SIMD instructions: https://github.com/torvalds/linux/blob/master/arch/x86/net/bpf_jit_comp.c https://github.com/torvalds/linux/blob/master/arch/x86/net/b...