Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Finite State Machine Parsing for Internet Protocols: Faster Than You Think [pdf] (dartmouth.edu)
9 points by tbirdz on Dec 26, 2014 | hide | past | favorite | 2 comments


Still 5 .. 10 times slower compared to a well defined binary format. In addition its impossible to do partial reads. Its required to parse from start of message, even for reading a single attribute. Using text based encodings in protocols is dumb, but popular unfortunately :-)


Internet protocols are "text pull" protocols almost exclusively in heritage. They're... FTP in drag.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: