Hi!
I'm trying to write a simple D program to emulate "parallel -u -jN", ie.
running a number of commands in parallel to take advantage of a multicore
machine (I'm testing on a 24-core Ubuntu machine).
I have written almost equivalent programs in C++ and D, and hoped that they
should run equally
On Wed, Jul 29, 2015 at 11:47 AM, Jacob Carlborg via Digitalmars-d <
digitalmars-d@puremagic.com> wrote:
> On 2015-07-27 14:03, Johan Holmberg via Digitalmars-d wrote:
>
>> The timings running my program normally (not using Instruments now),
>> became as follows with the d
On Mon, Jul 27, 2015 at 11:03 AM, via Digitalmars-d <
digitalmars-d@puremagic.com> wrote:
> Are you including program startup and exit in the timing? For comparison,
> can you include the timings of an empty do-nothing program in all the
> languages?
>
Yes, I measure the whole program. But these
On Sun, Jul 26, 2015 at 5:36 PM, Andrei Alexandrescu via Digitalmars-d <
digitalmars-d@puremagic.com> wrote:
> On 7/26/15 10:35 AM, Johan Holmberg via Digitalmars-d wrote:
>
>>
>> On Sat, Jul 25, 2015 at 10:12 PM, Andrei Alexandrescu via Digitalmars-d
>> mailto:digit
On Sat, Jul 25, 2015 at 10:12 PM, Andrei Alexandrescu via Digitalmars-d <
digitalmars-d@puremagic.com> wrote:
> On 7/25/15 1:53 PM, Johan Holmberg via Digitalmars-d wrote:
>
>> Thanks, my question seems like a carbon copy of the Stack Overflow
>> article :) Somehow I had
On Sat, Jul 25, 2015 at 7:14 PM, Andrei Alexandrescu via Digitalmars-d <
digitalmars-d@puremagic.com> wrote:
> On 7/25/15 8:19 AM, Johan Holmberg via Digitalmars-d wrote:
>
>> Hi!
>>
>> I am trying to port a program I have written earlier to D. My previous
>> v
Hi!
I am trying to port a program I have written earlier to D. My previous
versions are in C++ and Python. I was hoping that a D version would be
similar in speed to the C++ version, rather than similar to the Python
version. But currently it isn't.
Part of the problem may be that I haven't learn