Re: @ctfeonly

2017-12-06 Thread Nicholas Wilson via Digitalmars-d-announce
On Thursday, 7 December 2017 at 01:18:04 UTC, Nicholas Wilson wrote: I'd like to add an attribute to indicate that the annotated function is only available at compile time so that in cases where the operation is invalid at runtime (strings and concatenation on a GPU for instance) but the result

@ctfeonly

2017-12-06 Thread Nicholas Wilson via Digitalmars-d-announce
I'd like to add an attribute to indicate that the annotated function is only available at compile time so that in cases where the operation is invalid at runtime (strings and concatenation on a GPU for instance) but the result is only used at compile time (for a mixin) the compiler is free to n

Re: Interfacing D with C: Getting Started

2017-12-06 Thread Mike Parker via Digitalmars-d-announce
On Wednesday, 6 December 2017 at 08:20:25 UTC, Johan Engelen wrote: Overall I find that it'd be much nicer if you focus on C-D interaction only. Currently you've added a lot of things that people really would already know before reading the text: I think preknowledge should be how to create p

Re: GtkD 3.7.0 released, GTK+ with D.

2017-12-06 Thread helxi via Digitalmars-d-announce
On Tuesday, 5 December 2017 at 18:38:06 UTC, aberba wrote: On Saturday, 2 December 2017 at 08:17:24 UTC, helxi wrote: [...] I wanted to do this using some examples I have whilst learning it. Its at the bottom of my list of things I love to do. its not difficult though. It's quite close to t

Re: Interfacing D with C: Getting Started

2017-12-06 Thread Johan Engelen via Digitalmars-d-announce
On Tuesday, 5 December 2017 at 16:06:19 UTC, Mike Parker wrote: This is the first post in a new tutorial series I'm doing on the blog. Hi Mike, Nice. It's always much easier to comment than to write an article from scratch. So take all this with a grain of salt: Overall I find that it'd be