|
|
|
|
|
by alexgartrell
270 days ago
|
|
I did something similar a long time ago https://github.com/facebookresearch/py2bpf It was definitely a toy, I transliterated from python bytecode (a stack based vm) into bpf. I also wrote the full code gen stack myself (bpf was simpler back then) But using llvm and not marrying things to cpython implementation makes this approach way better |
|