Re: LDC 1.9.0 beta

2018-04-25 Thread meppl via Digitalmars-d-announce
On Tuesday, 24 April 2018 at 15:53:23 UTC, Joakim wrote: On Monday, 23 April 2018 at 09:18:07 UTC, Suliman wrote: What about Webassembly support? Latest LLVM suppport it, so LDC should support also. We don't support a lot of platforms that llvm supports. It will require someone to work on

[Issue 11970] Self-assigned variable expression with no effect doesn't have compiler error

2018-04-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11970 Walter Bright changed: What|Removed |Added CC|

[Issue 17626] Same name variable assignment should raise a compile-time warning

2018-04-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17626 Walter Bright changed: What|Removed |Added See Also|

Re: Using D without libphobos

2018-04-25 Thread Mike Franklin via Digitalmars-d
On Thursday, 26 April 2018 at 03:04:55 UTC, A. Nicholi wrote: I am working on a large cross-platform project, which will be written primarily in D, interfacing to C as necessary. To get finer control over memory safety, binary size, and use of the GC, we would like to disclude libphobos as a

Re: Using D without libphobos

2018-04-25 Thread Steven Schveighoffer via Digitalmars-d
On 4/25/18 11:04 PM, A. Nicholi wrote: Hello, I am working on a large cross-platform project, which will be written primarily in D, interfacing to C as necessary. To get finer control over memory safety, binary size, and use of the GC, we would like to disclude libphobos as a dependency in

Using D without libphobos

2018-04-25 Thread A. Nicholi via Digitalmars-d
Hello, I am working on a large cross-platform project, which will be written primarily in D, interfacing to C as necessary. To get finer control over memory safety, binary size, and use of the GC, we would like to disclude libphobos as a dependency in lieu of our own code. The project is

Re: Favorite GUI library?

2018-04-25 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 04/25/2018 10:31 PM, Nick Sabalausky (Abscissa) wrote: Yea. Google's [complain, gripe, blah, blah, blah...] I found this to be a very interesting, and not particularly surprising, peek at the way things work^H^H^H^Hoperate inside Google-ville: https://mtlynch.io/why-i-quit-google/ I

Re: Favorite GUI library?

2018-04-25 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 04/25/2018 05:49 AM, Chris wrote: I recently had this issue with Chrome [1] and it is honestly annoying. I found out that it had been reported several times and what do Chrome devs say? Issue closed, it's an effin feature. To me it looks like they were over-intellectualizing the issue and

[Issue 11970] Self-assigned variable expression with no effect doesn't have compiler error

2018-04-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11970 Mike Franklin changed: What|Removed |Added Status|NEW |RESOLVED

Re: Making an .exe that executes source file inside itself.

2018-04-25 Thread IntegratedDimensions via Digitalmars-d-learn
On Wednesday, 25 April 2018 at 19:19:58 UTC, BoQsc wrote: So there has been idea I've got for around few months now: making a software which executable would contain a source file. A software that anyone could modify by opening an executable and quickly change a few lines of it, rerun an

Re: Making an .exe that executes source file inside itself.

2018-04-25 Thread u0_a183 via Digitalmars-d-learn
On Wednesday, 25 April 2018 at 19:54:26 UTC, BoQsc wrote: On Wednesday, 25 April 2018 at 19:43:31 UTC, Jonathan M Davis wrote: On Wednesday, April 25, 2018 19:19:58 BoQsc via Digitalmars-d-learn wrote: So there has been idea I've got for around few months now: making a software which

Re: Using an external Assembler with D

2018-04-25 Thread solidstate1991 via Digitalmars-d-learn
On Wednesday, 25 April 2018 at 15:25:42 UTC, Stefan Koch wrote: Pass stuff on the stack ;) and use extern (C) functions. Thanks! What about extern (D)? Is there a big chaos in the D ABI under x86?

Re: Sense check: construction / deconstruction

2018-04-25 Thread Jordan Wilson via Digitalmars-d-learn
On Wednesday, 25 April 2018 at 13:52:16 UTC, Steven Schveighoffer wrote: [...] Great, thanks for you help Steve, I'll have a think about how I want to structure things. Jordan

