NimPacket is really fast
TCP, UDP, ICMP, DNS, ARP crafting: 50x–290x faster.
Packet parsing: 15x–20x faster.
Import time: 5 ms vs 383 ms.
Memory usage for 50k packets: 1 KB vs 1.1 MB.
Scapy only wins on raw checksum and IP conversion.
Everything else goes to NimPacket.
This is what native Nim + Python bindings can do.
More updates soon.

Scapy only wins on raw checksum and IP conversion.
Sounds like a place to try out some SIMD! ;)
There’s a new auto SIMD library: https://github.com/xTrayambak/overdrive or the classic NIMSIMD: https://github.com/guzba/nimsimd
With the latter I just had an LLM bake up code and test against the scalar code.