F# – Imitating Erlang’s bit syntax for easier binary protocol implementation
Bit Syntax in Erlang One of the often under-appreciated features of Erlang is its Bit Syntax for parsing and pattern matching binary data at a bit level. For instance, to pare TCP segments you can write something along the line of: The same capability can be applied to anything binary protocols, such as video encoding, …
F# – Imitating Erlang’s bit syntax for easier binary protocol implementation Read More »