Re: Profiling with LDC

2018-04-25 Thread Johan Engelen via Digitalmars-d
On Wednesday, 25 April 2018 at 19:05:53 UTC, H. S. Teoh wrote: On Wed, Apr 25, 2018 at 06:33:56PM +, Johan Engelen via Digitalmars-d wrote: The profiling runtime must be linked in. On Unixes, the file is "libldc_rt.profile-x86_64.a". [...] This library appears to be missing from my

Re: Making an .exe that executes source file inside itself.

2018-04-25 Thread BoQsc via Digitalmars-d-learn
On Wednesday, 25 April 2018 at 19:43:31 UTC, Jonathan M Davis wrote: On Wednesday, April 25, 2018 19:19:58 BoQsc via Digitalmars-d-learn wrote: So there has been idea I've got for around few months now: making a software which executable would contain a source file. A software that anyone

Re: Making an .exe that executes source file inside itself.

2018-04-25 Thread Jonathan M Davis via Digitalmars-d-learn
On Wednesday, April 25, 2018 19:19:58 BoQsc via Digitalmars-d-learn wrote: > So there has been idea I've got for around few months now: making > a software which executable would contain a source file. > A software that anyone could modify by opening an executable and > quickly change a few lines

Re: Get files from directory sorted by name

2018-04-25 Thread Jesse Phillips via Digitalmars-d-learn
On Wednesday, 25 April 2018 at 17:34:41 UTC, Dr.No wrote: Is there something implemented already to get the files from directory by name using D or I'm on my own and I have to write it myself? I didn't find how do that with dirEntries() I want to add that sorting can be done, if you just call

Making an .exe that executes source file inside itself.

2018-04-25 Thread BoQsc via Digitalmars-d-learn
So there has been idea I've got for around few months now: making a software which executable would contain a source file. A software that anyone could modify by opening an executable and quickly change a few lines of it, rerun an executable, see the changes. Could this be easily possible

Re: Profiling with LDC

2018-04-25 Thread H. S. Teoh via Digitalmars-d
On Wed, Apr 25, 2018 at 06:33:56PM +, Johan Engelen via Digitalmars-d wrote: > On Wednesday, 25 April 2018 at 17:31:06 UTC, H. S. Teoh wrote: > > I'm trying to figure out how to do a traditional instrumented > > profile with LDC. All docs that I've managed to find so far say to > > use

Re: Profiling with LDC

2018-04-25 Thread Johan Engelen via Digitalmars-d
On Wednesday, 25 April 2018 at 17:31:06 UTC, H. S. Teoh wrote: I'm trying to figure out how to do a traditional instrumented profile with LDC. All docs that I've managed to find so far say to use -fprofile-instr-generate, but when I try that, I get a ton of linker errors complaining of

Re: Get files from directory sorted by name

2018-04-25 Thread Jonathan M Davis via Digitalmars-d-learn
On Wednesday, April 25, 2018 17:34:41 Dr.No via Digitalmars-d-learn wrote: > Is there something implemented already to get the files from > directory by name using D or I'm on my own and I have to write it > myself? I didn't find how do that with dirEntries() There is nothing in the standard

Get files from directory sorted by name

2018-04-25 Thread Dr.No via Digitalmars-d-learn
Is there something implemented already to get the files from directory by name using D or I'm on my own and I have to write it myself? I didn't find how do that with dirEntries()

Profiling with LDC

2018-04-25 Thread H. S. Teoh via Digitalmars-d
I'm trying to figure out how to do a traditional instrumented profile with LDC. All docs that I've managed to find so far say to use -fprofile-instr-generate, but when I try that, I get a ton of linker errors complaining of undefined reference to the symbol:

Re: Dscanner - DCD - Dfix ... Editor support or the lack of it.

2018-04-25 Thread Marco Leise via Digitalmars-d
Am Sat, 27 Jan 2018 07:54:37 -0500 schrieb Steven Schveighoffer : > If I had to write swift code without xcode, it would take me so much > extra time, because there are things you just aren't going to get done > without the tools. Swift's libraries are also vast and IMO

Re: Dscanner - DCD - Dfix ... Editor support or the lack of it.

