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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Received: by 10.58.8.50 with SMTP id o18mr3410222vea.13.1402476384330; Wed, 11 Jun 2014 01:46:24 -0700 (PDT) Path: border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!w8no7977qac.0!news-out.google.com!q9ni4189qaj.0!nntp.google.com!peer02.iad.highwinds-media.com!feed-me.highwinds-media.com!cyclone02.ams2.highwinds-media.com!news.highwinds-media.com!voer-me.highwinds-media.com!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: a new language, designed for safety ! Date: Wed, 11 Jun 2014 10:45:44 +0200 Organization: cbb software GmbH Message-ID: References: <1402308235.2520.153.camel@pascal.home.net> <85ioo9yukk.fsf@stephe-leake.org> <255b51cd-b23f-4413-805a-9fea3c70d8b2@googlegroups.com> <5ebe316d-cd84-40fb-a983-9f953f205fef@googlegroups.com> <18jneq8stp0h.95zrzy7hafft$.dlg@40tude.net> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: QTaafVZuunHujkJPndFR7g.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 X-Received-Body-CRC: 624864696 X-Received-Bytes: 4498 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Original-Bytes: 4785 Xref: number.nntp.dca.giganews.com comp.lang.ada:186832 Date: 2014-06-11T10:45:44+02:00 List-Id: On Tue, 10 Jun 2014 22:34:12 +0300, Tero Koskinen wrote: > 10.6.2014 19:31, Dmitry A. Kazakov wrote: >> On Tue, 10 Jun 2014 08:33:07 -0700 (PDT), Lucretia wrote: >> >>> On Tuesday, 10 June 2014 15:43:04 UTC+1, Brad Moore wrote: >>> >>>> Is there a list of such libraries that would be of interest? >>> >>> If you really need a list, go to AdaCore's libre site, they're all GPL, >>> and all a problem due to that. >> >> That is not an answer. I am using nothing from that site, except for >> GtkAda. The company I am working in also uses nothing. >> >> If you have concrete things in mind, I am sure people here will be glad to >> point you closed source friendly alternatives. > > I would like to have following non-gpl, preferably 100% Ada, libraries > without GNAT specific dependencies: > - GUI library There is not much choice, since the C GUI libraries aren't GM GPL either. > - JSON library (well, I have written my own, but it isn't perfect yet) > - Tiny-YAML library [1] > - HTTP client library with SSL (using curl bindings for now) A client? > - Plain socket library with poll/epoll support Adasockets? I didn't use it for a long time, however. The last time I looked at, it had a makefile, which was a non-starter to me. But I think it is possible to make a decent portable high-level socket library for Windows/Linux/VxWorks, if there were interest. > - Some sort of easy interface to execute programs on *nix/Windows > and capture the input/output/stderr/exit code[2] I am using it from GTK+. It does all that under both Windows and Linux, even capturing output into a text buffer: http://www.dmitry-kazakov.de/ada/gtkada_contributions.htm#10 The drawback is that you need GTK+ and GtkAda. > - Server side web framework which does not require the latest > GNAT to work (=works with older GNAT releases and other compilers > also) I have a HTTP server implementation. It is based on GNAT.Sockets though, and does not have any tools (I needed none for embeddable/disk-less servers where I used it). http://www.dmitry-kazakov.de/ada/components.htm#HTTP_implementation If there were interest I could add an adasockets back-end. Provided adasockets support socket select. Simon Wright probably has a HTTP server, if I correctly remember. > - At least semi-decent runtime/peripheral library for ARM Cortex-Mx > processors[3] Oh, yes. As well as a cross compiler. It is a torture to use the native GNAT. > - Interface to sqlite databases (using my own partial bindings atm.) I have GM GPL SQLite (no C library needed) here http://www.dmitry-kazakov.de/ada/components.htm#SQLite > - reStructuredText to HTML formatter I did HTML output manually. > - Antlr4 runtime > > For many things bindings to existing C libraries would be fine, but > usually authors select different licenses for Ada bindings than > what the original C library has. Like why on earth use plain GPL > or even GMGPL for bindings if original C library is distributed > under public domain, MIT, or BSD license?! Hmm, I thought GM GPL is a least offensive license possible. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de