Re: New abstraction: Layout

2018-02-17 Thread psychoRabbit via Digitalmars-d
On Saturday, 17 February 2018 at 09:30:23 UTC, thedeemon wrote: On Saturday, 17 February 2018 at 00:04:16 UTC, Andrei Alexandrescu wrote: The implementation turned out to be quite compact - 81 lines including a compile-time mergesort. Destroy! Off-topic: I've just realized Andrei puts "Destroy

Re: How to represent multiple files in a forum post?

2018-02-17 Thread Jonathan Marler via Digitalmars-d
On Saturday, 17 February 2018 at 22:11:28 UTC, Martin Nowak wrote: On Wednesday, 14 February 2018 at 18:33:23 UTC, Jonathan Marler wrote: @timotheecour and I came up with a solution to a common problem: How to represent multiple files in a forum post? Oh, I thought it already was a standard,

Re: Anybody still using the chm docs

2018-02-17 Thread Manu via Digitalmars-d
On 17 February 2018 at 18:32, Danni Coy wrote: > On Sun, Feb 18, 2018 at 11:10 AM, Manu wrote: > >> On 17 February 2018 at 16:52, Danni Coy wrote: >> >>> Is the reason for favouring chm as a format that it fits in with the >>> visual studio ecosystem better? >>> Having used both pdf and chm hel

Re: Anybody still using the chm docs

2018-02-17 Thread Seb via Digitalmars-d
On Saturday, 17 February 2018 at 21:23:25 UTC, Manu wrote: On 17 February 2018 at 07:04, Martin Nowak via Digitalmars-d < digitalmars-d@puremagic.com> wrote: [...] Wait, what? You asked if people used them, found that they did, then pulled the plug anyway? O_o Try running WINE on the bui

Re: Anybody still using the chm docs

2018-02-17 Thread Danni Coy via Digitalmars-d
On Sun, Feb 18, 2018 at 11:10 AM, Manu wrote: > On 17 February 2018 at 16:52, Danni Coy wrote: > >> Is the reason for favouring chm as a format that it fits in with the >> visual studio ecosystem better? >> Having used both pdf and chm help on Linux I don't see a huge amount of >> difference bet

Re: Anybody still using the chm docs

2018-02-17 Thread Manu via Digitalmars-d
On 17 February 2018 at 16:52, Danni Coy wrote: > Is the reason for favouring chm as a format that it fits in with the > visual studio ecosystem better? > Having used both pdf and chm help on Linux I don't see a huge amount of > difference between competent reading applications. > CHM has a compe

Re: Annoyance with new integer promotion deprecations

2018-02-17 Thread Manu via Digitalmars-d
On 5 February 2018 at 11:22, H. S. Teoh via Digitalmars-d < digitalmars-d@puremagic.com> wrote: > Code: > > struct S { > byte[2] x; > } > void main() { > S s, t; > s.x = [ 1, -1 ];// OK > t.x =

Re: Anybody still using the chm docs

2018-02-17 Thread Walter Bright via Digitalmars-d
On 2/17/2018 7:04 AM, Martin Nowak wrote: Let's pull the plug, I think everybody agrees that we have more important issues than maintaining d.chm and dman (which hasn't been shipped since 2.076 anyhow). Consider both tools as offered for adoption (as an external service or download). https://g

Re: Anybody still using the chm docs

2018-02-17 Thread Danni Coy via Digitalmars-d
Is the reason for favouring chm as a format that it fits in with the visual studio ecosystem better? Having used both pdf and chm help on Linux I don't see a huge amount of difference between competent reading applications. On Sun, Feb 18, 2018 at 7:23 AM, Manu via Digitalmars-d < digitalmars-d@pu

Re: Status of @nogc with the runtime

2018-02-17 Thread Peter Campbell via Digitalmars-d
On Saturday, 17 February 2018 at 23:43:07 UTC, Adam D. Ruppe wrote: On Saturday, 17 February 2018 at 18:03:44 UTC, Peter Campbell wrote: Andrei mentioned at his DConf presentations is that the runtime itself will be modified to not rely on the GC, allowing for you to continue using features suc

Re: Status of @nogc with the runtime