2018-04-25 Thread Marco Leise via Digitalmars-d
Am Sat, 27 Jan 2018 14:58:27 -0800 schrieb "H. S. Teoh" : > I use ctags with vim, and it's amazingly efficient: two keystrokes and > I'm right at the right file in the right place on top of the definition > of an identifier. Less than 1 second. Yet when I work with my

Re: Places to hang out in Munich the day before the conference

2018-04-25 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, April 25, 2018 12:48:48 Stefan Koch via Digitalmars-d wrote: > On Wednesday, 25 April 2018 at 06:59:37 UTC, Shachar Shemesh > > wrote: > > Hello everybody, > > > > I'll be arriving in Munich on the morning of May 1st. I was > > wondering whether anyone has any recommendations as to

Re: Places to hang out in Munich the day before the conference

2018-04-25 Thread Chris via Digitalmars-d
On Wednesday, 25 April 2018 at 06:59:37 UTC, Shachar Shemesh wrote: Hello everybody, I'll be arriving in Munich on the morning of May 1st. I was wondering whether anyone has any recommendations as to how to spend that day? Thanks, Shachar It's about tourist attractions:

Re: Need help to recognize DMD issue

2018-04-25 Thread Denis Feklushkin via Digitalmars-d
On Wednesday, 25 April 2018 at 14:22:04 UTC, Steven Schveighoffer wrote: On 4/25/18 9:15 AM, Denis Feklushkin wrote: On Wednesday, 25 April 2018 at 11:32:39 UTC, Jonathan M Davis wrote: On Wednesday, April 25, 2018 10:03:44 Denis Feklushkin via Digitalmars-d wrote: Recently I filled this bug

Re: Using an external Assembler with D

2018-04-25 Thread Stefan Koch via Digitalmars-d-learn
On Tuesday, 24 April 2018 at 21:02:07 UTC, solidstate1991 wrote: In order to make one of my own code more readable (and hopefully to avoid a lot of compiling errors under LDC, which don't happen in DMD for some reason), I'm planning to put my assembly functions into separate files for each

Re: Pre-DConf Meetup on May 1

2018-04-25 Thread Stefan Koch via Digitalmars-d-announce
On Wednesday, 25 April 2018 at 14:13:55 UTC, Seb wrote: Hi all, I hope you are all looking forward to DConf. [...] I request a lighting talk slot :)

Re: Pre-DConf Meetup on May 1

2018-04-25 Thread SimonN via Digitalmars-d-announce
On Wednesday, 25 April 2018 at 14:13:55 UTC, Seb wrote: Our next D Munich Meetup will coincide with DConf to give our For those of you who stay at the hotel, we will be at the NH München Messe hotel at 18:00 and lead you towards the venue. Awesome, I'll attend! I'm posting here for lack of a

Re: Places to hang out in Munich the day before the conference

2018-04-25 Thread Uknown via Digitalmars-d
On Wednesday, 25 April 2018 at 06:59:37 UTC, Shachar Shemesh wrote: Hello everybody, I'll be arriving in Munich on the morning of May 1st. I was wondering whether anyone has any recommendations as to how to spend that day? Thanks, Shachar I'm not comming myself, but there were a few posts

[Issue 18799] Unexpected OPTLINK Termination at EIP=0040F60A

2018-04-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18799 RazvanN changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 17508] optlink 8.00.17 crash at EIP=0040F60A

2018-04-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17508 RazvanN changed: What|Removed |Added CC||vaidas.bo...@gmail.com

[Issue 15213] Unexpected OPTLINK Termination at EIP = 0040347E

2018-04-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15213 RazvanN changed: What|Removed |Added CC||meapineap...@gmail.com

[Issue 17077] Unexpected optlink termination EIP=0040347E

2018-04-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17077 RazvanN changed: What|Removed |Added Status|NEW |RESOLVED

Re: Need help to recognize DMD issue

2018-04-25 Thread Steven Schveighoffer via Digitalmars-d
On 4/25/18 9:15 AM, Denis Feklushkin wrote: On Wednesday, 25 April 2018 at 11:32:39 UTC, Jonathan M Davis wrote: On Wednesday, April 25, 2018 10:03:44 Denis Feklushkin via Digitalmars-d wrote: Recently I filled this bug report: https://github.com/etcimon/botan/issues/45 But it is, probably,

