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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a37:4644:: with SMTP id t65mr30057650qka.353.1568125292375; Tue, 10 Sep 2019 07:21:32 -0700 (PDT) X-Received: by 2002:aca:48b:: with SMTP id 133mr263518oie.30.1568125292017; Tue, 10 Sep 2019 07:21:32 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!o24no5253864qtl.0!news-out.google.com!q23ni104qtl.1!nntp.google.com!o24no5253861qtl.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 10 Sep 2019 07:21:31 -0700 (PDT) In-Reply-To: <4a0d83a5-3a12-4456-8f3c-abae885b5ba9@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=146.5.2.29; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC NNTP-Posting-Host: 146.5.2.29 References: <4a0d83a5-3a12-4456-8f3c-abae885b5ba9@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <66dc57e5-95a9-495d-9fb7-3d8cfbaf5c82@googlegroups.com> Subject: Re: AWS (Amazon Web Services) Libraries for Ada From: Shark8 Injection-Date: Tue, 10 Sep 2019 14:21:32 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader01.eternal-september.org comp.lang.ada:57121 Date: 2019-09-10T07:21:31-07:00 List-Id: On Tuesday, September 10, 2019 at 6:37:04 AM UTC-6, jsin...@gmail.com wrote= : > Hi All, >=20 > I'm working on a project where I will be using AWS services (S3, SQS, and= SNS to start) and I was wondering if anyone knows about a ADA library for = these services. No, not offhand; though I try to avoid external dependencies like (ag) Amaz= on Web Services and so haven't really looked. > I've looked around and don't see one --- would my best bet be to build a = binding to the C++ AWS apis? Perhaps, perhaps not. I don't know how their API is designed because I haven't used Amazon Web Se= rvices, but perhaps the best way to answer this question is to look at it f= rom the other way (eg inside-out vs outside-in) =E2=80=94 think about thing= s from the Ada-client side (package-client more than network-client) =E2=80= =94 ask "how do I want my interface to look?" and build from there, with th= e package-body providing the interface to the Amazon Web Service dependency= . Given that there are other/different languages that use the Amazon Web Serv= ice API, some of them quite different from C++, it is likely that the API i= s "language independent" to some degree; this in itself is a property that = you should bear in mind: (1) a thin binding to the C++ API implementation is going to expose all the= design choices and C-semantics workarounds to your binding; (2) a thick binding will require a bit more work, especially if you want to= design to Ada's strengths; (3) in any case, you *MUST* consider the strengths and weaknesses of your c= hoices. Sure "--fdump-ada-spec" is easy, but working around it in your desi= gn might be more work than directly writing the thick binding. I wish I could be more/actual help though.