comp.lang.ada
 help / color / mirror / Atom feed
From: john@peppermind.com
Subject: Re: Object Pascal vs Ada -- which is better for a hobbyist?
Date: Thu, 4 Jul 2013 11:49:12 -0700 (PDT)
Date: 2013-07-04T11:49:12-07:00	[thread overview]
Message-ID: <408a6c56-6da9-4327-9dd3-1fd669521110@googlegroups.com> (raw)
In-Reply-To: <8nu4jb5aibjw.sytrhqoe2nuu$.dlg@40tude.net>

On Thursday, July 4, 2013 3:31:40 PM UTC+1, Dmitry A. Kazakov wrote:

> 
> 
> 
> >> tasking is more complicated than in other languages because
> 
> >> 
> 
> >>> it is properly defined and not just wrapped around OS threads.
> 
> >> 
> 
> >> I second all this, but the last argument is odd. Something well-defined is
> 
> >> more > complicated than something not so well-defined?
> 
> > 
> 
> > Isn't that often the case? I didn't want to imply that there is anything
> 
> > wrong with Ada tasking. To paraphrase Einstein: "Everything should be made
> 
> > as simple as possible, but no simpler."
> 
> 
> 
> This discussion reads strange to me. How can anybody seriously claim that
> 
> beginthread, fork, CreateMutex, WaitForSingleObject, compartments etc stuff
> 
> is simpler than Ada's tasking. Is it a joke?
> 
 
No, but we might have different perspectives. I've just learned Ada. In comparison with FreePascal you're right about parallelism constructs, though. I've checked on their web pages and it looks fairly complicated. I had other languages in mind, where it's often easy to write parallel code but hard to make it correct.  For example in Racket, (thread <thunk>) will execute the parameterless function <thunk> concurrently. Or, take OpenMP on top of C++ where you can use pragmas like #pragma omp parallel for automatically parallelizing loops.

For me as an Ada newbie learning tasks and protected objects was easy - but understanding Rendezvous was hard. Having Barnes's book and McCormick et. al. helped, but generally I'd say the Ada references focus on completeness and correctness rather than being beginner-friendly.


  parent reply	other threads:[~2013-07-04 18:49 UTC|newest]

Thread overview: 88+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-04  6:59 Object Pascal vs Ada -- which is better for a hobbyist? Dufr
2013-07-04  9:12 ` Nasser M. Abbasi
2013-07-04 11:47 ` gautier_niouzes
2013-07-04 15:50   ` Bill Findlay
2013-08-27 14:34   ` Yannick Duchêne (Hibou57)
2013-08-27 23:18     ` Oliver Kleinke
2013-07-04 11:48 ` john
2013-07-04 14:00   ` AdaMagica
2013-07-04 14:22     ` john
2013-07-04 14:31       ` Dmitry A. Kazakov
2013-07-04 18:18         ` Niklas Holsti
2013-07-04 19:04           ` J-P. Rosen
2013-07-04 20:24             ` Jeffrey Carter
2013-07-04 20:36               ` Shark8
2013-07-05 21:20               ` Robert A Duff
2013-07-05 23:39                 ` Jeffrey Carter
2013-08-27 14:47           ` Yannick Duchêne (Hibou57)
2013-08-27 23:24             ` Oliver Kleinke
2013-07-04 18:49         ` john [this message]
2013-07-04 15:49 ` Bill Findlay
2013-07-04 16:00 ` Lucretia
2013-07-04 17:59 ` Jeffrey Carter
2013-07-05 21:39 ` Robert A Duff
2013-07-06  7:04 ` Dufr
2013-07-06 15:53   ` Georg Bauhaus
2013-07-06 17:41   ` Jeffrey Carter
2013-07-06 18:59     ` Shark8
2013-07-06 18:36   ` Ludovic Brenta
2013-07-06 22:19   ` Maurizio Tomasi
2013-07-07  8:43     ` Mike H
2013-07-08 13:53   ` Marc C
2013-08-27 14:50   ` Yannick Duchêne (Hibou57)
2013-08-27 16:50     ` Simon Clubley
2013-08-27 17:02       ` Bill Findlay
2013-08-27 20:27       ` Yannick Duchêne (Hibou57)
2013-08-28 12:05         ` Simon Clubley
2013-08-27 21:08       ` Gour
2013-08-27 22:57         ` Yannick Duchêne (Hibou57)
2013-08-28  8:54           ` Gour
2013-08-28  9:35             ` Web-UI for Ada applications (Was: Object Pascal vs Ada -- which is better for a hobbyist?) Jacob Sparre Andersen
2013-08-28 10:48               ` Web-UI for Ada applications Gour
2013-08-28 11:32                 ` Simon Clubley
2013-08-28 11:54                   ` Gour
2013-08-28 12:05                   ` G.B.
2013-08-28 16:13                     ` Yannick Duchêne (Hibou57)
2013-08-28 15:54                   ` Yannick Duchêne (Hibou57)
2013-08-28 14:08                 ` Jacob Sparre Andersen
2013-08-28 15:34               ` Web-UI for Ada applications (Was: Object Pascal vs Ada -- which is better for a hobbyist?) Yannick Duchêne (Hibou57)
2013-08-29  9:51                 ` Web-UI for Ada applications Jacob Sparre Andersen
2013-08-27 23:17         ` Object Pascal vs Ada -- which is better for a hobbyist? Yannick Duchêne (Hibou57)
2013-08-27 23:37         ` Yannick Duchêne (Hibou57)
2013-08-27 23:40           ` Yannick Duchêne (Hibou57)
2013-08-28  0:04             ` Oliver Kleinke
2013-08-28  6:28           ` Simon Wright
2013-09-01  3:04           ` Maurizio Tomasi
2013-09-01  3:48             ` Shark8
2013-08-28  8:02         ` Dmitry A. Kazakov
2013-08-28  9:01           ` Gour
2013-08-28  9:55             ` Dmitry A. Kazakov
2013-08-28 10:42               ` Gour
2013-07-07  4:14 ` Patrick
2013-08-27 14:23 ` Yannick Duchêne (Hibou57)
2016-03-14 15:29 ` girobusan
2016-03-14 18:19   ` Jeffrey R. Carter
2016-03-14 18:57     ` Dmitry A. Kazakov
2016-03-14 23:52       ` Randy Brukardt
2016-03-15 10:51       ` Bob Butler
2016-03-15 21:51         ` Randy Brukardt
2016-03-16 11:07           ` Bob Butler
2016-03-16 21:22             ` Ludovic Brenta
2016-03-17  1:08               ` brbarkstrom
2016-03-17  7:59               ` Bob Butler
2016-03-17  8:36                 ` gautier_niouzes
2016-03-15  9:04     ` egarrulo
2016-03-15  9:34       ` Dmitry A. Kazakov
2016-03-15  9:56         ` egarrulo
2016-03-15 10:23           ` Dmitry A. Kazakov
2016-03-15 10:31             ` egarrulo
2016-03-15 10:53               ` egarrulo
2016-03-15 13:18                 ` G.B.
2016-03-15 13:52                   ` egarrulo
2016-03-15 14:28                     ` G.B.
2016-03-15 14:31                       ` egarrulo
2016-03-17 14:59                         ` sjaniska
2016-03-15 17:50                       ` Nasser M. Abbasi
2016-03-16 15:43                     ` Jeremiah
2016-03-15 14:38                   ` G.B.
2016-03-15 17:33               ` Nasser M. Abbasi
replies disabled

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