Re: D vs nim

2018-04-25 Thread Rel via Digitalmars-d
In case you guys like to take a quick look at new emerging, but somewhat unknown systems programming languages: * https://www.red-lang.org/ (own handwritten backend) * https://crystal-lang.org/ (llvm-based backend) * https://ziglang.org/ (llvm-based backend) * http://nitlanguage.org/ (c-based

Pre-DConf Meetup on May 1

2018-04-25 Thread Seb via Digitalmars-d-announce
Hi all, I hope you are all looking forward to DConf. We (Stefan, Dragos and I) have very good news for you. Our next D Munich Meetup will coincide with DConf to give our local community who can't join DConf an opportunity to meetup all the rockstars from the D community. Agenda -- We

Re: D vs nim

2018-04-25 Thread Rel via Digitalmars-d
As for me, I find the Nim programming language interesting. However I dislike syntax a bit, in some cases Python+Pascal syntax style of Nim looks very ugly in my opinion. Also I strongly against relying on C compiler for code generation, knowing how slow it can be. Obviously it was easy for

Re: Are Fibers just broken in D?

2018-04-25 Thread Steven Schveighoffer via Digitalmars-d-learn
On 4/24/18 10:12 PM, bitwise wrote: On Friday, 20 April 2018 at 18:58:36 UTC, Byron Moxie wrote: [...] In WIN32 it looks like its leaking memory Unless there is something I'm misunderstanding, it seems that Fibers that were not run to completion won't unroll their stack, which would mean

Re: Sense check: construction / deconstruction

2018-04-25 Thread Steven Schveighoffer via Digitalmars-d-learn
On 4/25/18 5:51 AM, Jordan Wilson wrote: On Tuesday, 24 April 2018 at 23:49:14 UTC, Steven Schveighoffer wrote: In the second case (b), you aren't including the db by value, so no destructor is called from the GC. But this is dangerous, because db stops existing after main exits, but b

Re: LDC 1.9.0 beta

2018-04-25 Thread Rel via Digitalmars-d-announce
On Sunday, 22 April 2018 at 15:56:49 UTC, kinke wrote: * `-link-internally` able to (cross-)link Windows, Linux and macOS binaries. This is nice to hear, but just to make it clear, what steps do I need to take to for example build a Mac OSX binary on Windows or Linux? Can I just download libs

Re: Need help to recognize DMD issue

2018-04-25 Thread Denis Feklushkin via Digitalmars-d
On Wednesday, 25 April 2018 at 11:32:39 UTC, Jonathan M Davis wrote: On Wednesday, April 25, 2018 10:03:44 Denis Feklushkin via Digitalmars-d wrote: Recently I filled this bug report: https://github.com/etcimon/botan/issues/45 But it is, probably, DMD issue too, because compiler crashes.

Re: Places to hang out in Munich the day before the conference

2018-04-25 Thread IGotD- via Digitalmars-d
On Wednesday, 25 April 2018 at 06:59:37 UTC, Shachar Shemesh wrote: Hello everybody, I'll be arriving in Munich on the morning of May 1st. I was wondering whether anyone has any recommendations as to how to spend that day? Thanks, Shachar Take the city sightseeing bus for a day. It will

Re: Places to hang out in Munich the day before the conference

2018-04-25 Thread Stefan Koch via Digitalmars-d
On Wednesday, 25 April 2018 at 06:59:37 UTC, Shachar Shemesh wrote: Hello everybody, I'll be arriving in Munich on the morning of May 1st. I was wondering whether anyone has any recommendations as to how to spend that day? Thanks, Shachar NH Hotel :)

Re: Implicit Template Parameters Cannot Decipher Aliases?

2018-04-25 Thread Simen Kjærås via Digitalmars-d-learn
On Wednesday, 25 April 2018 at 11:26:40 UTC, Vijay Nayar wrote: On Wednesday, 25 April 2018 at 10:25:11 UTC, Simen Kjærås wrote: In the general case, the issue is unsolvable, since the relationship between template parameters and alias results may be arbitrarily complex. A simple degenerate

