comp.lang.ada
 help / color / mirror / Atom feed
From: briot.emmanuel@gmail.com
Subject: Re: ANN: Simple components for Ada v.4.42
Date: Sun, 15 Sep 2019 23:58:39 -0700 (PDT)
Date: 2019-09-15T23:58:39-07:00	[thread overview]
Message-ID: <7d04e6c3-9547-445c-a5cd-778fa97b62d1@googlegroups.com> (raw)
In-Reply-To: <qlnb82$i6v$1@gioia.aioe.org>

On Monday, September 16, 2019 at 8:48:36 AM UTC+2, Dmitry A. Kazakov wrote:
> The new version provides an implementation of JSON (RFC 7158)


Hi Dmitry,
I would be curious to know the differences compared to what GNATCOLL.JSON provides, if you know ? It would be nice if the Ada world did not have too many packages competing here.
(Although I was the GNATCOLL maintainer for a long time, I did not write the JSON package, so this is really an open question :-)

Various things which I find limiting in GNATCOLL.JSON: performance is not really good because there are a lot of memory allocations (your short description seems to indicate this might be an area where your package improves things); gnatcoll treats arrays and objects completely differently, one without tagged types and the other with; simple types systematically have to be converted explicitly to a json object with Create;...

The GNATCOLL.JSON parser can be extended to support YAML (I have some local patches to support comments and optional quotes for strings, but not the indentation-based structures), but it would be nice if this was provided out of the box...

Thoughts ?

Emmanuel

  reply	other threads:[~2019-09-16  6:58 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-16  6:48 ANN: Simple components for Ada v.4.42 Dmitry A. Kazakov
2019-09-16  6:58 ` briot.emmanuel [this message]
2019-09-16  7:44   ` Dmitry A. Kazakov
2019-10-03 18:58     ` Olivier Henley
2019-10-03 19:58       ` Dmitry A. Kazakov
2019-10-03 21:16         ` Olivier Henley
2019-10-03 21:29           ` Olivier Henley
2019-10-04  7:56             ` Dmitry A. Kazakov
2019-09-16  8:18   ` J-P. Rosen
2019-09-16 19:10   ` Dmitry A. Kazakov
2019-10-03 23:53   ` onox
2019-10-04  7:56     ` Dmitry A. Kazakov
2019-10-04 10:52       ` Olivier Henley
2019-10-04 12:15         ` Dmitry A. Kazakov
2019-10-03 15:43 ` Olivier Henley
2019-10-03 17:51   ` Dmitry A. Kazakov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox