Re: repl like interface with D app

2017-06-16 Thread Mike B Johnson via Digitalmars-d-learn
On Friday, 16 June 2017 at 18:13:33 UTC, Seb wrote: On Friday, 16 June 2017 at 07:57:46 UTC, Mike B Johnson wrote: I am developing a D app and I have a need to test things out. I do not want to have to recompile the app every time I want to test some functionality out. [...] There is

Re: repl like interface with D app

2017-06-16 Thread Mike B Johnson via Digitalmars-d-learn
On Friday, 16 June 2017 at 18:43:24 UTC, Sameer Pradhan wrote: On Friday, 16 June 2017 at 07:57:46 UTC, Mike B Johnson wrote: [...] Please check out: https://github.com/DlangScience/PydMagic/blob/master/README.md I haven't used it myself, but fits right in the Jupyter/IPython ecosystem.

Re: Isn't it about time for D3?

2017-06-16 Thread Liam McGillivray via Digitalmars-d
On Wednesday, 14 June 2017 at 12:08:16 UTC, Mike wrote: > THINGS TO DROP -- * C++ interoperabiliy Walter's right: memory safety is going to kill C and C++ will go with it. Don't waste time on this; it's not going to matter in 10 or 20 years. Thank you for making a list to give

[Issue 17505] [REG2.075] @safe constructor requires the deconstructor to be safe as well

2017-06-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17505 greenify changed: What|Removed |Added CC||greeen...@gmail.com ---

[Issue 17505] [REG2.075] @safe constructor requires the deconstructor to be safe as well

2017-06-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17505 Martin Nowak changed: What|Removed |Added Priority|P1 |P3 CC|

Re: Templated Lists

2017-06-16 Thread Jolly James via Digitalmars-d
On Saturday, 17 June 2017 at 00:28:50 UTC, Ali Çehreli wrote: On 06/16/2017 05:02 PM, Jolly James wrote: If I did well on my quick research, C#'s generic lists are exactly that. :) C#'s generics allow to specify one datatype T that is used, some kind of similar to a template. So, a generic

Re: Linking external *.lib files

2017-06-16 Thread Jolly James via Digitalmars-d-learn
On Saturday, 17 June 2017 at 00:33:01 UTC, Jolly James wrote: On Saturday, 17 June 2017 at 00:09:41 UTC, Jolly James wrote: Let's assume, I have the following 2 dub packages: pkgBASE: (depends on public DUB package) source/ lib/ pkgAPP: (depends on pkgBASE) source/ I

Re: Linking external *.lib files

2017-06-16 Thread Jolly James via Digitalmars-d-learn
On Saturday, 17 June 2017 at 00:09:41 UTC, Jolly James wrote: Let's assume, I have the following 2 dub packages: pkgBASE: (depends on public DUB package) source/ lib/ pkgAPP: (depends on pkgBASE) source/ I have added pkgBASE via add-path. This wasn't a problem at all.

Re: Templated Lists

2017-06-16 Thread Ali Çehreli via Digitalmars-d
On 06/16/2017 05:02 PM, Jolly James wrote: >>> I am looking for something similar to C#'s generic list. > Thx, but I do not need to mix different types (using variant). If I did well on my quick research, C#'s generic lists are exactly that. :) > Assuming I use simply an dynamic array, how

Re: Linking external *.lib files

2017-06-16 Thread Jolly James via Digitalmars-d-learn
Let's assume, I have the following 2 dub packages: pkgBASE: (depends on public DUB package) source/ lib/ pkgAPP: (depends on pkgBASE) source/ I have added pkgBASE via add-path. This wasn't a problem at all. Unfortunately, the public DUB package requires to be linked with

Re: Templated Lists

2017-06-16 Thread Jonathan M Davis via Digitalmars-d
On Friday, June 16, 2017 23:08:58 Jolly James via Digitalmars-d wrote: > On Friday, 16 June 2017 at 19:42:44 UTC, Cym13 wrote: > > I'm unclear about your intent: do you want a compile-time list > > I am looking for something similar to C#'s generic list. > > >>> interface IList > >>> { > >>> > >>>

Re: Templated Lists

2017-06-16 Thread Jolly James via Digitalmars-d
On Friday, 16 June 2017 at 23:38:46 UTC, Ali Çehreli wrote: On 06/16/2017 04:08 PM, Jolly James wrote: On Friday, 16 June 2017 at 19:42:44 UTC, Cym13 wrote: I'm unclear about your intent: do you want a compile-time list I am looking for something similar to C#'s generic list.

Linking external *.lib files

2017-06-16 Thread Jolly James via Digitalmars-d-learn
Let's assume, I have the following 2 dub packages: pkgBASE: source/ lib/ pkgAPP:

Re: Templated Lists

2017-06-16 Thread Ali Çehreli via Digitalmars-d
On 06/16/2017 04:08 PM, Jolly James wrote: On Friday, 16 June 2017 at 19:42:44 UTC, Cym13 wrote: I'm unclear about your intent: do you want a compile-time list I am looking for something similar to C#'s generic list. std.variant.Variant perhaps? https://dlang.org/phobos/std_variant.html

Re: GStreamer and D

2017-06-16 Thread Jay Norwood via Digitalmars-d-learn
On Friday, 16 June 2017 at 16:33:56 UTC, Russel Winder wrote: gst-inspect-1.0 is an executable that comes with the installation, however that is done. What are you thinking of when saying "ported"? gst-inspect is a good demonstration of iteration through the available gstreamer elements and

Re: Templated Lists

2017-06-16 Thread Stefan Koch via Digitalmars-d
On Friday, 16 June 2017 at 23:08:58 UTC, Jolly James wrote: On Friday, 16 June 2017 at 19:42:44 UTC, Cym13 wrote: I'm unclear about your intent: do you want a compile-time list I am looking for something similar to C#'s generic list. interface IList { int Count { get; } void Add(T

[Issue 17375] colliding modules detected with binutils 2.28 linker and shared libraries

2017-06-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17375 --- Comment #8 from Vladimir Panteleev --- (In reply to Martin Nowak from comment #7) > Maybe you had a different git repo, my bisect ended at commit > https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git; >

Re: Templated Lists

2017-06-16 Thread Jolly James via Digitalmars-d
On Friday, 16 June 2017 at 19:42:44 UTC, Cym13 wrote: I'm unclear about your intent: do you want a compile-time list I am looking for something similar to C#'s generic list. interface IList { int Count { get; } void Add(T item); void Remove(T item); T this[int index];

Calling delegate in a dll callback fails silently

2017-06-16 Thread Andre Pany via Digitalmars-d-learn
Hi, my D application uses a Dll written in another language. In my D code I retrieve the address of a delegate as integer: int dgRef = cast(int) &(dg); This integer I pass to a function in the dll together with the address of a callback function. extern(C) static void notifyEventCallback(int

Re: Replacing Make for the DMD build

2017-06-16 Thread Mike Wey via Digitalmars-d
On 06/16/2017 03:16 PM, Joakim wrote: As for Meson, never dealt with it much, do you have an example for D code we can look at? The meson files for tilix might be a good example: https://github.com/gnunn1/tilix/tree/master/experimental/meson -- Mike Wey

[your code here]

2017-06-16 Thread jack nivea via Digitalmars-d
To me it seems like the website damplips

Re: Templated Lists

2017-06-16 Thread Cym13 via Digitalmars-d
On Friday, 16 June 2017 at 19:07:49 UTC, Jolly James wrote: I know that there are arrays, some strange container classes and so on. But how does one create and use a templated list in D that supports adding, removing and sorting items? One that can be used for structs and for classes? I'm

Re: Replacing Make for the DMD build

2017-06-16 Thread Cym13 via Digitalmars-d
On Friday, 16 June 2017 at 13:16:06 UTC, Joakim wrote: One issue that came up is that whatever we replace Make with would have to generate Makefiles as a fallback, back in the previous thread about using Atila's build system, Reggae. I very much support this idea, Reggae is great. Also it

[Issue 17515] ld.gold identical comdat folding triggers an assertion

2017-06-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17515 Martin Nowak changed: What|Removed |Added Severity|enhancement |normal --

[Issue 17515] New: ld.gold identical comdat folding triggers an assertion

2017-06-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17515 Issue ID: 17515 Summary: ld.gold identical comdat folding triggers an assertion Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity:

Re: Templated Lists

2017-06-16 Thread Jonathan M Davis via Digitalmars-d
On Friday, June 16, 2017 19:07:49 Jolly James via Digitalmars-d wrote: > I know that there are arrays, some strange container classes and > so on. > > But how does one create and use a templated list in D that > supports adding, removing and sorting items? One that can be used > for structs and

Templated Lists

2017-06-16 Thread Jolly James via Digitalmars-d
I know that there are arrays, some strange container classes and so on. But how does one create and use a templated list in D that supports adding, removing and sorting items? One that can be used for structs and for classes?

Re: SpaceD - a racing game written in D

2017-06-16 Thread Francis Nixon via Digitalmars-d-announce
Bug report: http://i.imgur.com/I7S51tf.png

Re: Ali's slides from his C++Now talk

2017-06-16 Thread Sameer Pradhan via Digitalmars-d
On Tuesday, 23 May 2017 at 23:31:48 UTC, Joakim wrote: Enjoying going through these: http://ddili.org/AliCehreli_CppNow_2017_Competitive_Advantage_with_D.no_pause.pdf Ali really has a gift for explaining stuff, we're lucky to have him. I must say that I really enjoyed the slides as well!

Re: Replacing Make for the DMD build

2017-06-16 Thread Suliman via Digitalmars-d
Also looks good https://github.com/jasonwhite/button

Re: Implementing interfaces using alias this

2017-06-16 Thread Jesse Phillips via Digitalmars-d-learn
On Friday, 16 June 2017 at 08:34:21 UTC, Biotronic wrote: On Thursday, 15 June 2017 at 18:49:58 UTC, Jesse Phillips wrote: wrap!IDuck Ah, so it does exist in Phobos. I thought it should be there, but didn't find it. Thanks! -- Biotronic Yeah, when Andrei introduced the wrap function I

[Issue 17375] colliding modules detected with binutils 2.28 linker and shared libraries

2017-06-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17375 --- Comment #7 from Martin Nowak --- Maybe you had a different git repo, my bisect ended at commit https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9acc85a62eb76c270724bba15c889d2d05567b6a. We could solve this by emitting

Re: repl like interface with D app

2017-06-16 Thread Sameer Pradhan via Digitalmars-d-learn
On Friday, 16 June 2017 at 07:57:46 UTC, Mike B Johnson wrote: I am developing a D app and I have a need to test things out. I do not want to have to recompile the app every time I want to test some functionality out. Suppose I have an app with some functions like foo, bar, etc... in some

Re: Life in the Fast Lane (@nogc blog post)

2017-06-16 Thread Joakim via Digitalmars-d-announce
On Friday, 16 June 2017 at 13:51:18 UTC, Mike Parker wrote: I've been meaning to get this done for weeks but have had a severe case of writer's block. The fact that I had no other posts ready to go this week and no time to write anything at all motivated me to make time for it and get it done

Re: repl like interface with D app

2017-06-16 Thread Seb via Digitalmars-d-learn
On Friday, 16 June 2017 at 07:57:46 UTC, Mike B Johnson wrote: I am developing a D app and I have a need to test things out. I do not want to have to recompile the app every time I want to test some functionality out. [...] There is drepl, it's not fancy, but works for basic use cases...

[Issue 13819] ICE: backend\cg87.c with -O: "a % 2 != 0" for a double

2017-06-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13819 ag0ae...@gmail.com changed: What|Removed |Added CC||ag0ae...@gmail.com

[Issue 17383] ICE ddmd/backend/cgxmm.c 930

2017-06-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17383 ag0ae...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 13819] ICE: backend\cg87.c with -O: "a % 2 != 0" for a double

2017-06-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13819 ag0ae...@gmail.com changed: What|Removed |Added CC||radu.raca...@gmail.com --- Comment #4

[Issue 17383] ICE ddmd/backend/cgxmm.c 930

2017-06-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17383 --- Comment #2 from radu.raca...@gmail.com --- To get the bug original ICE message just run: dmd -c -O -m64 bug.d Internal error: backend\cgxmm.c 930 --

[Issue 17383] ICE ddmd/backend/cgxmm.c 930

2017-06-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17383 radu.raca...@gmail.com changed: What|Removed |Added Keywords||ice-on-valid-code --

[Issue 17383] ICE ddmd/backend/cgxmm.c 930

2017-06-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17383 --- Comment #1 from radu.raca...@gmail.com --- This snippet will kill the compiler when compiling with optimizations on (-O optimize) --bug.d-- bool bug(double d) { return d % 2 != 0; } --bug.d--

[Issue 16566] hasLength should enforce that length has type size_t

2017-06-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16566 --- Comment #6 from github-bugzi...@puremagic.com --- Commit pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/72f395084373b8c15518def33216485301e8de8a Fix Issue 16566 - hasLength should enforce that length

[Issue 16566] hasLength should enforce that length has type size_t

2017-06-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16566 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

Re: D needs to get its shit together!

2017-06-16 Thread Jacob Carlborg via Digitalmars-d
On 2017-06-16 17:47, Russel Winder via Digitalmars-d wrote: Most of it is there, but it isn't as slick an experience as say Rust and Go. It about being a good and proactive downstream for all the packaging systems (which is mostly there) and having good installers where needed, mostly there. I

Re: D needs to get its shit together!

2017-06-16 Thread Jacob Carlborg via Digitalmars-d
On 2017-06-16 09:53, Mike B Johnson wrote: DVM [1] is doing some of this. Cool, does it keep things well organized It depends on what you definition of organized. DVM is a tool that allows you to easily install D compilers. It also allows to easily switch between multiple versions of the

Re: Life in the Fast Lane (@nogc blog post)

2017-06-16 Thread David Gileadi via Digitalmars-d-announce
On 6/16/17 6:51 AM, Mike Parker wrote: I've been meaning to get this done for weeks but have had a severe case of writer's block. The fact that I had no other posts ready to go this week and no time to write anything at all motivated me to make time for it and get it done anyway. My wife

Re: GStreamer and D

2017-06-16 Thread Russel Winder via Digitalmars-d-learn
On Fri, 2017-06-16 at 16:11 +, Jay Norwood via Digitalmars-d-learn wrote: > On Friday, 16 June 2017 at 06:45:38 UTC, Russel Winder wrote: > > Welcome to the group of people using GStreamer from D. I > > suspect I may be the only other member of that club. > > Looks like gst-inspect hasn't

Re: D needs to get its shit together!

2017-06-16 Thread Russel Winder via Digitalmars-d
On Fri, 2017-06-16 at 16:47 +0100, Russel Winder wrote: > […] > If it is true that there is increased traction for D, then getting > some > resource into the front of house stuff will be critical to that > traction fading and disappearing. s/to that/to avoid that/ -- Russel.

Re: GStreamer and D

2017-06-16 Thread Jay Norwood via Digitalmars-d-learn
On Friday, 16 June 2017 at 06:45:38 UTC, Russel Winder wrote: Welcome to the group of people using GStreamer from D. I suspect I may be the only other member of that club. Looks like gst-inspect hasn't been ported... I'm looking at that now.

Re: D needs to get its shit together!

2017-06-16 Thread Joakim via Digitalmars-d
On Friday, 16 June 2017 at 15:47:15 UTC, Russel Winder wrote: If it is true that there is increased traction for D, then getting some resource into the front of house stuff will be critical to that traction fading and disappearing. Yes, daily downloads of dmd are up 25-30% this year:

Re: D needs to get its shit together!

2017-06-16 Thread Russel Winder via Digitalmars-d
On Fri, 2017-06-16 at 15:08 +, Guillaume Piolat via Digitalmars-d wrote: > On Friday, 16 June 2017 at 03:53:18 UTC, Mike B Johnson wrote: > > D needs to just work! > > > I think that D is quickly gaining increasingly picky and > demanding users because it's breaking out in the general >

Re: D needs to get its shit together!

2017-06-16 Thread Guillaume Piolat via Digitalmars-d
On Friday, 16 June 2017 at 03:53:18 UTC, Mike B Johnson wrote: D needs to just work! I think that D is quickly gaining increasingly picky and demanding users because it's breaking out in the general programmer population. Not all of these programmers have used C++ and perhaps have higher

Re: How can I make typeof(this) return the type of a calling derrived class from a function in a base class?

2017-06-16 Thread Lester via Digitalmars-d-learn
Thanks for the responses guys :) I ended up using a foo(this T) and it works! Thanks again for your help.

Re: D needs to get its shit together!

2017-06-16 Thread Moritz Maxeiner via Digitalmars-d
On Friday, 16 June 2017 at 13:54:54 UTC, Wulfklaue wrote: On Friday, 16 June 2017 at 13:14:46 UTC, Moritz Maxeiner wrote: Fifth time you are being intentionally inflammatory and trying to twist my post. Well, i am sorry that you see it all as intentionally inflammatory. Only those specific

Re: D needs to get its shit together!

2017-06-16 Thread jmh530 via Digitalmars-d
On Friday, 16 June 2017 at 13:30:21 UTC, Joakim wrote: On the other hand, maybe D is not meant for the kind of user who needs such an easy path. What does it matter if you set D up really easily and then can't grasp such a sprawling, lower-level language? Perhaps _this_ is the right

Re: How can I make typeof(this) return the type of a calling derrived class from a function in a base class?

2017-06-16 Thread Adam D. Ruppe via Digitalmars-d-learn
On Friday, 16 June 2017 at 13:46:14 UTC, Lester wrote: If I have something like the following: class A { void foo(){ writeln(typeof(this)); } try one of these: http://dlang.org/spec/template.html#TemplateThisParameter Though note that the this in there is still the static type at the

Re: How can I make typeof(this) return the type of a calling derrived class from a function in a base class?

2017-06-16 Thread Milan Suk via Digitalmars-d-learn
On Friday, 16 June 2017 at 13:46:14 UTC, Lester wrote: If I have something like the following: class A { void foo(){ writeln(typeof(this)); } ... } class B : A { ... } And I want the results: A a = new A; B b = new B; a.foo(); // prints "A" b.foo(); // prints "B" How would I go

Re: D needs to get its shit together!

2017-06-16 Thread Mike Parker via Digitalmars-d
On Friday, 16 June 2017 at 11:50:20 UTC, Wulfklaue wrote: I am already far into my project with D but at the same time i can not help getting this nagging feeling that D has major issues beyond its base language. Mostly its community and structure. I see less of this with for instance Rust

Life in the Fast Lane (@nogc blog post)

2017-06-16 Thread Mike Parker via Digitalmars-d-announce
I've been meaning to get this done for weeks but have had a severe case of writer's block. The fact that I had no other posts ready to go this week and no time to write anything at all motivated me to make time for it and get it done anyway. My wife didn't complain when I told her I had to

Re: D needs to get its shit together!

2017-06-16 Thread Wulfklaue via Digitalmars-d
On Friday, 16 June 2017 at 13:14:46 UTC, Moritz Maxeiner wrote: Fifth time you are being intentionally inflammatory and trying to twist my post. Well, i am sorry that you see it all as intentionally inflammatory. You might have noticed that after responding to you, my post was more

How can I make typeof(this) return the type of a calling derrived class from a function in a base class?

2017-06-16 Thread Lester via Digitalmars-d-learn
If I have something like the following: class A { void foo(){ writeln(typeof(this)); } ... } class B : A { ... } And I want the results: A a = new A; B b = new B; a.foo(); // prints "A" b.foo(); // prints "B" How would I go about doing that? At the moment b.foo() is printing

Re: D needs to get its shit together!

2017-06-16 Thread Joakim via Digitalmars-d
On Friday, 16 June 2017 at 03:53:18 UTC, Mike B Johnson wrote: Seriously! D is starting to gain momentum and if things are not stabilized it's going to slow D down. [...] All decent ideas- except for the bit about D1, as it has been deprecated- but obviously nobody has been willing to work

Re: Replacing Make for the DMD build

2017-06-16 Thread Joakim via Digitalmars-d
On Friday, 16 June 2017 at 06:30:01 UTC, Russel Winder wrote: A direct question to Walter and Andrei really. While they would ultimately decide this, it's more likely that something championed by the D contributors will get in. If someone, let us say Russel Winder, create a CMake/Ninja

Re: D needs to get its shit together!

2017-06-16 Thread Moritz Maxeiner via Digitalmars-d
On Friday, 16 June 2017 at 11:50:20 UTC, Wulfklaue wrote: On Friday, 16 June 2017 at 10:55:04 UTC, Moritz Maxeiner wrote: Everything *I* need works well enough (and I'm fairly convinced it is the same for the majority of D users, though that is speculation). If you want something fixed, do it

Re: Replacing Make for the DMD build

2017-06-16 Thread Seb via Digitalmars-d
On Friday, 16 June 2017 at 07:00:10 UTC, Jacob Carlborg wrote: On 2017-06-16 08:30, Russel Winder via Digitalmars-d wrote: A direct question to Walter and Andrei really. If someone, let us say Russel Winder, create a CMake/Ninja and/or Meson/Ninja build for DMD, is there any chance of it

Re: Replacing Make for the DMD build

2017-06-16 Thread bachmeier via Digitalmars-d
On Friday, 16 June 2017 at 07:00:10 UTC, Jacob Carlborg wrote: On 2017-06-16 08:30, Russel Winder via Digitalmars-d wrote: A direct question to Walter and Andrei really. If someone, let us say Russel Winder, create a CMake/Ninja and/or Meson/Ninja build for DMD, is there any chance of it

Re: D needs to get its shit together!

2017-06-16 Thread Wulfklaue via Digitalmars-d
On Friday, 16 June 2017 at 10:38:44 UTC, Seb wrote: There is an official D installer for Posix systems that can handle multiple compilers and all versions quite well. IIRC does dvm only support DMD? Good for the poxis platform set ... but D is used on more then only linux and osx. I think

[Issue 17514] New: "positive" -> "nonnegative"

2017-06-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17514 Issue ID: 17514 Summary: "positive" -> "nonnegative" Product: D Version: D2 Hardware: All URL: http://dlang.org/ OS: All Status: NEW Severity:

[Issue 17513] New: [english] "a enum" -> "an enum"

2017-06-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17513 Issue ID: 17513 Summary: [english] "a enum" -> "an enum" Product: D Version: D2 Hardware: All URL: http://dlang.org/ OS: All Status: NEW

Re: D needs to get its shit together!

2017-06-16 Thread Moritz Maxeiner via Digitalmars-d
On Friday, 16 June 2017 at 03:53:18 UTC, Mike B Johnson wrote: When a new user goes to start using D for the first time, D is a PITA to get working! Don't believe me?!?! Just try getting D installed on all 3 major systems for DMD, LDC, GDC, with an IDE, some utilities, possibly arm

Re: D needs to get its shit together!

2017-06-16 Thread lobo via Digitalmars-d
On Friday, 16 June 2017 at 03:53:18 UTC, Mike B Johnson wrote: Seriously! D is starting to gain momentum and if things are not stabilized it's going to slow D down. [...] I don't know what is so hard about tar -zxvf dmd.XYZ.tar.xz or unzip dmd.XYZ.zip. Am I missing something? Perhaps

Re: D needs to get its shit together!

2017-06-16 Thread Seb via Digitalmars-d
On Friday, 16 June 2017 at 10:12:06 UTC, Wulfklaue wrote: On Friday, 16 June 2017 at 06:58:57 UTC, Jacob Carlborg wrote: DVM [1] is doing some of this. [1] https://github.com/jacob-carlborg/dvm Might it not be better when some of this is actually part of D? There is an official D installer

Re: D needs to get its shit together!

2017-06-16 Thread Wulfklaue via Digitalmars-d
On Friday, 16 June 2017 at 06:58:57 UTC, Jacob Carlborg wrote: DVM [1] is doing some of this. [1] https://github.com/jacob-carlborg/dvm Might it not be better when some of this is actually part of D? - Multi-version support - Integrated all the tools so editors know/can rely on them. I have

Re: Cap'n Proto for D v0.1.2

2017-06-16 Thread Johan Engelen via Digitalmars-d-announce
On Tuesday, 18 April 2017 at 18:09:54 UTC, Thomas Brix Larsen wrote: This is the initial public release of my optimized port of the Java implementation of Cap'n Proto. http://code.dlang.org/packages/capnproto-dlang https://github.com/ThomasBrixLarsen/capnproto-dlang Hi Thomas, Great that

Re: Implementing interfaces using alias this

2017-06-16 Thread Biotronic via Digitalmars-d-learn
On Thursday, 15 June 2017 at 18:49:58 UTC, Jesse Phillips wrote: wrap!IDuck Ah, so it does exist in Phobos. I thought it should be there, but didn't find it. Thanks! -- Biotronic

repl like interface with D app

2017-06-16 Thread Mike B Johnson via Digitalmars-d-learn
I am developing a D app and I have a need to test things out. I do not want to have to recompile the app every time I want to test some functionality out. Suppose I have an app with some functions like foo, bar, etc... in some module m. I would like to be able to do basic stuff like

Re: D needs to get its shit together!

2017-06-16 Thread Mike B Johnson via Digitalmars-d
DVM [1] is doing some of this. Cool, does it keep things well organized and deals with windows issues(link.exe., dlls, etc) or just uses the "D way" which is a hairball?

Re: Replacing Make for the DMD build

2017-06-16 Thread Paolo Invernizzi via Digitalmars-d
On Friday, 16 June 2017 at 07:00:10 UTC, Jacob Carlborg wrote: On 2017-06-16 08:30, Russel Winder via Digitalmars-d wrote: A direct question to Walter and Andrei really. If someone, let us say Russel Winder, create a CMake/Ninja and/or Meson/Ninja build for DMD, is there any chance of it

Re: qualified type names for mixins

2017-06-16 Thread Jonathan Marler via Digitalmars-d
On Friday, 16 June 2017 at 03:57:17 UTC, Adam D. Ruppe wrote: On Friday, 16 June 2017 at 03:26:28 UTC, Jonathan Marler wrote: [...] The real WTF is that it returns a string in the first place. It should return a struct. [...] PR Here: https://github.com/dlang/phobos/pull/5490 Currently

Re: Replacing Make for the DMD build

2017-06-16 Thread Jacob Carlborg via Digitalmars-d
On 2017-06-16 08:30, Russel Winder via Digitalmars-d wrote: A direct question to Walter and Andrei really. If someone, let us say Russel Winder, create a CMake/Ninja and/or Meson/Ninja build for DMD, is there any chance of it being allowed to replace the Make system? If the answer is no, then

Re: D needs to get its shit together!

2017-06-16 Thread Jacob Carlborg via Digitalmars-d
On 2017-06-16 05:53, Mike B Johnson wrote: Seriously! D is starting to gain momentum and if things are not stabilized it's going to slow D down. 1 ==>> The VERY FIRST order of business is very simple: When a new user goes to start using D for the first time, D is a PITA to get working! Don't

Re: GStreamer and D

2017-06-16 Thread Russel Winder via Digitalmars-d-learn
On Thu, 2017-06-15 at 19:27 +, Jay Norwood via Digitalmars-d-learn wrote: > wow! I hadn't tried this gtkd library before. I was hunting for > the gstreamer in particular. Welcome to the group of people using GStreamer from D. I suspect I may be the only other member of that club. > The

[Issue 17512] [REG 2.073] [DIP1000] Error on bad interplay of "auto ref" and "return" attribute deduction.

2017-06-16 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17512 ZombineDev changed: What|Removed |Added Keywords||safe

Replacing Make for the DMD build

2017-06-16 Thread Russel Winder via Digitalmars-d
A direct question to Walter and Andrei really. If someone, let us say Russel Winder, create a CMake/Ninja and/or Meson/Ninja build for DMD, is there any chance of it being allowed to replace the Make system? If the answer is no, then Russel will obviously not waste his time doing something that