[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Binary notation for integers: 0b+
- From: Ico Doornekamp <lua@...>
- Date: Mon, 01 Dec 2014 20:05:50 +0100
* On 2014-12-01 19:47:31 +0100, Javier Guerra Giraldez wrote:
> yes, that's quite useful too, especially when driving hardware from
> Lua, as we all do all the time. :-)
The joking aside, driving hardware with Lua is something is something I
regularly do, as well as implementing binary protocols and other low
level things which benefit greatly from the new struct (un) packing,
integer type and binary operations. All these features help a lot to
make concise code handling binary data.
IMHO supporting binary constants would be the nice finishing touch to
these new features; especially given the simplicity of the
implementation, relative to the extensive changes that were needed to
implement the new integer type.