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
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.
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
https://issues.dlang.org/show_bug.cgi?id=17505
greenify changed:
What|Removed |Added
CC||greeen...@gmail.com
---
https://issues.dlang.org/show_bug.cgi?id=17505
Martin Nowak changed:
What|Removed |Added
Priority|P1 |P3
CC|
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
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
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.
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
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
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
> >>> {
> >>>
> >>>
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.
Let's assume, I have the following 2 dub packages:
pkgBASE:
source/
lib/
pkgAPP:
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
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
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
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;
>
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];
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
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
To me it seems like the website damplips
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
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
https://issues.dlang.org/show_bug.cgi?id=17515
Martin Nowak changed:
What|Removed |Added
Severity|enhancement |normal
--
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:
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
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?
Bug report:
http://i.imgur.com/I7S51tf.png
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!
Also looks good https://github.com/jasonwhite/button
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
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
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
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
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...
https://issues.dlang.org/show_bug.cgi?id=13819
ag0ae...@gmail.com changed:
What|Removed |Added
CC||ag0ae...@gmail.com
https://issues.dlang.org/show_bug.cgi?id=17383
ag0ae...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=13819
ag0ae...@gmail.com changed:
What|Removed |Added
CC||radu.raca...@gmail.com
--- Comment #4
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
--
https://issues.dlang.org/show_bug.cgi?id=17383
radu.raca...@gmail.com changed:
What|Removed |Added
Keywords||ice-on-valid-code
--
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--
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
https://issues.dlang.org/show_bug.cgi?id=16566
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
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
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
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
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
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.
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.
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:
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
>
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
Thanks for the responses guys :)
I ended up using a foo(this T) and it works!
Thanks again for your help.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
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
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
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
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
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
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
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
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
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?
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
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
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
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
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
https://issues.dlang.org/show_bug.cgi?id=17512
ZombineDev changed:
What|Removed |Added
Keywords||safe
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
84 matches
Mail list logo