2018-02-17 Thread Adam D. Ruppe via Digitalmars-d
On Saturday, 17 February 2018 at 18:03:44 UTC, Peter Campbell wrote: Andrei mentioned at his DConf presentations is that the runtime itself will be modified to not rely on the GC, allowing for you to continue using features such as associative arrays and array concatenation, but without requiri

Re: Status of @nogc with the runtime

2018-02-17 Thread Peter Campbell via Digitalmars-d
On Saturday, 17 February 2018 at 19:32:50 UTC, bachmeier wrote: On Saturday, 17 February 2018 at 18:03:44 UTC, Peter Campbell wrote: My understanding from the vision documents and what Andrei mentioned at his DConf presentations is that the runtime itself will be modified to not rely on the G

Re: How to represent multiple files in a forum post?

2018-02-17 Thread Martin Nowak via Digitalmars-d
On Wednesday, 14 February 2018 at 18:33:23 UTC, Jonathan Marler wrote: @timotheecour and I came up with a solution to a common problem: How to represent multiple files in a forum post? Oh, I thought it already was a standard, but [.har](https://en.wikipedia.org/wiki/.har) is JSON based and ve

Re: Anybody still using the chm docs

2018-02-17 Thread Manu via Digitalmars-d
On 17 February 2018 at 07:04, Martin Nowak via Digitalmars-d < digitalmars-d@puremagic.com> wrote: > On Wednesday, 15 June 2016 at 10:58:04 UTC, Martin Nowak wrote: > >> It's a huge maintenance effort for us to produce the chm files. >> We no longer generate documentation on Windows, but just for

Re: Anybody still using the chm docs

2018-02-17 Thread Manu via Digitalmars-d
On 16 June 2016 at 06:22, Dejan Lekic via Digitalmars-d < digitalmars-d@puremagic.com> wrote: > I still use CHM document as it is absolutely the best solution compared to >> anything else. I think it is a mistake to compare CHM with PDF... They are >> made for different things... >> > > I forgot t

Re: Anybody still using the chm docs

2018-02-17 Thread Manu via Digitalmars-d
On 15 June 2016 at 03:58, Martin Nowak via Digitalmars-d < digitalmars-d@puremagic.com> wrote: > It's a huge maintenance effort for us to produce the chm files. > We no longer generate documentation on Windows, but just for the chm > generation we have dedicated tools [¹] to create an index (from

Re: New abstraction: Layout

2018-02-17 Thread Steven Schveighoffer via Digitalmars-d
On 2/17/18 9:59 AM, Andrei Alexandrescu wrote: On 02/17/2018 09:03 AM, Steven Schveighoffer wrote: I found this also works: static foreach(alias x; S.tupleof) {     writeln(x.offsetof); } Yes, the implementation uses offsetof. I guess I'm just confused based on the statement "the builtin .

Re: Status of @nogc with the runtime

2018-02-17 Thread bachmeier via Digitalmars-d
On Saturday, 17 February 2018 at 18:03:44 UTC, Peter Campbell wrote: My understanding from the vision documents and what Andrei mentioned at his DConf presentations is that the runtime itself will be modified to not rely on the GC, allowing for you to continue using features such as associati

Re: Status of @nogc with the runtime

2018-02-17 Thread Peter Campbell via Digitalmars-d
On Saturday, 17 February 2018 at 12:32:04 UTC, Mike Franklin wrote: There are a number of ways to use D without the garbage collector. However, one of the easiest is with the -betterC flag. You'll want to read the two blog articles here (https://dlang.org/blog/category/betterc/) for more info

Re: Vulkan

2018-02-17 Thread Peter Campbell via Digitalmars-d
On Tuesday, 13 February 2018 at 22:20:15 UTC, Ivan Trombley wrote: I wanted to do some experimentation with Vulkan using D. None of the projects that I found (derelict-vulkan, d-vulkan and erupted) work. Are there D bindings to Vulkan that actually work? I had success using Vulkan in Univers

Pyd extention with external dependancy

2018-02-17 Thread Samuel via Digitalmars-d
I have been trying to create a python extention using pyd and would like my D code to use an external library, in this case D-YAML. is there a way to tell pyd to include the lib when building the extention?

Re: Anybody still using the chm docs

2018-02-17 Thread Martin Nowak via Digitalmars-d
On Wednesday, 15 June 2016 at 10:58:04 UTC, Martin Nowak wrote: It's a huge maintenance effort for us to produce the chm files. We no longer generate documentation on Windows, but just for the chm generation we have dedicated tools [¹] to create an index (from a json generated via ddoc) and cop

Re: New abstraction: Layout

2018-02-17 Thread Andrei Alexandrescu via Digitalmars-d
On 02/17/2018 09:03 AM, Steven Schveighoffer wrote: On 2/17/18 8:19 AM, Steven Schveighoffer wrote: On 2/16/18 7:04 PM, Andrei Alexandrescu wrote: I've been long bothered that the builtin .tupleof and our own abstractions Fields and RepresentationTypeTuple in std.traits - all omit the essentia

Re: Status of @nogc with the runtime

2018-02-17 Thread Seb via Digitalmars-d
On Saturday, 17 February 2018 at 12:18:28 UTC, Peter Campbell wrote: Hi everyone, it's been almost a year since I used D but I was wanted to get back into it. I was checking the 2017 vision pages and was wondering why there hasn't been a 2018H1 vision page but also what the current status of be

Re: New abstraction: Layout

2018-02-17 Thread Steven Schveighoffer via Digitalmars-d
On 2/17/18 8:19 AM, Steven Schveighoffer wrote: On 2/16/18 7:04 PM, Andrei Alexandrescu wrote: I've been long bothered that the builtin .tupleof and our own abstractions Fields and RepresentationTypeTuple in std.traits - all omit the essential information of field offsets. That makes types that

Re: New abstraction: Layout

2018-02-17 Thread Steven Schveighoffer via Digitalmars-d
On 2/16/18 7:04 PM, Andrei Alexandrescu wrote: I've been long bothered that the builtin .tupleof and our own abstractions Fields and RepresentationTypeTuple in std.traits - all omit the essential information of field offsets. That makes types that use align() to have the same .tupleof, Fields,

Re: New abstraction: Layout

2018-02-17 Thread Andrei Alexandrescu via Digitalmars-d
On 02/16/2018 10:10 PM, rikki cattermole wrote: On 17/02/2018 12:04 AM, Andrei Alexandrescu wrote: I've been long bothered that the builtin .tupleof and our own abstractions Fields and RepresentationTypeTuple in std.traits - all omit the essential information of field offsets. That makes types

Re: Status of @nogc with the runtime

2018-02-17 Thread Eugene Wissner via Digitalmars-d
On Saturday, 17 February 2018 at 12:18:28 UTC, Peter Campbell wrote: Hi everyone, it's been almost a year since I used D but I was wanted to get back into it. I was checking the 2017 vision pages and was wondering why there hasn't been a 2018H1 vision page but also what the current status of be

Re: Status of @nogc with the runtime

2018-02-17 Thread Mike Franklin via Digitalmars-d
On Saturday, 17 February 2018 at 12:18:28 UTC, Peter Campbell wrote: I was checking the 2017 vision pages and was wondering why there hasn't been a 2018H1 vision page but also what the current status of being able to use D without a garbage collector is? There are a number of ways to use D wi

Status of @nogc with the runtime

2018-02-17 Thread Peter Campbell via Digitalmars-d
Hi everyone, it's been almost a year since I used D but I was wanted to get back into it. I was checking the 2017 vision pages and was wondering why there hasn't been a 2018H1 vision page but also what the current status of being able to use D without a garbage collector is? It was noted in t

Re: Which language futures make D overcompicated?

2018-02-17 Thread Laeeth Isharc via Digitalmars-d
On Friday, 9 February 2018 at 19:01:30 UTC, H. S. Teoh wrote: If somebody *paid* me to work on dub, then perhaps I will. But right now, my level of motivation and interest in doing so is pretty low, and is on the losing side of the competition against the myriad other projects that I could be

Re: New abstraction: Layout

2018-02-17 Thread thedeemon via Digitalmars-d
On Saturday, 17 February 2018 at 00:04:16 UTC, Andrei Alexandrescu wrote: The implementation turned out to be quite compact - 81 lines including a compile-time mergesort. Destroy! Off-topic: I've just realized Andrei puts "Destroy!" at the end of his messages because it's the end of scope and