ASYNCREAD in dmd driver (mars.d)

2017-10-09 Thread b4s1L3 via Digitalmars-d
I've just noticed some dead code (at least since self-hosting started, because otherwise git blame is not useful) in dmd's driver. All the *static if* blocks that test the value of ASYNCREAD are dead. Should they be removed or something ? https://github.com/dlang/dmd/blame/32bb4ed7526b2bd622

Re: Finding class template instantiations via runtime reflection (for openmethods)

2017-09-25 Thread b4s1L3 via Digitalmars-d
On Thursday, 21 September 2017 at 20:32:38 UTC, Jean-Louis Leroy wrote: It did not take long! Someone tried to create templatized open methods and it didn't work right of the box. I expected that, but in fact there may be a bit of hope. You cannot have virtual function templates in C++ or in D

Re: Specifying @nogc on structs seems to have no effect

2017-09-20 Thread B4s1L3 via Digitalmars-d
On Wednesday, 20 September 2017 at 16:13:44 UTC, Craig Black wrote: On Wednesday, 20 September 2017 at 02:43:44 UTC, B4s1L3 wrote: It's another way of doing things. It's less strict than checking all the functions. note: the script can be run directly by passing the file to DUB (single file p

Re: Specifying @nogc on structs seems to have no effect

2017-09-19 Thread B4s1L3 via Digitalmars-d
On Tuesday, 19 September 2017 at 13:11:03 UTC, Craig Black wrote: I've recently tried coding in D again after some years. One of my earlier concerns was the ability to code without the GC, which seemed difficult to pull off. To be clear, I want my programs to be garbage collected, but I want

Re: Editor recommendations for new users.

2017-08-30 Thread b4s1L3 via Digitalmars-d
On Wednesday, 30 August 2017 at 11:28:35 UTC, Anonymouse wrote: Dutyl[3] seems much more interesting but also more daunting, considering that my vim knowledge so far largely consists of :wq and :q!. Yeah, haha, that's the basic command you need to know when the time comes to rebase a git bran

Update the ArchWiki page about D

2017-08-29 Thread b4s1L3 via Digitalmars-d
See https://wiki.archlinux.org/index.php/D where is stated that "The main difference is that the dmd's back end is not FOSS (licensed from Symantec), while the others compilers are completely FOSS." Time to update this.