comp.lang.ada
 help / color / mirror / Atom feed
From: Paul Rubin <no.email@nospam.invalid>
Subject: Re: Toy computational "benchmark" in Ada (new blog post)
Date: Thu, 06 Jun 2019 23:00:29 -0700
Date: 2019-06-06T23:00:29-07:00	[thread overview]
Message-ID: <87tvd2vssi.fsf@nightsong.com> (raw)
In-Reply-To: 5425afe3-8e22-4b1b-913c-f274fac7021a@googlegroups.com

David Trudgett <dktrudgett@gmail.com> writes:
> You have not coded the same thing as the Ada code. Do you know any Ada
> at all?

Not much.  I followed the single threaded code pretty closely though,
then used what I think is the current idiomatic C++ method of doing this
stuff with threads, since C++ doesn't have Ada-like tasks.

>> At each of the 50 calculation runs, I launch 4 threads
> As you should know, the Ada code does not do this.

Yes I'll see if I can rework the C++ code to not launch new threads at
each run.  The total number of threads launched isn't all that large
though, and there are never more than 4 running concurrently.


  reply	other threads:[~2019-06-07  6:00 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-06 11:05 Toy computational "benchmark" in Ada (new blog post) David Trudgett
2019-06-06 17:48 ` Olivier Henley
2019-06-06 23:14   ` David Trudgett
2019-06-06 23:27     ` Paul Rubin
2019-06-07  5:24       ` David Trudgett
2019-06-07  5:36         ` Paul Rubin
2019-06-06 20:31 ` Jeffrey R. Carter
2019-06-06 23:02   ` David Trudgett
2019-06-07  0:13     ` Paul Rubin
2019-06-07  4:50       ` Paul Rubin
2019-06-07  5:41         ` David Trudgett
2019-06-07  6:00           ` Paul Rubin [this message]
2019-06-07  6:25             ` David Trudgett
2019-06-07  6:38               ` Paul Rubin
2019-06-07  5:28       ` David Trudgett
2019-06-07  5:57         ` Paul Rubin
2019-06-07  6:21           ` David Trudgett
2019-06-07  6:22             ` Paul Rubin
2019-06-07  6:29               ` David Trudgett
2019-06-07  6:42                 ` Paul Rubin
2019-06-07 17:55     ` Jeffrey R. Carter
2019-06-08 11:00       ` David Trudgett
2019-06-07  1:42 ` johnscpg
2019-06-07  5:34   ` David Trudgett
2019-06-08 10:17     ` David Trudgett
2019-06-08  1:14 ` johnscpg
2019-06-08 10:56   ` David Trudgett
replies disabled

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