[Issue 18798] New: ld.gold: relocation R_386_GOTOFF against preemptible symbol cannot be used when making a shared object

2018-04-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18798 Issue ID: 18798 Summary: ld.gold: relocation R_386_GOTOFF against preemptible symbol cannot be used when making a shared object Product: D Version: D2 Hardware: x86

[Issue 18799] New: Unexpected OPTLINK Termination at EIP=0040F60A

2018-04-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18799 Issue ID: 18799 Summary: Unexpected OPTLINK Termination at EIP=0040F60A Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: major

[Issue 18797] Use of "isInputRange" in various functions is overly-restrictive

2018-04-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18797 Simen Kjaeraas changed: What|Removed |Added CC|

[Issue 18797] New: Use of "isInputRange" in various functions is overly-restrictive

2018-04-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18797 Issue ID: 18797 Summary: Use of "isInputRange" in various functions is overly-restrictive Product: D Version: D2 Hardware: x86_64 OS: Linux Status:

Re: Implicit Template Parameters Cannot Decipher Aliases?

2018-04-25 Thread ag0aep6g via Digitalmars-d-learn
On 04/25/2018 12:25 PM, Simen Kjærås wrote: It's a known issue, and could be solved in some cases by partial template expansion, which is currently not part of the language. I believe it's in bugzilla somewhere, but a cursory search yielded no results.

Re: Warning on self assignment

2018-04-25 Thread Jonathan M Davis via Digitalmars-d-learn
On Wednesday, April 25, 2018 02:32:32 Per Nordlöw via Digitalmars-d-learn wrote: > On Wednesday, 25 April 2018 at 02:23:04 UTC, Mike Franklin wrote: > > Are people using self assignment of structs as a way of > > force-running the postblit? Is there a valid use case for that? > > > > Mike > > If

Re: Need help to recognize DMD issue

2018-04-25 Thread Jonathan M Davis via Digitalmars-d
On Wednesday, April 25, 2018 10:03:44 Denis Feklushkin via Digitalmars-d wrote: > Recently I filled this bug report: > https://github.com/etcimon/botan/issues/45 > > But it is, probably, DMD issue too, because compiler crashes. The compiler itself should never crash. So, that part of the problem

Re: Implicit Template Parameters Cannot Decipher Aliases?

2018-04-25 Thread Vijay Nayar via Digitalmars-d-learn
On Wednesday, 25 April 2018 at 10:25:11 UTC, Simen Kjærås wrote: In the general case, the issue is unsolvable, since the relationship between template parameters and alias results may be arbitrarily complex. A simple degenerate case is this: Ok, wow, you weren't kidding. That becomes really

Re: Feature to get or add value to an associative array.

2018-04-25 Thread Giles Bathgate via Digitalmars-d
On Tuesday, 24 April 2018 at 09:09:37 UTC, Andrea Fontana wrote: Just one question: does this work for value-types? The intention is that it will work for value types. I will add some unit tests to check that use case. - Giles

Re: Warning on self assignment

2018-04-25 Thread Nordlöw via Digitalmars-d-learn
On Wednesday, 25 April 2018 at 03:32:09 UTC, Meta wrote: On Wednesday, 25 April 2018 at 02:32:32 UTC, Per Nordlöw wrote: On Wednesday, 25 April 2018 at 02:23:04 UTC, Mike Franklin wrote: Are people using self assignment of structs as a way of force-running the postblit? Is there a valid use

Re: Implicit Template Parameters Cannot Decipher Aliases?

2018-04-25 Thread Simen Kjærås via Digitalmars-d-learn
On Wednesday, 25 April 2018 at 07:39:28 UTC, Vijay Nayar wrote: I have encountered a problem where whenever I attempt to use a templated function with alias that partially limits the type of the arguments, the program fails to compile. But if I avoid using an alias, the same function can

Re: GDB + ddemangle

