[erlang-questions] Bit Syntax and compiler Erlang/OTP R21.1

Dániel Szoboszlay dszoboszlay@REDACTED
Tue Aug 20 22:13:37 CEST 2019


Bit strings could come very handy for compression algorithms too, say
Huffman coding a byte stream. Yes, at the end you may have to pad the
bitstring to get whole bytes that you can save to a file or send over the
network, but until then it's very useful that your buffer can have an
arbitrary length. Bitstrings are rarely needed, but when you need them,
it's Godsent that the language has excellent support for this data type!

On Tue, 20 Aug 2019 at 21:24, Steve Strong <steve@REDACTED> wrote:

> Or take SDI, where each word is 10bits... bitstring is invaluable.
>
> Sent from my iPhone
>
> > On 20 Aug 2019, at 20:21, Fred Hebert <mononcqc@REDACTED> wrote:
> >
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20190820/54a513c9/attachment.htm>


More information about the erlang-questions mailing list