3 ms·
Erlang's binary matching is beyond awesome, and OCaml has a pretty good implementation of it as well (Bitstring) [1]. Cool thing about Elixir is of course that
by jnbiche 11y ago
Erlang's binary matching is beyond awesome, and OCaml has a pretty good implementation of it as well (Bitstring) [1].
Cool thing about Elixir is of course that awesome Erlang binary handling is available and very easy to use.
Lots of people have been lobbying for something like this in Rust, given its low-level orientation, but there's been resistance to the idea from the core devs, who want it to be done using syntax extension.
1. https://rwmj.wordpress.com/2010/02/03/on-the-awesomeness-of-ocaml-bitstring/ https://rwmj.wordpress.com/2010/02/03/on-the-awesomeness-of-...