https://www.net.in.tum.de/fileadmin/bibtex/publications/papers/the-case-for-writing-network-drivers-in-high-level-languages.pdf

The Case for Writing Network Drivers in High-Level Languages

Table 5: Size of our implementations stripped down to the core feature set
Lang.   Lines of code Lines of C code
C          831       831
Rust        961        0
Go         1640        0
C#         1266        34
Java        2885       188
OCaml       1177        28
Haskell      1001        0
Swift       1506        0
JavaScript     1004       262
Python       1242   (Cython) 77