zenoh icon indicating copy to clipboard operation
zenoh copied to clipboard

SHM: Buffer type API

Open yellowhatter opened this issue 10 months ago • 1 comments

Describe the feature

We already start getting questions like this: https://discord.com/channels/914168414178779197/1222489180396064898

From fundamental perspective, I don't like the idea of giving users API to determine the buffer type, as it opens them a way to write configuration-dependent code.

From engineering perspective, it might be useful for some cases if used wisely. The SHM subsystem is so transparent, that it is not clear for the user if it is properly configured and works.

yellowhatter avatar Mar 28 '24 07:03 yellowhatter

@Mallets tagging you here

yellowhatter avatar Mar 28 '24 07:03 yellowhatter

This is addressed in the new SHM API in https://github.com/eclipse-zenoh/zenoh/tree/dev/1.0.0. See: https://github.com/eclipse-zenoh/zenoh/blob/73961dd87b66f16160526385d614b53e24422fec/examples/examples/z_sub_shm.rs#L43

Mallets avatar Jun 12 '24 15:06 Mallets

@Mallets yes, this issue is old and outdated

yellowhatter avatar Jun 13 '24 06:06 yellowhatter