IDL 4.3 RTF Avatar
  1. OMG Issue

IDL43 — bitset memory layout

  • Key: IDL43-84
  • Status: open  
  • Source: Remedy IT ( Johnny Willemsen)
  • Summary:

    IDL 4.2 says for bitset the following, but to our idea the IDL spec goes to far, how the data is organized in memory is something IDL can't enforce, probably not all programming languages provide such a direct way to control the memory layout. Middleware could control how a bitset is transferred on the wire, but I think IDL should not enforce the layout

    Bit sets are sequences of bits stored optimally and organized in concatenated addressable pieces called bit fields,
    themselves stored optimally. "Stored optimally" means that one bit uses just one bit in memory. "Concatenated" means
    that each bit field will be placed in memory just after its predecessor within the bit set (no alignment considerations
    apply).

  • Reported: IDL 4.2 — Mon, 2 Oct 2023 15:14 GMT
  • Updated: Tue, 10 Oct 2023 13:31 GMT