Proposal - drop the GPSD JSON driver
Gary E. Miller
gem at rellim.com
Thu Oct 20 07:10:56 UTC 2016
Yo Eric!
On Thu, 20 Oct 2016 00:02:38 -0400
"Eric S. Raymond" <esr at thyrsus.com> wrote:
> Gary E. Miller <gem at rellim.com>:
> > So, a shared memory driver for ntpd?
>
> It already has one.
Not a POSIX sharde memory one. And the exsting one has serious
problems.
> I think the one it has would be as good as we
> need if not for the fact that that version of SHM is obsolete and
> unstandardized.
Say what? The existing protocol has serious problems.
> > > I don't think either is going to match the performance of a
> > > shared-memory drop.
> >
> > So, we all vote for JSON in POSIX SHM?
>
> I don't. I think this is one of the very rare cases where passing a
> C struct as a binary blob makes sense. We want to minimize offset
> and jitter and there's no cross-architecture problem.
Oh, please not! That is one of the big problems in the existing driver.
Way too compiler, CPU and OS dependent. Plus not extensible. The
exsting C struct has been nothing but problems. Maybe you don't buy into
JSON, but the C struct is a non-starter.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
gem at rellim.com Tel:+1 541 382 8588
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 455 bytes
Desc: OpenPGP digital signature
URL: <http://lists.ntpsec.org/pipermail/devel/attachments/20161020/a3221025/attachment.bin>
More information about the devel
mailing list