2018-04-25 Thread ANtlord via Digitalmars-d-announce
On Wednesday, 25 April 2018 at 05:12:37 UTC, Joakim wrote: On Wednesday, 25 April 2018 at 05:09:28 UTC, ANtlord wrote: On Friday, 20 April 2018 at 17:55:12 UTC, Iain Buclaw wrote: On 20 April 2018 at 17:40, drug via Digitalmars-d-announce wrote: Using a

Re: Need help to recognize DMD issue

2018-04-25 Thread Denis Feklushkin via Digitalmars-d
On Wednesday, 25 April 2018 at 10:03:44 UTC, Denis Feklushkin wrote: Recently I filled this bug report: https://github.com/etcimon/botan/issues/45 But it is, probably, DMD issue too, because compiler crashes. Please help! Compilation with dmd -v: [...] import core.cpuid

Need help to recognize DMD issue

2018-04-25 Thread Denis Feklushkin via Digitalmars-d
Recently I filled this bug report: https://github.com/etcimon/botan/issues/45 But it is, probably, DMD issue too, because compiler crashes. Please help!

Re: Favorite GUI library?

2018-04-25 Thread Thomas Brix Larsen via Digitalmars-d
On Wednesday, 25 April 2018 at 03:05:52 UTC, Nick Sabalausky (Abscissa) wrote: On 04/24/2018 10:30 AM, Thomas Brix Larsen wrote: I'd recommend dqml[1] or full Qt using Calypso[2] instead of QtE5. I'm currently using dqml in a project and it is working out great. Why not QtE5? I've been

Re: Sense check: construction / deconstruction

2018-04-25 Thread Jordan Wilson via Digitalmars-d-learn
On Tuesday, 24 April 2018 at 23:49:14 UTC, Steven Schveighoffer wrote: What you are missing is that Database is pass-by-value, not a class. So when you include it directly in a class like you did in A, then when A's destructor is called, db's destructor is called. Since in the first case, a

Re: Favorite GUI library?

2018-04-25 Thread Chris via Digitalmars-d
On Wednesday, 25 April 2018 at 03:00:13 UTC, Nick Sabalausky (Abscissa) wrote: Yea, Chrome is kind of notorious for random breakages compared to other browsers. Google seems to still be a fan of that "move fast to break everything" fad that (unsurprisingly) has been biting Facebook in the

Re: The dlang-community releases DCD 0.9.3 and D-Scanner 0.5.2

2018-04-25 Thread WebFreak001 via Digitalmars-d-announce
On Wednesday, 25 April 2018 at 03:59:12 UTC, wangwei wrote: On Monday, 23 April 2018 at 17:26:49 UTC, Seb wrote: [...] I use the dmd portable version and vscode with code-d, the dcd just failed (d.ext.dcdFail) no matter dcd is installed automatically by code-d or by (source + dub), I

[Issue 17626] Same name variable assignment should raise a compile-time warning

2018-04-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17626 Mike Franklin changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 11970] Self-assigned variable expression with no effect doesn't have compiler error

2018-04-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11970 Mike Franklin changed: What|Removed |Added CC||da...@weka.io ---

Re: Implicit Template Parameters Cannot Decipher Aliases?

2018-04-25 Thread Vijay Nayar via Digitalmars-d-learn
On Wednesday, 25 April 2018 at 07:39:28 UTC, Vijay Nayar wrote: addAllWithAlias(v1); // Error! One more note, this following line works correctly. addAllWithAlias!double(v1); // OK.

Implicit Template Parameters Cannot Decipher Aliases?

2018-04-25 Thread Vijay Nayar via Digitalmars-d-learn
I have encountered a problem where whenever I attempt to use a templated function with alias that partially limits the type of the arguments, the program fails to compile. But if I avoid using an alias, the same function can infer all arguments. Is this working as intended or have I

Re: Warning on self assignment

2018-04-25 Thread Jonathan M Davis via Digitalmars-d-learn
On Wednesday, April 25, 2018 02:23:04 Mike Franklin via Digitalmars-d-learn wrote: > On Wednesday, 25 April 2018 at 01:08:46 UTC, Arun Chandrasekaran > > wrote: > > So I was telling my colleague that D would warn on self > > assignment, but found that I was wrong. > > > >

