[M3devel] Modula-3 bitfields
Dragiša Durić
dragisha at m3w.org
Sat Aug 25 22:56:41 CEST 2012
I am in no doubt about general inadequacies of C et al…
What I hate is an idea of setters and getters for my bitfields. With pragma, compiler generated load/store will behave as needed. Everything transparent and just-working.
--
Divided by a common language
Dragiša Durić
dragisha at m3w.org
On Aug 25, 2012, at 10:20 PM, Jay K wrote:
> Which brings me back to ...array of bytes, very clear, very portable...
>
> If you need compactness but not exact layout, C and Modula-3 do fine.
> If you need a portable predictable layout, other than an array of bytes, they both largely fail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20120825/0670c194/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20120825/0670c194/attachment-0002.sig>
More information about the M3devel
mailing list