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:a24:9fc4:: with SMTP id c187mr355224ite.23.1553132506077; Wed, 20 Mar 2019 18:41:46 -0700 (PDT) X-Received: by 2002:a9d:3de3:: with SMTP id l90mr838040otc.306.1553132505811; Wed, 20 Mar 2019 18:41:45 -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.166.215.MISMATCH!78no70253itl.0!news-out.google.com!l81ni94itl.0!nntp.google.com!w126no70453ita.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 20 Mar 2019 18:41:45 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=209.6.150.53; posting-account=EJa43AoAAADqsw8wi0Dr1nlSnlaxkSMa NNTP-Posting-Host: 209.6.150.53 References: <3b20307d-659b-497f-bb73-db39df011d4c@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <26d9d458-b659-4fae-a1fa-4fcad00855f4@googlegroups.com> Subject: Re: scylladb.com +php vs gonga.com and what? or just use gnoga with scylla? From: Rabican Injection-Date: Thu, 21 Mar 2019 01:41:46 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader01.eternal-september.org comp.lang.ada:55914 Date: 2019-03-20T18:41:45-07:00 List-Id: On Thursday, March 14, 2019 at 4:01:53 PM UTC-4, Shark8 wrote: > 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. >=20 > It is. > Especially if you know another programming language. > =20 > > Can it use scylla ? how easily? >=20 > I don't know if it can; but if it has bindings to C, COBOL, or FORTRAN it= can do so *easily* because such foreign-function interfaces are part of th= e standard. (Annex B is titled "Interface to Other Languages") Annex B also= has C++, but my understanding is that there's enough variances in the C++ = standard that it can depend on which C++ implementation you're trying to in= terface with. (I haven't used the C++ foreign-interfaces so I cannot give y= ou a more definite answer WRT C++.) >=20 > Interfacing with other languages is _VERY_ easy. -- As an example let's s= ay you've got a banking program in COBOL and you want to use a function whi= ch takes a USER-ID typed value and adds a currency typed value to it, this = could be as simple as: >=20 > 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 Billi= on. > 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"; >=20 > > 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 med= ium sized you might be able to get away w/o a DB at all and simply use cont= ainers and streaming for persistence. > =20 > > Can postgresql if used properly scale? > Yes. thx!