comp.lang.ada
 help / color / mirror / Atom feed
From: John Perry <john.perry@usm.edu>
Subject: Re: How to make Ada popular. Get rid of ";" at end of statement.
Date: Thu, 25 Jul 2019 09:18:20 -0700 (PDT)
Date: 2019-07-25T09:18:20-07:00	[thread overview]
Message-ID: <2bede4ed-485b-4edb-9fcf-46f49ff82fb5@googlegroups.com> (raw)
In-Reply-To: <1dc13d50-7606-4530-b5cc-19e07b4d4938@googlegroups.com>

On Thursday, July 25, 2019 at 2:26:29 AM UTC-5, Maciej Sobczak wrote:
> > The one concrete reason I've ever heard for using C or C++ instead of Modula-2 or Ada is that C/C++ allow you to perform pointer arithmetic
> 
> Really? I would never consider that reason myself.

My question regarded the late 80s and early 90s, when (as I perceived it then) Turbo Pascal was still taught at some universities, Modula-2 was established in some places and still had a chance, C++ was only getting started, and Ada was required for DoD work. Also, we were discussing a certain kind of academic research, where the libraries you're talking about often don't exist. So, of the point of my question was more along the lines of: with all the safety problems C has (and which C++ often carries over), why didn't safe(r) languages get anywhere?

That said, your point on libraries rings true. In 1992 or thereabouts I had to set up an Ingres/SQL database using the C language interface. I remember being frustrated with the number of times the program crashed because I forgot an ampersand (for example). And my interlocutor would certainly agree about libraries, as he's a huge fan of the C++ STL.

> 2. Again with regard to embedded systems, hardware vendors provide their own IDEs. It's not just about libraries, see above, it's about the whole integrated approach to use the hardware from configuration to synthesis to programming. These IDEs are oriented towards C and C++ and with each new generation using any other language is more and more difficult. That is, it is genuinely *easier* to use C and C++.

I haven't used one of these with C or C++, but I have done some work in Java & Kotlin on IntelliJ (Android Studio, though AS seems really slow in comparison), and the difference between that IDE and my previous setup was an eye-opener. I may embarrass myself here, but I was impressed that it reports errors as you type, recommends more idiomatic code, even more efficient constructs...

GPS, at least as shipped by AdaCore with the Community Edition, doesn't offer nearly as much.

john perry


  parent reply	other threads:[~2019-07-25 16:18 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-19 21:41 How to make Ada popular. Get rid of ";" at end of statement Nasser M. Abbasi
2019-07-19 22:09 ` Dmitry A. Kazakov
2019-07-20  6:47   ` J-P. Rosen
2019-07-20  8:42     ` Paul Rubin
2019-07-21  5:11       ` J-P. Rosen
2019-07-23  9:24         ` darek
2019-07-20 17:08     ` Stéphane Rivière
2019-07-20 13:46   ` Dennis Lee Bieber
2019-07-20  0:47 ` Matt Borchers
2019-07-20 13:54   ` Dennis Lee Bieber
2019-07-20 14:40 ` Stephen Davies
2019-07-20 15:45   ` Optikos
2019-07-20 17:24     ` joviangm
2019-07-20 19:10       ` Optikos
2019-07-20 19:17         ` AdaMagica
2019-07-20 22:25           ` Paul Rubin
2019-07-20 23:08           ` Optikos
2019-07-20 22:24         ` Paul Rubin
2019-07-20 21:14   ` Keith Thompson
2019-07-23 21:58 ` Ingo M.
2019-07-23 23:56   ` Paul Rubin
2019-07-24 14:06   ` John Perry
2019-07-24 14:51     ` Ingo M.
2019-07-24 15:29       ` Dmitry A. Kazakov
2019-07-25 10:58         ` Ingo M.
2019-07-25 12:16           ` Dmitry A. Kazakov
2019-07-26 10:54           ` antispam
2019-07-26 11:35             ` Niklas Holsti
2019-07-26 16:07               ` Simon Wright
2019-07-24 19:52       ` Ingo M.
2019-07-24 20:31         ` J-P. Rosen
2019-07-25 13:34           ` gautier_niouzes
2019-07-25  7:26     ` Maciej Sobczak
2019-07-25 10:47       ` Ingo M.
2019-07-25 16:18       ` John Perry [this message]
2019-07-25 18:31         ` Dennis Lee Bieber
2019-07-26 18:04         ` Shark8
2019-07-26 18:53         ` Niklas Holsti
2019-07-26 19:16       ` Niklas Holsti
2019-07-27  1:27       ` Lucretia
2019-07-27  1:34         ` Keith Thompson
2019-07-27  3:11           ` Randy Brukardt
2019-07-27  4:06             ` Keith Thompson
replies disabled

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