comp.lang.ada
 help / color / mirror / Atom feed
From: Optikos <optikos@verizon.net>
Subject: Re: can ada do this?
Date: Fri, 17 May 2019 06:52:43 -0700 (PDT)
Date: 2019-05-17T06:52:43-07:00	[thread overview]
Message-ID: <3f5d3e31-f155-45ea-b171-49eda1be281d@googlegroups.com> (raw)
In-Reply-To: <53aecf06-e2f0-48f5-a9f1-1902b6092eb5@googlegroups.com>

On Friday, May 17, 2019 at 12:40:00 AM UTC-5, Maciej Sobczak wrote:
> > 1 can you talk to scylla from ada?
> 
> Most likely the easiest path is to bind to the C client API, if the pure-Ada API does not exist.

Rabican, this is the recurring wise advice to you, if you are interested in coding something in Ada up regarding Scyla.  As I mentioned above, the other (nonC++) languages' bindings to Scyla provide a rich amount of tutorials that can be borrowed for Ada too.

> > 2 could u replace scyla with somethign better coded in ada?
> 
> What do you mean by "better coded"?

e.g.,
A) Coded in, e.g., SPARK/Ada to be (mathematically-)provably correct.
B) Coded with resource-pools for embedded systems in mind (à la Multics segmented partitioning) instead of One Big Enormous Heap for general-purpose computing (à la Unix monolith).

> Is this product badly coded, currently? Or, if you think that the product would benefit from better coding
> (presumably in the context of some bug, which is a local problem), would it be possible to code it better
> in the existing language (presumably by fixing the local bug)?

Presumably •not• in the context of local bug as you surmise, but in the context of a systemic widespread architectural flaw or lack that C++ (mis)leads designers into, such as A or B above.

> And, lastly, why would anybody replace an existing (and apparently very good) product with another
> one? It's much better to spend your effort creating something new instead.

Answer:  To achieve quite different architectural or design goals than the Scyla team had in mind.

That all being said, even Ada2020 will lack enough breakthrough differences from C++ at the language level for the language alone to steer an Ada-based Scyla-esque different-thingy to be revolutionarily different.  Mainstream Ada culture does differ markedly from mainstream C++ culture, so the different architectural or design goals would more likely arise from cultural differences at the human-idiom level than at what the piecemeal language feature-set minutia actually permits or prohibits.

Some Adaphiles yearn for a more-pandering-to-popularity AdaNG (Ada next generation) that, say, has braces instead of BEGIN END, and numerous other shallow “features”.  Other Adaphiles like me yearn for a quite different AdaNG that, while remaining true to Ada2020, resurrects the propensity toward begetting something analogous to the breakthroughs of PL/1 and Algol68 in the 1960s and of Ada in the 1970s by setting the bar far far higher regarding what software (and software-engineering and systems engineering) designs, principles, and practices can be achieved easily via expanded expressivity in more (and/or more-flexible) language constructs (instead of contortedly jammed through the backdoor in C++ if even possible at all in C++'s syntax or culture).

  reply	other threads:[~2019-05-17 13:52 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-10 15:05 can ada do this? Rabican
2019-05-10 16:45 ` Shark8
2019-05-10 17:53   ` Optikos
2019-05-13  6:02   ` Maciej Sobczak
2019-05-13  8:21     ` Niklas Holsti
2019-05-17  1:57     ` Rabican
2019-05-17 22:59       ` Shark8
2019-05-17  1:58   ` Rabican
2019-05-17  5:39     ` Maciej Sobczak
2019-05-17 13:52       ` Optikos [this message]
2019-05-17 14:42         ` gautier_niouzes
2019-05-17 20:36           ` Optikos
2019-05-18  0:42           ` Dennis Lee Bieber
2019-05-29 18:22       ` Rabican
2019-05-10 18:00 ` Per Sandberg
2019-05-10 23:56 ` Stephen Leake
replies disabled

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