C/Python Socket Performance?
问题 my question simply relates to the difference in performance between a socket in C and in Python. Since my Python build is CPython, I assume it's similar, but I'm curious if someone actually has "real" benchmarks, or at least an opinion that's evidence based. My logics is as such: C socket much faster? then write a C extension. not/barely a difference? keep writing in Python and figure out how to obtain packet level control (scapy? dpkt?) I'm sure someone will want to know for either context