Remix.run Logo
Show HN: SyNumpy – a Header only C++17 library for working with NumPy Arrays(github.com)
13 points by symisc_devel 8 hours ago | 1 comments
peterabbitcook 4 hours ago | parent [-]

I’m trying to wrap my head around the use case this was created for. If a python service dumps a numpy array to bytes and sends that as a payload to a C++ service, is that blob of bytes not interpretable by C++ as e.g. a struct with some size fields and a pointer to the start of the array? (Cutting out the filesystem/npy file)

Maybe I’m overthinking it but I can’t quite envision a use case where a python service and C++ service would be sharing a filesystem