On Wednesday, 5 February 2014 at 15:43:45 UTC, Dicebot wrote:
For delegates it actually has a meaning. No deprecation.
It's the same meaning as for scope classes though. And the same
unsafety.
On Wednesday, 5 February 2014 at 15:38:14 UTC, Cooler wrote:
On Tuesday, 4 February 2014 at 03:26:04 UTC, Dan Killebrew
wrote:
It seems to me that worker threads will continue as long as
the queue isn't empty. So if a task adds another task to the
pool, some worker will process the newly
On Thursday, 6 February 2014 at 14:52:36 UTC, Cooler wrote:
On Thursday, 6 February 2014 at 14:42:57 UTC, Cooler wrote:
On Thursday, 6 February 2014 at 11:30:17 UTC, Andrea Fontana
wrote:
On Wednesday, 5 February 2014 at 15:38:14 UTC, Cooler wrote:
On Tuesday, 4 February 2014 at 03:26:04 UTC,
On Thursday, 6 February 2014 at 16:07:51 UTC, Andrea Fontana
wrote:
On Thursday, 6 February 2014 at 14:52:36 UTC, Cooler wrote:
On Thursday, 6 February 2014 at 14:42:57 UTC, Cooler wrote:
On Thursday, 6 February 2014 at 11:30:17 UTC, Andrea Fontana
wrote:
On Wednesday, 5 February 2014 at
On Mon, 2014-02-03 at 00:00 +, Cooler wrote:
I have several tasks. Each task may or may not create another
task. What is the best way to wait until all tasks finished?
What you are describing here is a classic fork/join architecture. The
tasks are structured as a tree with synchronization
On Thursday, 6 February 2014 at 18:50:28 UTC, Cooler wrote:
Example3:
foreach(i, c; s){
// do something with c and i
}
this is the best. You can also specific c to be char or wchar or
dchar specifically if you want it do do some UTF decoding for
you. (char is the default - note that this
On Wednesday, 5 February 2014 at 15:43:45 UTC, Dicebot wrote:
D documentation has rather incosistent naming for attribute
groups.
- scope classes are deprecated, but usage of scope as storage
class is still legal (it is expected to be a no-op for now)
Couldn't scope allocating a class
On Thursday, 6 February 2014 at 21:26:06 UTC, Gary Willoughby
wrote:
I know you can convert functions into delegates using:
http://dlang.org/phobos/std_functional.html#.toDelegate but can
you do this the other way around?
I have a method that needs a function pointer but it would be
nice to
On Thursday, 6 February 2014 at 19:01:52 UTC, Brad Anderson wrote:
On Wednesday, 5 February 2014 at 15:43:45 UTC, Dicebot wrote:
D documentation has rather incosistent naming for attribute
groups.
- scope classes are deprecated, but usage of scope as storage
class is still legal (it is
On Thursday, 6 February 2014 at 21:26:06 UTC, Gary Willoughby
wrote:
I know you can convert functions into delegates using:
http://dlang.org/phobos/std_functional.html#.toDelegate but can
you do this the other way around?
I have a method that needs a function pointer but it would be
nice to
How do i get aliases to overloads of a template method like
Class A
{
int a(T)(T tq,T tw);
int a(T)(T tq);
}
__traits(getOverloads, A, a(int))doesnt work
On Thursday, 6 February 2014 at 22:15:00 UTC, Dicebot wrote:
assert(!dg.ptr);
Note that Dicebot's version works only because he chose a
delegate that points to something that doesn't need an external
state. The below method, Foo.dump(), would fail the assert
because it requires a
Am Mon, 03 Feb 2014 10:25:17 +
schrieb Chris wend...@tcd.ie:
MyStruct(T) {
T[T] attributes;
//
public auto getAttribute(T attr) {
if (!(attr in attributes)) {
return null; // Doesn't work for numbers!
}
return attributes[attr];
}
}
On Tuesday, 4 February 2014 at 16:17:30 UTC, Russel Winder wrote:
On Tue, 2014-02-04 at 12:45 +, Artem Tarasov wrote:
But it does lead to a working system :-)
Any particular reason you aren't using CeleriD to build this
shared lib? CeleriD uses some hooks to call rt_init when the
Am Mon, 03 Feb 2014 22:01:14 +
schrieb Stanislav Blinov stanislav.bli...@gmail.com:
Return-by-value being optimized as a move might be one more
reason why you would like to use slices instead of variables to
store coordinates (since that would mean just moving a pointer
and a size_t),
Am Tue, 04 Feb 2014 00:04:22 +
schrieb Rene Zwanenburg renezwanenb...@gmail.com:
On Monday, 3 February 2014 at 23:50:54 UTC, bearophile wrote:
Rene Zwanenburg:
The problem is speed. I'm using LockingTextReader in
std.stdio, but it't not nearly fast enough. On my system it
only
I was attempting to to build my app COMPO using a Makefile this
morning, and at first this worked to some extent, but after some
fiddling with compiler flags to make a release version that then
had problems, I reverted to my original makefile as of yesterday.
That builds and links the app, but
17 matches
Mail list logo