From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Received: by 2002:ac8:2bc4:: with SMTP id n4mr16196244qtn.298.1568617120632; Sun, 15 Sep 2019 23:58:40 -0700 (PDT) X-Received: by 2002:a9d:77d1:: with SMTP id w17mr29625533otl.5.1568617120208; Sun, 15 Sep 2019 23:58:40 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!o24no265229qtl.0!news-out.google.com!x7ni560qtf.0!nntp.google.com!o24no265218qtl.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 15 Sep 2019 23:58:39 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=91.169.209.222; posting-account=6yLzewoAAABoisbSsCJH1SPMc9UrfXBH NNTP-Posting-Host: 91.169.209.222 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <7d04e6c3-9547-445c-a5cd-778fa97b62d1@googlegroups.com> Subject: Re: ANN: Simple components for Ada v.4.42 From: briot.emmanuel@gmail.com Injection-Date: Mon, 16 Sep 2019 06:58:40 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader01.eternal-september.org comp.lang.ada:57155 Date: 2019-09-15T23:58:39-07:00 List-Id: 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 p= rovides, if you know ? It would be nice if the Ada world did not have too m= any packages competing here. (Although I was the GNATCOLL maintainer for a long time, I did not write th= e JSON package, so this is really an open question :-) Various things which I find limiting in GNATCOLL.JSON: performance is not r= eally good because there are a lot of memory allocations (your short descri= ption seems to indicate this might be an area where your package improves t= hings); gnatcoll treats arrays and objects completely differently, one with= out 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 i= ndentation-based structures), but it would be nice if this was provided out= of the box... Thoughts ? Emmanuel