discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: CEL
Subject: Re: [Discuss-gnuradio] [RFC] PMT succession: experts' opinions on serialization libs
Date: Mon, 30 Sep 2019 11:01:45 +0000

Hi Sylvain,

I'm very certain that flatbuffers does handle this correctly, yes.
Haven't tried it, though. But "serialization library that doesn't deal
with cross-platform" sounds bad, doesn't it?

Best regards,
Marcus

On Mon, 2019-09-30 at 08:37 +0200, Sylvain Munaut wrote:
> 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
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]