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 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!mx05.eternal-september.org!feeder.eternal-september.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Niklas Holsti Newsgroups: comp.lang.ada Subject: Re: Object Pascal vs Ada -- which is better for a hobbyist? Date: Thu, 04 Jul 2013 21:18:09 +0300 Organization: Tidorum Ltd Message-ID: References: <2b87840a-74a5-4cd7-a32e-7fb18d9cc46b@googlegroups.com> <7bb7562a-dc5f-4292-9502-e4dd0f686c64@googlegroups.com> <8nu4jb5aibjw.sytrhqoe2nuu$.dlg@40tude.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-13 Content-Transfer-Encoding: 8bit X-Trace: individual.net VREuML7cteAP2+UkRNzVVwR4Am0jvD3DjwzKiBD+Tn+wWoIaSF Cancel-Lock: sha1:DyZ//Ew3Ex07DGHLX8VuM07M6VM= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 In-Reply-To: <8nu4jb5aibjw.sytrhqoe2nuu$.dlg@40tude.net> Xref: news.eternal-september.org comp.lang.ada:16113 Date: 2013-07-04T21:18:09+03:00 List-Id: On 13-07-04 17:31 , Dmitry A. Kazakov wrote: > On Thu, 4 Jul 2013 07:22:52 -0700 (PDT), john@peppermind.com 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? Complex functionality that is presented as a library with an API often *looks* simple, because the API documentation seldom bothers to explain all the concepts, constraints, and pitfalls, so it looks like there is a ready solution (= a function call) for every need. This means that you can start coding something quickly, and only discover the problems later. In contrast, if you try to learn Ada tasking from the Ada RM, there is a lot of text, with some complex ideas and issues, plus the flexible syntax that you have master well enough to select the forms you need. Better in the end, of course. -- Niklas Holsti Tidorum Ltd niklas holsti tidorum fi . @ .