On Sunday, September 8, 2019 12:12:53 PM MDT Exil via Digitalmars-d-learn
wrote:
> On Saturday, 7 September 2019 at 22:19:48 UTC, Jonathan M Davis
>
> wrote:
> > On Saturday, September 7, 2019 3:40:58 PM MDT Exil via
> >
> > Digitalmars-d-learn wrote:
> >> On Saturday, 7 September 2019 at 17:22:07
On Saturday, 7 September 2019 at 22:19:48 UTC, Jonathan M Davis
wrote:
On Saturday, September 7, 2019 3:40:58 PM MDT Exil via
Digitalmars-d-learn wrote:
On Saturday, 7 September 2019 at 17:22:07 UTC, Jonathan M Davis
wrote:
> @safe:
> @system:
>
> then @system overrides @safe.
Just to add onto
On Sunday, 8 September 2019 at 10:04:57 UTC, Joel wrote:
I'm trying to understand delegates. Is there any good ways I
can get a better understanding of them?
I am no compiler implementer, so what is below may contain a lot
of inaccuracies and conceptual shortcuts, but here is my view of
dele
import std.stdio, std.bigint;
//
// https://twitter.com/robinhouston/status/1169877007045296128
//
void main()
{
BigInt a = "80538738812075974";
BigInt b = "80435758145817515";
BigInt c = "12602123297335631";
writeln("42=", (-a)^^3 + b^^3 + c^^3);
}
On Sunday, 8 September 2019 at 10:04:57 UTC, Joel wrote:
I'm trying to understand delegates. Is there any good ways I
can get a better understanding of them?
I wrote a foreach loop using opApply. A side effect of that was,
that after I managed to do this I understood delegates. :-)
On Sunday, 8 September 2019 at 10:04:57 UTC, Joel wrote:
I'm trying to understand delegates. Is there any good ways I
can get a better understanding of them?
You may want to read this:
https://tour.dlang.org/tour/en/basics/delegates
On Sunday, 8 September 2019 at 09:35:03 UTC, Jonathan M Davis
wrote:
The C++ support has been improved kind of piecemeal over time,
and initially, none of it was documented. So, it wasn't exactly
fully planned out when it was added. IIRC, it was added
originally so that the dmd frontend could
I'm trying to understand delegates. Is there any good ways I can
get a better understanding of them?
On Sunday, September 8, 2019 3:03:31 AM MDT Max Samukha via Digitalmars-d-
learn wrote:
> On Saturday, 7 September 2019 at 22:19:48 UTC, Jonathan M Davis
>
> wrote:
> > On Saturday, September 7, 2019 3:40:58 PM MDT Exil via
> >
> > Digitalmars-d-learn wrote:
> >> On Saturday, 7 September 2019 at 17
On Saturday, 7 September 2019 at 22:19:48 UTC, Jonathan M Davis
wrote:
On Saturday, September 7, 2019 3:40:58 PM MDT Exil via
Digitalmars-d-learn wrote:
On Saturday, 7 September 2019 at 17:22:07 UTC, Jonathan M Davis
wrote:
> @safe:
> @system:
>
> then @system overrides @safe.
Just to add onto
On 08/09/2019 00:30, malpropism wrote:
> I just ported my Java application to D, got it to compile, but not to link.
>
> I'm using Windows 10 64 bit, DMD 2.088.0 , Visual D 0.50.1. This would
> be a C/C++ project in Visual Studio with only D code.
>
> With my first attempt, I'm missing 65 ext
11 matches
Mail list logo