Sunday, September 29, 2019

Re: [Discuss-gnuradio] [RFC] PMT succession: experts' opinions on serialization libs

Hi,

>> Tbh, I'd just assume that in all these formats, being tight-packing by
>> default, std::complex<float> can just be represented by the equivalent
>> of struct {float re; float im;} complex;.

I haven't delved into the code, but do you know if it handles properly
architecture differences between sender and receiver ?
Things like 32b long vs 64b long and little endian vs big endian ?

Because the message end up send across network, this matters, there
historically has been at least one instance of a bug because PMT was
not resilient to that when exchanging data between a x86_64 PC and an
E310 for instance.

Cheers,

Sylvain

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

No comments:

Post a Comment