comp.lang.ada
 help / color / mirror / Atom feed
From: Rabican <gavinschuette@gmail.com>
Subject: Re: scylladb.com +php vs gonga.com and what? or just use gnoga with scylla?
Date: Wed, 20 Mar 2019 18:41:45 -0700 (PDT)
Date: 2019-03-20T18:41:45-07:00	[thread overview]
Message-ID: <26d9d458-b659-4fae-a1fa-4fcad00855f4@googlegroups.com> (raw)
In-Reply-To: <a2575a13-2c3e-46b8-a2ad-41844ccba05c@googlegroups.com>

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?
> > 
> > scylladb.com looks cool
> > 
> > I understand ada is fast and maintainable and easy to learn.
> 
> It is.
> Especially if you know another programming language.
>  
> > Can it use scylla ? how easily?
> 
> 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 the 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 interface 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 could be as simple as:
> 
> Type User_ID is range 0..2**32-1 -- a 32-bit ID, w/ COBOL's layout.
>   with Size => 32, Convention => COBOL;
> Type Currency is delta 0.01 range 0.00..1_000_000_000.00 -- $0 to 1 Billion.
>   with Size => 64, Convention => COBOL;
>   
> Procedure Deposit( Account : in out User_ID; Amount : in Currency )
>   with Import, Convention => COBOL, External_Name => "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 medium sized you might be able to get away w/o a DB at all and simply use containers and streaming for persistence.
>  
> > Can postgresql if used properly scale?
> Yes.

thx!

  reply	other threads:[~2019-03-21  1:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-14 18:10 scylladb.com +php vs gonga.com and what? or just use gnoga with scylla? Rabican
2019-03-14 20:01 ` Shark8
2019-03-21  1:41   ` Rabican [this message]
2019-03-21  5:17   ` gautier_niouzes
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox