As a counter to this, if you're working on network software that uses a lot of bandwidth and a lot of open connections, BSD is a bit more stable than Linux, so it's generally a better choice for that at least.
You are very likely to run into issues trying to do filtering and/or routing at anything >1Gbps on commodity hardware (ie. e1000 nics).
Pf is pretty but it’s not worth trading stability for.