On Wednesday, 8 June 2016 at 23:19:13 UTC, Andrej Mitrovic wrote:
I do have (Steinberg) ASIO binding in D.
The problem is I couldn't release the bindings. I've asked
Steinberg if it was OK to release D bindings and they were
strongly against it unfortunately (and this was over 3 years
On Sunday, 10 July 2016 at 09:20:07 UTC, ketmar wrote:
On Sunday, 10 July 2016 at 09:05:46 UTC, Tofu Ninja wrote:
Your joking right? No personal attacks?
where do you see personal attack in my words? i'm not saying
that OP is dumb, and i'm not saying that his proposal is dumb.
but it is
I should point out also that this should be inheritable.
Eventually I would like to create an algebra of SuperFunctions.
e.g., SF3 = SF1 + SF2
is a new super function that combines the parameter list of SF1
and SF2 and unionizes their return type. Both functions are
called by Do(which will
On Tuesday, 28 June 2016 at 01:41:03 UTC, "Smoke" Adams wrote:
I have a type
public class SuperFunction(T)
{
T t;
return(T) Do() { return t(); }
}
where T is a delegate or function. First, I would like to be
able to specify that this must be the case for SuperFunction so
we can't pass
I have a type
public class SuperFunction(T)
{
T t;
return(T) Do() { return t(); }
}
where T is a delegate or function. First, I would like to be able
to specify that this must be the case for SuperFunction so we
can't pass non-function/delegates for T. Second, How to specify
the return
On Monday, 27 June 2016 at 22:56:35 UTC, Ali Çehreli wrote:
On 06/27/2016 02:58 PM, Smoke Adams wrote:
I'm in need of a way to create a local array that isn't GC'ed.
It must
be dynamic in the sense of setting the size at compile time
but it will
be used only in scope and only on structs.
I'm in need of a way to create a local array that isn't GC'ed. It
must be dynamic in the sense of setting the size at compile time
but it will be used only in scope and only on structs.
function x(int y)
{
bool[y] arr;
arr ~= 3;
}
I care about slicing or anything but appending,
I have
alias fnc = void function(Object);
alias del = void delegate();
Does func avoid the GC? I am passing in this to Object so I don't
technically need a delegate or a "context". I want to be sure
that I'm actually gaining something here by doing this.
I read somewhere that delegates only
On Sunday, 26 June 2016 at 16:02:18 UTC, ag0aep6g wrote:
On 06/26/2016 05:37 PM, Smoke Adams wrote:
[...]
Unsolicited spelling correction: no 'i' in "deprecated".
[...]
`system` directly prints its output, `executeShell` returns it
in a tuple with the status code. Maybe cls works by
system("cls") works but executeShell doesn't. system is
depreciated.
What's going on? The docs say that it creates a new process. I
simply want to clear the console!
On Saturday, 25 June 2016 at 22:44:37 UTC, Walter Bright wrote:
Andrei identified a key blocker for D adoption is the
incomplete implementation of @safe. I'm working on the compiler
end. But Phobos has a lot of code that is pointlessly not
@safe, making it frustrating to write @safe code that
On Sunday, 26 June 2016 at 03:54:28 UTC, deadalnix wrote:
On Sunday, 26 June 2016 at 02:05:53 UTC, "Smoke" Adams wrote:
On Sunday, 26 June 2016 at 00:31:29 UTC, deadalnix wrote:
On Saturday, 25 June 2016 at 23:01:00 UTC, "Smoke" Adams
wrote:
This proves nothing.
This isn't a proof, this is
On Sunday, 26 June 2016 at 00:31:29 UTC, deadalnix wrote:
On Saturday, 25 June 2016 at 23:01:00 UTC, "Smoke" Adams wrote:
This proves nothing.
This isn't a proof, this is a definition. This is the
definition that is used by all programming languages out there
and all CPUs. It isn't going
On Friday, 24 June 2016 at 20:43:38 UTC, deadalnix wrote:
On Friday, 24 June 2016 at 20:33:45 UTC, Andrei Alexandrescu
wrote:
In a checked environment, division may "overflow", e.g. -6 /
2u must be typed as uint but is not representable properly one.
How about remainder? I suppose one can
On Friday, 24 June 2016 at 15:35:57 UTC, Steven Schveighoffer
wrote:
On 6/24/16 11:15 AM, Smoke Adams wrote:
On Friday, 24 June 2016 at 03:16:58 UTC, Meta wrote:
On Friday, 24 June 2016 at 03:10:51 UTC, Mike Parker wrote:
Oh, perhaps I misunderstood your question. Do you meant this:
class
On Friday, 24 June 2016 at 03:22:11 UTC, Timon Gehr wrote:
On 24.06.2016 04:36, Smoke Adams wrote:
You do realize that e^(-1/t)^t is a counter example?
e^(-1/t) -> 0 as t -> 0
t -> 0 as t -> 0
That's not a counterexample to anything I said. ^ is
discontinuous at (0,0) and indeed,
On Friday, 24 June 2016 at 03:16:58 UTC, Meta wrote:
On Friday, 24 June 2016 at 03:10:51 UTC, Mike Parker wrote:
Oh, perhaps I misunderstood your question. Do you meant this:
class Foo() {
void bar() { Log(); } // Pass reference to Foo instance
}
void doSomething() { Log(); } // Null
Is there a type of __THIS__ construct similar to __FILE__ and
__LINE__?
Something that returns the current this ptr if it exists, null
otherwise.
Log(string filename = __FILE__, Object obj = __THIS__)()
{
// inspect obj and do stuff
}
On Friday, 24 June 2016 at 01:49:27 UTC, Timon Gehr wrote:
On 24.06.2016 02:14, H. S. Teoh via Digitalmars-d wrote:
On Fri, Jun 24, 2016 at 01:58:01AM +0200, Timon Gehr via
Digitalmars-d wrote:
On 24.06.2016 01:18, H. S. Teoh via Digitalmars-d wrote:
On Thu, Jun 23, 2016 at 11:14:08PM +,
19 matches
Mail list logo