Re: Array offset in IPC

2021-02-13 Thread Antoine Pitrou
Hi Jorge, Le 13/02/2021 à 04:56, Jorge Cardoso Leitão a écrit : > > One solution is to assume an offset of zero when reading from IPC. But afai > understand, in that case, producers must themselves only share bitmap > buffers that are aligned at "8 bit boundaries". For example, an array with >

Re: Array offset in IPC

2021-02-12 Thread Micah Kornfield
Hi Jorge, This is correct to my knowledge offsets are not modelled in IPC. There was a lot of debate on whether to include them in the c data interface. Cheers, Micah On Friday, February 12, 2021, Jorge Cardoso Leitão wrote: > Hi, > > I am going through the Rust implementation of the IPC, and

Array offset in IPC

2021-02-12 Thread Jorge Cardoso Leitão
Hi, I am going through the Rust implementation of the IPC, and I am trying to understand how we share Arraydata offsets. Specifically, our C data interface supports the notion of an offset, measured in slots, that denotes how many slots ahead of the buffer pointers we read from. This enables us t