https://issues.dlang.org/show_bug.cgi?id=19322
ki...@gmx.net changed:
What|Removed |Added
CC||ki...@gmx.net
--- Comment #1 from
On Saturday, 20 October 2018 at 22:19:48 UTC, 12345swordy wrote:
On Saturday, 20 October 2018 at 16:37:07 UTC, Atila Neves wrote:
On Saturday, 20 October 2018 at 10:28:47 UTC, Gregor Mückl
wrote:
[...]
It turns out that translating C++ is *hard*. Partly because
the language is huge and
On 10/20/18 5:25 AM, Russel Winder wrote:
On Sat, 2018-10-20 at 08:52 +, Gregor Mückl via Digitalmars-d
wrote:
[…]
I periodically look at how I can make use of D for small
projects. Most often, I shy away because I want to build a GUI
and none of the libraries that I can find look mature
So that classes can share some of their variables but not others
in a module.
IE.
class A
{
internal int A; //This is shared in the module
private int B; // But not this.
}
No need to reintroduce the "Friend" feature from cpp.
On Saturday, 20 October 2018 at 16:37:07 UTC, Atila Neves wrote:
On Saturday, 20 October 2018 at 10:28:47 UTC, Gregor Mückl
wrote:
[...]
It turns out that translating C++ is *hard*. Partly because the
language is huge and complicated, but also partly because
libclang isn't all it's cracked
On 10/12/18 4:05 AM, Vijay Nayar wrote:
But the D community has also been very receptive of changes
to the language
The community is. I don't feel like it's been true of the leadership for
some years now (and I don't mean just W)
One thing that does concern me, is the avenues in which
On 10/20/18 6:28 AM, Gregor Mückl wrote:
Even though web and mobile UIs seem to be the rage at the moment, I
believe a solid support for desktop UIs is very important for a general
purpose language, if it wants to be successful in the market.
I think that may be doubly true in the case of
I use VSCode since it has better D support, however until I make
mago-mi usable (it doesn't even support all the commands
currently it claims, --args seems to be completely broken) or
find again a working copy of LLDB for Windows (doesn't want to
compile with Mingw also being installed), I
https://issues.dlang.org/show_bug.cgi?id=19202
--- Comment #3 from elpenguin...@gmail.com ---
It seems the PR was closed without comment...?
--
On Wednesday, 3 October 2018 at 13:08:50 UTC, Vladimir Panteleev
wrote:
On Wednesday, 3 October 2018 at 03:25:04 UTC, solidstate1991
wrote:
and I don't want to go back to VisualD after VSCode for either
a usable mago or VS native debug.
Visual Studio makes a decent stand-alone source-level
On Sunday, 21 October 2018 at 01:12:44 UTC, Nick Sabalausky
(Abscissa) wrote:
On 10/12/18 4:05 AM, Vijay Nayar wrote:
But the D community has also been very receptive of changes to
the language
The community is. I don't feel like it's been true of the
leadership for some years now (and I
On Sat, Oct 20, 2018 at 10:10 AM Stanislav Blinov via Digitalmars-d
wrote:
>
> On Saturday, 20 October 2018 at 16:48:05 UTC, Nicholas Wilson
> wrote:
> > On Saturday, 20 October 2018 at 09:04:17 UTC, Walter Bright
> > wrote:
> >> On 10/19/2018 11:18 PM, Manu wrote:
> >>> The reason I ask is
On 21/10/2018 5:59 PM, solidstate1991 wrote:
On Wednesday, 3 October 2018 at 13:08:50 UTC, Vladimir Panteleev wrote:
On Wednesday, 3 October 2018 at 03:25:04 UTC, solidstate1991 wrote:
and I don't want to go back to VisualD after VSCode for either a
usable mago or VS native debug.
Visual
On Fri., 19 Oct. 2018, 3:10 am Walter Bright via Digitalmars-d, <
digitalmars-d@puremagic.com> wrote:
> On 10/17/2018 12:20 AM, Manu wrote:
> > What does it mean 'aliased' precisely?
>
> Aliasing means there are two paths to the same piece of data. That could
> be two
> pointers pointing to the
On Fri, Oct 19, 2018 at 9:45 AM Steven Schveighoffer via Digitalmars-d
wrote:
>
> On 10/18/18 9:09 PM, Manu wrote:
> > On Thu, Oct 18, 2018 at 5:30 PM Timon Gehr via Digitalmars-d
> > wrote:
> >>
> >> On 18.10.18 23:34, Erik van Velzen wrote:
> >>> If you have an object which can be used in both
On Fri, Oct 19, 2018 at 5:05 PM Dominikus Dittes Scherkl via
Digitalmars-d wrote:
>
> Therefore it is possible to implicitly cast from mutable or
> immutable to const but not in any other direction.
>
> I think for unshared, shared and threadsave it should be the same:
> The second is a
On Saturday, 20 October 2018 at 09:25:58 UTC, Russel Winder wrote:
On Sat, 2018-10-20 at 08:52 +, Gregor Mückl via
Digitalmars-d wrote:
[…]
I periodically look at how I can make use of D for small
projects. Most often, I shy away because I want to build a GUI
and none of the libraries
https://issues.dlang.org/show_bug.cgi?id=19320
Issue ID: 19320
Summary: Unittest error: Variable used before set in
std/array.d
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
On Thursday, 20 September 2018 at 17:14:12 UTC, Steven
Schveighoffer wrote:
On 9/20/18 12:24 PM, Adam D. Ruppe wrote:
On Thursday, 20 September 2018 at 15:52:03 UTC, Steven
Schveighoffer wrote:
I needed to know what the slice parameters that were failing
were.
Aye. Note that RangeError is
On Saturday, 20 October 2018 at 02:09:56 UTC, Dominikus Dittes
Scherkl wrote:
On Saturday, 20 October 2018 at 00:46:36 UTC, Nicholas Wilson
wrote:
Mutable = value may change
const = I will not change the value
immutable = the value will not change
unshared = I (well the current thread) owns
On Sat, 2018-10-20 at 12:43 +, tide via Digitalmars-d wrote:
>
[…]
> I mean it *may* work, but that isn't the problem if the
> developers completely lack support for the platform. I can
> download Qt with prebuilt libraries and it works out of the box
> with MSVC. There's an obvious
On Saturday, 20 October 2018 at 13:48:32 UTC, Paolo Invernizzi
wrote:
If `@nogc` could be relaxed for `new Error` exactly for that
reason, pieces of Phobos could be turned `@nogc`...
But I admit that that change would be controversial...
On Saturday, 20 October 2018 at 14:24:56 UTC, Russel Winder wrote:
On Sat, 2018-10-20 at 12:43 +, tide via Digitalmars-d wrote:
[…]
I mean it *may* work, but that isn't the problem if the
developers completely lack support for the platform. I can
download Qt with prebuilt libraries and
On Friday, 19 October 2018 at 21:29:42 UTC, Per Nordlöw wrote:
Now that
https://github.com/dlang/phobos/pull/6411
has been merged and DMD stable soon has the new
__traits(isZeroInit, T)
found here
https://dlang.org/changelog/2.083.0.html#isZeroInit
are there more
On Saturday, 20 October 2018 at 06:04:45 UTC, Manu wrote:
How can you find that such a construct carries its weight with
respect
to its rare-ness, when its usefulness is very limited to begin
with?
I suggested it only because of the resistance to the proposed
implicit cast to shared. But I
On Sat., 20 Oct. 2018, 12:10 am Dominikus Dittes Scherkl via Digitalmars-d,
wrote:
> On Saturday, 20 October 2018 at 06:04:45 UTC, Manu wrote:
> > How can you find that such a construct carries its weight with
> > respect
> > to its rare-ness, when its usefulness is very limited to begin
> >
On Sat., 20 Oct. 2018, 12:10 am Dominikus Dittes Scherkl via Digitalmars-d,
wrote:
> On Saturday, 20 October 2018 at 06:04:45 UTC, Manu wrote:
> > How can you find that such a construct carries its weight with
> > respect
> > to its rare-ness, when its usefulness is very limited to begin
> >
On Friday, 19 October 2018 at 22:19:31 UTC, H. S. Teoh wrote:
On Fri, Oct 19, 2018 at 02:41:48PM -0700, H. S. Teoh via
Digitalmars-d wrote: [...]
In the meantime, is there a particular version of the NDK that
I should use? Currently I have
android-ndk-r13b-linux-x86_64.zip installed. Will it
On 10/19/2018 11:18 PM, Manu wrote:
The reason I ask is because, by my definition, if you have:
int* a;
shared(int)* b = a;
While you have 2 numbers that address the same data, it is not actually aliased
because only `a` can access it.
They are aliased, by code that believes it is unshared,
https://issues.dlang.org/show_bug.cgi?id=19318
Issue ID: 19318
Summary: Variables captured from outer functions not visible in
debugger
Product: D
Version: D2
Hardware: All
OS: Windows
Status: NEW
On Sat, 2018-10-20 at 08:52 +, Gregor Mückl via Digitalmars-d
wrote:
>
[…]
> I periodically look at how I can make use of D for small
> projects. Most often, I shy away because I want to build a GUI
> and none of the libraries that I can find look mature and well
> maintained enough to put
On Saturday, 20 October 2018 at 09:25:58 UTC, Russel Winder wrote:
On Sat, 2018-10-20 at 08:52 +, Gregor Mückl via
Digitalmars-d wrote:
[…]
I periodically look at how I can make use of D for small
projects. Most often, I shy away because I want to build a GUI
and none of the libraries
On Friday, 19 October 2018 at 17:34:10 UTC, Mike Parker wrote:
I plan to port the more used Derelict bindings over the course
of the next few weeks. I've got another massive project I'm
working on that will make use of some of the BindBC packages,
so I'll be focusing first on the ones I need
On Saturday, 20 October 2018 at 17:06:22 UTC, Stanislav Blinov
wrote:
On Saturday, 20 October 2018 at 16:48:05 UTC, Nicholas Wilson
wrote:
On Saturday, 20 October 2018 at 09:04:17 UTC, Walter Bright
wrote:
by code that believes it is unshared
you cannot `@safe`ly modify the memory through
On Sat, Oct 20, 2018 at 2:05 AM Walter Bright via Digitalmars-d
wrote:
>
> On 10/19/2018 11:18 PM, Manu wrote:
> > The reason I ask is because, by my definition, if you have:
> > int* a;
> > shared(int)* b = a;
> >
> > While you have 2 numbers that address the same data, it is not actually
> >
On Sat, Oct 20, 2018 at 9:45 AM Stanislav Blinov via Digitalmars-d
wrote:
>
> On Saturday, 20 October 2018 at 16:18:53 UTC, aliak wrote:
>
> > class C {
> > void f();
> > void g() shared;
> > }
> >
> > void t1(shared C c) {
> > c.g; // ok
> > c.f; // error
> > }
> >
> > void t2(shared C
https://issues.dlang.org/show_bug.cgi?id=19322
Issue ID: 19322
Summary: A lot of memory is consumed and not freed to the
system when Exception is formatted with stacktrace in
debug
Product: D
Version: D2
https://issues.dlang.org/show_bug.cgi?id=19322
Tomáš Chaloupka changed:
What|Removed |Added
CC||d...@me.com
--
On Saturday, 20 October 2018 at 18:30:59 UTC, Manu wrote:
On Sat, Oct 20, 2018 at 9:45 AM Stanislav Blinov via
Digitalmars-d wrote:
On Saturday, 20 October 2018 at 16:18:53 UTC, aliak wrote:
> class C {
> void f();
> void g() shared;
> }
Those are not "ok". They're only "ok" under
On Saturday, 20 October 2018 at 15:10:38 UTC, Nathan S. wrote:
Other opportunities would rely on being able to identify if
it's ever more efficient to write `memset(, 0,
typeof(x).sizeof)` instead of `x = typeof(x).init` which seems
like the kind of optimization that belongs in the compiler
https://issues.dlang.org/show_bug.cgi?id=18929
Tiberiu Lepadatu changed:
What|Removed |Added
CC||tiberiulepadat...@gmail.com
--- Comment
On Saturday, 20 October 2018 at 15:40:07 UTC, karis njiru wrote:
Hi. Am a computer science student from Kenya and decided to use
D for my class project on Principles of Programming Languages.
Am having a lot of fun with D but have come across an issue. I
have been using Visual D for the past 2
https://issues.dlang.org/show_bug.cgi?id=19321
Issue ID: 19321
Summary: Unions "may not" have fields with destructors
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
On Saturday, 20 October 2018 at 10:28:47 UTC, Gregor Mückl wrote:
On Saturday, 20 October 2018 at 09:25:58 UTC, Russel Winder
wrote:
On Sat, 2018-10-20 at 08:52 +, Gregor Mückl via
Digitalmars-d wrote:
[…]
I periodically look at how I can make use of D for small
projects. Most often, I
https://issues.dlang.org/show_bug.cgi?id=15710
Ioana Stefan changed:
What|Removed |Added
Status|NEW |ASSIGNED
CC|
Hi. Am a computer science student from Kenya and decided to use D
for my class project on Principles of Programming Languages. Am
having a lot of fun with D but have come across an issue. I have
been using Visual D for the past 2 months for my coding but after
a lot of research i found out
On Saturday, 20 October 2018 at 14:56:37 UTC, Mike Parker wrote:
On Saturday, 20 October 2018 at 13:48:32 UTC, Paolo Invernizzi
wrote:
If `@nogc` could be relaxed for `new Error` exactly for that
reason, pieces of Phobos could be turned `@nogc`...
But I admit that that change would be
https://issues.dlang.org/show_bug.cgi?id=19317
--- Comment #2 from Nicholas Wilson ---
Hmm, the actual problem seems to be that _d_delThrowable takes a Throwable [1]
(N.B: not the most derived type) and after checking its not null, is ref
counted, and `GC.removeRange(t);`ing if necessary,
On Saturday, 20 October 2018 at 09:04:17 UTC, Walter Bright wrote:
Somehow, you still have to find a way to give the shared path
access, through a gate or a cast or a lock or whatever. And
then it breaks, because two different threads are accessing the
same data each thinking that data is not
https://issues.dlang.org/show_bug.cgi?id=7006
Cristian Creteanu changed:
What|Removed |Added
CC||cristiancretean...@gmail.co
On Saturday, 20 October 2018 at 16:18:53 UTC, aliak wrote:
class C {
void f();
void g() shared;
}
void t1(shared C c) {
c.g; // ok
c.f; // error
}
void t2(shared C c) {
c.g; // ok
c.f; // error
}
auto c = new C();
spawn(, c);
spawn(, c);
c.f; // ok
c.g; // ok
Those are not
On Saturday, 20 October 2018 at 09:04:17 UTC, Walter Bright wrote:
On 10/19/2018 11:18 PM, Manu wrote:
The reason I ask is because, by my definition, if you have:
int* a;
shared(int)* b = a;
While you have 2 numbers that address the same data, it is not
actually aliased because only `a` can
On Saturday, 20 October 2018 at 16:48:05 UTC, Nicholas Wilson
wrote:
On Saturday, 20 October 2018 at 09:04:17 UTC, Walter Bright
wrote:
On 10/19/2018 11:18 PM, Manu wrote:
The reason I ask is because, by my definition, if you have:
int* a;
shared(int)* b = a;
While you have 2 numbers that
On Sat., 20 Oct. 2018, 7:00 am Stanislav Blinov via Digitalmars-d, <
digitalmars-d@puremagic.com> wrote:
> On Saturday, 20 October 2018 at 02:09:56 UTC, Dominikus Dittes
> Scherkl wrote:
> > On Saturday, 20 October 2018 at 00:46:36 UTC, Nicholas Wilson
> > wrote:
> >> Mutable = value may change
>
On Saturday, 20 October 2018 at 16:41:41 UTC, Stanislav Blinov
wrote:
On Saturday, 20 October 2018 at 16:18:53 UTC, aliak wrote:
class C {
void f();
void g() shared;
}
void t1(shared C c) {
c.g; // ok
c.f; // error
}
void t2(shared C c) {
c.g; // ok
c.f; // error
}
auto c = new
On Friday, 19 October 2018 at 03:53:12 UTC, Walter Bright wrote:
On 10/15/2018 2:23 PM, Walter Bright wrote:
I'm giving a presentation at:
http://nwcpp.org/
See you there!
Had a nice crowd there last night. Apparently lots of people
were interested in this topic!
Video:
On Friday, 12 October 2018 at 10:27:53 UTC, Peter Alexander wrote:
As long as D continues to be a nice language to work in for
hobbyists, there will always be potential for a killer use case
to come along. D just needs to make sure it doesn't piss off
its fans. vibe.d happened because a
https://issues.dlang.org/show_bug.cgi?id=19319
Issue ID: 19319
Summary: No line number when std.math is missing for x ^^ y
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
On Friday, 19 October 2018 at 22:16:04 UTC, Ky-Anh Huynh wrote:
On Wednesday, 17 October 2018 at 23:15:53 UTC, Jon Degenhardt
wrote:
I need to use docker to build static linked Linux executables.
My reason is specific, may be different than the OP's. I'm
using Travis-CI to build executables.
59 matches
Mail list logo