Hacker News new | ask | show | jobs
by LiamPowell 489 days ago
As an example of modelling packets, here's an example of modelling a complex packet which is a bit-packed tagged union. I don't think many other languages make such packets so easy to declare: https://gist.github.com/liampwll/abaaa1f84827a1d81bcdb2f5f17...
1 comments

p4? Granted, that's not something that just compiles to a usable language.