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:a6b:8f01:: with SMTP id r1mr60878iod.27.1552593712274; Thu, 14 Mar 2019 13:01:52 -0700 (PDT) X-Received: by 2002:a9d:6ac1:: with SMTP id m1mr24009080otq.246.1552593711945; Thu, 14 Mar 2019 13:01:51 -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!u18no5484ita.0!news-out.google.com!l81ni16itl.0!nntp.google.com!u18no5480ita.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 14 Mar 2019 13:01:51 -0700 (PDT) In-Reply-To: <3b20307d-659b-497f-bb73-db39df011d4c@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=146.5.17.67; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC NNTP-Posting-Host: 146.5.17.67 References: <3b20307d-659b-497f-bb73-db39df011d4c@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: scylladb.com +php vs gonga.com and what? or just use gnoga with scylla? From: Shark8 Injection-Date: Thu, 14 Mar 2019 20:01:52 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader01.eternal-september.org comp.lang.ada:55871 Date: 2019-03-14T13:01:51-07:00 List-Id: On Thursday, March 14, 2019 at 12:10:56 PM UTC-6, Rabican wrote: > What do ada gods use for scalable databases? >=20 > scylladb.com looks cool >=20 > I understand ada is fast and maintainable and easy to learn. It is. Especially if you know another programming language. =20 > Can it use scylla ? how easily? I don't know if it can; but if it has bindings to C, COBOL, or FORTRAN it c= an do so *easily* because such foreign-function interfaces are part of the = standard. (Annex B is titled "Interface to Other Languages") Annex B also h= as C++, but my understanding is that there's enough variances in the C++ st= andard that it can depend on which C++ implementation you're trying to inte= rface with. (I haven't used the C++ foreign-interfaces so I cannot give you= a more definite answer WRT C++.) Interfacing with other languages is _VERY_ easy. -- As an example let's say= you've got a banking program in COBOL and you want to use a function which= takes a USER-ID typed value and adds a currency typed value to it, this co= uld be as simple as: Type User_ID is range 0..2**32-1 -- a 32-bit ID, w/ COBOL's layout. with Size =3D> 32, Convention =3D> COBOL; Type Currency is delta 0.01 range 0.00..1_000_000_000.00 -- $0 to 1 Billion= . with Size =3D> 64, Convention =3D> COBOL; =20 Procedure Deposit( Account : in out User_ID; Amount : in Currency ) with Import, Convention =3D> COBOL, External_Name =3D> "DO-DEPOSIT"; > or if there some other data solution for gnoga.com/ada? I don't know if Gnoga has an integrated DB solution; if it's small to mediu= m sized you might be able to get away w/o a DB at all and simply use contai= ners and streaming for persistence. =20 > Can postgresql if used properly scale? Yes.