[Issue 18641] VisualD - First 5 minutes - Improve experience adding .d files to existing C++ projects

2018-04-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18641 --- Comment #6 from Manu --- Ohhh wow. Interesting hack! Does C++ do anything like that? What sort of functions are generated but never called? I kinda imagine that generating a function would imply you intend to call it...

Re: Warning on self assignment

2018-04-25 Thread Jonathan M Davis via Digitalmars-d-learn
On Wednesday, April 25, 2018 03:32:09 Meta via Digitalmars-d-learn wrote: > On Wednesday, 25 April 2018 at 02:32:32 UTC, Per Nordlöw wrote: > > On Wednesday, 25 April 2018 at 02:23:04 UTC, Mike Franklin > > > > wrote: > >> Are people using self assignment of structs as a way of > >> force-running

[Issue 18639] VisualD - First 5 minutes - Improve list of project wizards, propritise MSBuild projects

2018-04-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18639 --- Comment #6 from Manu --- Oh, the wizard options dialog is not just part of the wizard framework? :) I've never tried to make one of those things... I can imagine it might be a hassle though. I feel kike that option might be

[Issue 18639] VisualD - First 5 minutes - Improve list of project wizards, propritise MSBuild projects

2018-04-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18639 --- Comment #5 from Rainer Schuetze --- It seems to be standard to have all project types listed in the root node, and then filterd in sub nodes, so I was following that rule. I agree moving options to wizard settings would be

Places to hang out in Munich the day before the conference

2018-04-25 Thread Shachar Shemesh via Digitalmars-d
Hello everybody, I'll be arriving in Munich on the morning of May 1st. I was wondering whether anyone has any recommendations as to how to spend that day? Thanks, Shachar

[Issue 18641] VisualD - First 5 minutes - Improve experience adding .d files to existing C++ projects

2018-04-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18641 --- Comment #5 from Rainer Schuetze --- (In reply to Manu from comment #4) > I don't understand what you mean by "each C++ file produces one .obj file" > but D is different? The D compiler just emits as many .obj files as

[Issue 18639] VisualD - First 5 minutes - Improve list of project wizards, propritise MSBuild projects

2018-04-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18639 --- Comment #4 from Manu --- > I was referring to this remark > [...] Oh I see. Well, my immediate impression is that perhaps they shouldn't be split into 2 sub-sets like that; if the user just happens to click on the wrong one

Re: LDC 1.9.0 beta

2018-04-25 Thread Radu via Digitalmars-d-announce
On Monday, 23 April 2018 at 09:18:07 UTC, Suliman wrote: What about Webassembly support? Latest LLVM suppport it, so LDC should support also. Might be interesting for game devs to have webassembly support, but no one pitched in to making it happen. One could start by getting `betterC` mode

Re: LDC 1.9.0 beta

2018-04-25 Thread Joakim via Digitalmars-d-announce
On Tuesday, 24 April 2018 at 19:39:30 UTC, Radu wrote: On Tuesday, 24 April 2018 at 15:53:23 UTC, Joakim wrote: [...] I realized that those PRs are not going to get in :(. Unfortunately it is pretty hard to contribute something that has a big impact. It looks that I need to wait another 2

[Issue 18641] VisualD - First 5 minutes - Improve experience adding .d files to existing C++ projects

2018-04-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18641 --- Comment #4 from Manu --- Okay, well I think you know much better than me at this point. I don't understand what you mean by "each C++ file produces one .obj file" but D is different? The D compiler just emits as many .obj

[Issue 18639] VisualD - First 5 minutes - Improve list of project wizards, propritise MSBuild projects

2018-04-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18639 --- Comment #3 from Rainer Schuetze --- (In reply to Manu from comment #2) > > - add imports from project dependencies > > Not sure what this means... 'add imports'? You mean dependent project's > source-tree paths so clients

[Issue 18641] VisualD - First 5 minutes - Improve experience adding .d files to existing C++ projects

2018-04-25 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18641 --- Comment #3 from Rainer Schuetze --- (In reply to Manu from comment #2) > Why don't we just amend the global C/C++ props and include the D lib paths > the same as MS does for CRT paths? I don't think anyone will mind ;)