On Fri, Oct 19, 2018 at 4:45 PM Dominikus Dittes Scherkl via
Digitalmars-d wrote:
>
> On Friday, 19 October 2018 at 18:11:50 UTC, Manu wrote:
> > On Fri, Oct 19, 2018 at 6:45 AM Dominikus Dittes Scherkl via
> > Digitalmars-d wrote:
> >>
> >> On Thursday, 18 October 2018 at 16:24:39 UTC, Manu
On Fri, Oct 19, 2018 at 08:50:36PM +, Joakim via Digitalmars-d wrote:
> On Wednesday, 17 October 2018 at 21:23:21 UTC, H. S. Teoh wrote:
> > I'm trying to follow the instructions on this page:
> >
> > https://wiki.dlang.org/Build_D_for_Android
[...]
On a side note, the last section on
https://issues.dlang.org/show_bug.cgi?id=19317
Nicholas Wilson changed:
What|Removed |Added
CC||iamthewilsona...@hotmail.co
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 the reference
shared = reference not owned, no unordered access, no
(unordered)
On Friday, 19 October 2018 at 23:46:29 UTC, Nicholas Wilson wrote:
On Friday, 19 October 2018 at 23:34:01 UTC, Atila Neves wrote:
On Thursday, 20 September 2018 at 12:48:13 UTC, Steven
Schveighoffer wrote:
How is the exception destroyed when dip1008 is enabled?
Apparently, it isn't. Which
On Friday, 19 October 2018 at 17:34:10 UTC, Mike Parker wrote:
In the 14.5 (!) years I've been maintaining the Derelict
bindings, I've restructured the source tree a few times
(Derelict 1 - 3 to DerelictOrg), had three implementations of
the loader (that I can remember), switched from
On Saturday, 20 October 2018 at 00:00:49 UTC, Dominikus Dittes
Scherkl wrote:
Hmm.
mutable, immutable and const form a triple, the second is a
declaration attribute, the last an parameter attribute,
indicating that you don't want to modify the parameter, may it
be because you can't (as it is
On Friday, 19 October 2018 at 15:46:20 UTC, Stanislav Blinov
wrote:
On Friday, 19 October 2018 at 13:40:54 UTC, Dominikus Dittes
Scherkl wrote:
Conflating "shared" and "threadsave" in that manner was, I
think, the biggest mistake of your proposal.
He talked about it in a previous thread, and
On Thursday, 18 October 2018 at 16:21:00 UTC, Kai wrote:
On Thursday, 18 October 2018 at 07:51:07 UTC, Andre Pany wrote:
On Thursday, 18 October 2018 at 00:24:29 UTC, Kai wrote:
On Wednesday, 17 October 2018 at 17:44:34 UTC, Adam D. Ruppe
wrote:
[...]
Hmm - wish it was so. When
On Friday, 19 October 2018 at 23:34:01 UTC, Atila Neves wrote:
On Thursday, 20 September 2018 at 12:48:13 UTC, Steven
Schveighoffer wrote:
How is the exception destroyed when dip1008 is enabled?
Apparently, it isn't. Which renders dip1008 pretty much useless
since we could already use static
On Friday, 19 October 2018 at 23:32:44 UTC, solidstate1991 wrote:
Since it's a bit difficult to make tree traversal through range
(especially if someone wants to make it @nogc), I thought I'll
make it through opApply override, however the delegate passed
by it doesn't have the @nogc attribute,
On 20/10/2018 12:32 PM, solidstate1991 wrote:
Since it's a bit difficult to make tree traversal through range
(especially if someone wants to make it @nogc), I thought I'll make it
through opApply override, however the delegate passed by it doesn't have
the @nogc attribute, which would
On Friday, 19 October 2018 at 18:11:50 UTC, Manu wrote:
On Fri, Oct 19, 2018 at 6:45 AM Dominikus Dittes Scherkl via
Digitalmars-d wrote:
On Thursday, 18 October 2018 at 16:24:39 UTC, Manu wrote:
> [...] What issues am I failing to address?
[...] Another point is the part of "how can the
https://issues.dlang.org/show_bug.cgi?id=19317
Issue ID: 19317
Summary: dip1008 doesn't call the throwable's destructor in
_d_delThrowable
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status:
On Thursday, 20 September 2018 at 12:48:13 UTC, Steven
Schveighoffer wrote:
On 9/20/18 6:48 AM, Atila Neves wrote:
On Wednesday, 19 September 2018 at 21:16:00 UTC, Steven
Schveighoffer wrote:
Given dip1008, we now can throw exceptions inside @nogc code!
This is really cool, and helps make code
Since it's a bit difficult to make tree traversal through range
(especially if someone wants to make it @nogc), I thought I'll
make it through opApply override, however the delegate passed by
it doesn't have the @nogc attribute, which would automatically
make it incapable to be used in a @nogc
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 work?
[...]
Haha, I feel so silly now. NDK r13b does not
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. Travis-CI uses Ubuntu
14.04, but static linking fails on 14.04.
On Fri, Oct 19, 2018 at 02:41:48PM -0700, H. S. Teoh via Digitalmars-d wrote:
[...]
> I tried ldc-build-runtime with --ninja and it came back with a bunch of
> errors about "cortex-a8" being an unsupported target, and then
> segfaulted. So I'm going to try the "official" LDC release instead...
On Fri, Oct 19, 2018 at 08:54:25PM +, Joakim via Digitalmars-d wrote:
[...]
> Also, if you're using a system-provided LDC, it may not support Android, if
> it wasn't built against our slightly tweaked llvm:
>
> https://github.com/ldc-developers/llvm
>
> In that case, use the LDC download
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 zero-initializations that can be optimized in
std.experimental.allocator?
On Friday, 19 October 2018 at 20:50:36 UTC, Joakim wrote:
On Wednesday, 17 October 2018 at 21:23:21 UTC, H. S. Teoh wrote:
I'm trying to follow the instructions on this page:
https://wiki.dlang.org/Build_D_for_Android
[...]
Hmm, that's weird: can you extract the full compiler
On Wednesday, 17 October 2018 at 21:23:21 UTC, H. S. Teoh wrote:
I'm trying to follow the instructions on this page:
https://wiki.dlang.org/Build_D_for_Android
[...]
Hmm, that's weird: can you extract the full compiler command for
that file? For example, if you use Ninja, by
On Friday, 19 October 2018 at 17:34:10 UTC, Mike Parker wrote:
dpp almost completely kills the reason to use any BindBC
package in its static binding configuration. The
I've used the OpenGL and GLFW BindBC bindings for a few days or
so now, and its certainly a lot more convenient to use that
On Friday, 19 October 2018 at 18:00:47 UTC, Atila Neves wrote:
Because int or int* does not have threadsafe member functions.
https://dlang.org/phobos/core_atomic.html
Atomic and thread-safe are two very different concepts.
Thread-safe is more of an ecosystem thing - if there are ways to
On Friday, 19 October 2018 at 17:34:10 UTC, Mike Parker wrote:
[...]
When I saw the packages appearing on dub, I knew an announcement
was imminent. This is great stuff!
I don't think dpp obsoletes this. If you aren't already using
dpp, being able to just add a dependency from dub is less
On 20/10/2018 2:07 AM, Dominikus Dittes Scherkl wrote:
This document provide no reasoning about what usecases it supports:
It was a basic idea of mine... It was never meant to be PR'd.
On Friday, 19 October 2018 at 17:53:58 UTC, Stanislav Blinov
wrote:
On Friday, 19 October 2018 at 17:40:59 UTC, Carl Sturtivant
wrote:
If we imagine an Ordered Range being a finite Range of some
kind with the additional property that its values are ordered
(--- exact definition needed
On Fri, Oct 19, 2018 at 06:34:50PM +, Joakim via Digitalmars-d wrote:
> On Thursday, 18 October 2018 at 19:37:24 UTC, H. S. Teoh wrote:
[...]
> > Eventually I resorted to generating Java code from D for some fo the
> > most painful repetitive parts, and the way things are looking, I'm
> >
https://issues.dlang.org/show_bug.cgi?id=19316
Issue ID: 19316
Summary: GC runtime breaks @safe
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P1
https://issues.dlang.org/show_bug.cgi?id=19315
Issue ID: 19315
Summary: #line inside token string affect outside code
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
https://issues.dlang.org/show_bug.cgi?id=19307
Rainer Schuetze changed:
What|Removed |Added
Keywords||pull
--- Comment #2 from Rainer Schuetze
On Thursday, 18 October 2018 at 21:24:53 UTC, jmh530 wrote:
On Thursday, 18 October 2018 at 17:17:37 UTC, Atila Neves wrote:
[snip]
Assuming this world... how do you use shared?
https://github.com/atilaneves/fearless
I had posted your library before to no response...
I had two
On Thursday, 18 October 2018 at 19:37:24 UTC, H. S. Teoh wrote:
On Thu, Oct 18, 2018 at 07:09:42PM +, Patrick Schluter via
Digitalmars-d wrote: [...]
I often have the impression that a lot of things are going
slower than necessary because a mentality where the perfect is
in the way of
On Fri, Oct 19, 2018 at 6:45 AM Dominikus Dittes Scherkl via
Digitalmars-d wrote:
>
> On Thursday, 18 October 2018 at 16:24:39 UTC, Manu wrote:
> > On Wednesday, 17 October 2018 at 22:56:26 UTC, H. S. Teoh wrote:
> >> What cracks me up with Manu's proposal is that it is its
> >> simplicity and
On Thursday, 18 October 2018 at 19:04:58 UTC, Erik van Velzen
wrote:
On Thursday, 18 October 2018 at 17:47:29 UTC, Stanislav Blinov
wrote:
On Thursday, 18 October 2018 at 17:17:37 UTC, Atila Neves
wrote:
On Monday, 15 October 2018 at 18:46:45 UTC, Manu wrote:
Assuming the rules above: "can't
On Friday, 19 October 2018 at 17:40:59 UTC, Carl Sturtivant wrote:
If we imagine an Ordered Range being a finite Range of some
kind with the additional property that its values are ordered
(--- exact definition needed ---)...
There's already a SortedRange:
On Wednesday, 17 October 2018 at 19:02:00 UTC, Steven
Schveighoffer wrote:
On 10/17/18 2:03 PM, Carl Sturtivant wrote:
On Monday, 15 October 2018 at 13:39:59 UTC, Steven
Schveighoffer wrote:
But that's just the thing -- merge sort *does* depend on the
container type. It requires the ability
In the 14.5 (!) years I've been maintaining the Derelict
bindings, I've restructured the source tree a few times (Derelict
1 - 3 to DerelictOrg), had three implementations of the loader
(that I can remember), switched from Subversion to Git, and
supported a few different approaches to building
On Fri., 19 Oct. 2018, 6:10 am Dominikus Dittes Scherkl via Digitalmars-d, <
digitalmars-d@puremagic.com> wrote:
> On Friday, 19 October 2018 at 06:25:00 UTC, rikki cattermole
> wrote:
> > On 19/10/2018 7:09 PM, Norm wrote:
>
> > [0]
> >
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 a thread-safe and a
thread-unsafe way that's a bug or code smell.
Then why do you not just make all
On Friday, 19 October 2018 at 13:40:54 UTC, Dominikus Dittes
Scherkl wrote:
On Thursday, 18 October 2018 at 16:24:39 UTC, Manu wrote:
On Wednesday, 17 October 2018 at 22:56:26 UTC, H. S. Teoh
wrote:
What cracks me up with Manu's proposal is that it is its
simplicity and lack of ambition that
https://issues.dlang.org/show_bug.cgi?id=12206
RazvanN changed:
What|Removed |Added
CC||razvan.nitu1...@gmail.com
--- Comment #2 from
https://issues.dlang.org/show_bug.cgi?id=19238
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=19238
--- Comment #1 from github-bugzi...@puremagic.com ---
Commit pushed to master at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/f7154ec86a21029d16784c698d152ed33ef16dd4
Fix issue 19238 - Allow splitter on random-access ranges
On Thursday, 18 October 2018 at 16:24:39 UTC, Manu wrote:
On Wednesday, 17 October 2018 at 22:56:26 UTC, H. S. Teoh wrote:
What cracks me up with Manu's proposal is that it is its
simplicity and lack of ambition that is criticized the most.
shared is a clusterfuck, according to what I gathered
Hi,
So for those of you who have contributed to D on GitHub in the
last few months, you might have noticed the new Buildkite CI
status checks.
tl;dr:
- it's the replacement for the Jenkins project tester (which has
been deactivated ~ three months ago)
- it allows us to add our own agents
On Friday, 19 October 2018 at 06:25:00 UTC, rikki cattermole
wrote:
On 19/10/2018 7:09 PM, Norm wrote:
[0]
https://github.com/rikkimax/DIPs/blob/shared/DIPs/DIP1xxx-RC2.md
This document provide no reasoning about what usecases it
supports:
Is it possible to create objects that are shared
https://issues.dlang.org/show_bug.cgi?id=19288
Mihails Strasuns changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://issues.dlang.org/show_bug.cgi?id=19314
Issue ID: 19314
Summary: Thread object destruction may result in UB
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
https://issues.dlang.org/show_bug.cgi?id=19313
Issue ID: 19313
Summary: Attaching external thread may result in segfault
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
https://issues.dlang.org/show_bug.cgi?id=19288
--- Comment #4 from Mihails Strasuns ---
Sub-issue #1 https://issues.dlang.org/show_bug.cgi?id=19313
--
https://issues.dlang.org/show_bug.cgi?id=8663
RazvanN changed:
What|Removed |Added
CC||razvan.nitu1...@gmail.com
See Also|
https://issues.dlang.org/show_bug.cgi?id=16633
RazvanN changed:
What|Removed |Added
See Also||https://issues.dlang.org/sh
|
https://issues.dlang.org/show_bug.cgi?id=16633
RazvanN changed:
What|Removed |Added
CC||razvan.nitu1...@gmail.com
--- Comment #2 from
On Wednesday, 17 October 2018 at 13:15:44 UTC, bachmeier wrote:
I can definitely see that. I wanted to write a GUI program some
time ago and looked at GtkD. It wasn't easy to see where to
start with GtkD, and I eventually ended up running a local web
server and creating the GUI in the
On Friday, 19 October 2018 at 10:03:17 UTC, jmh530 wrote:
On Friday, 19 October 2018 at 02:18:38 UTC, Shigeki Karita
wrote:
[snip]
https://github.com/jmmartinez/easy-just-in-time/blob/master/doc/slides/cppcon'18.pdf
Thanks for those!
I'm a little confused about using the jit in
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 same data, or one pointer to a variable that is
accessible by name.
It doesn't really give us
anything in
On Friday, 19 October 2018 at 02:18:38 UTC, Shigeki Karita wrote:
[snip]
https://github.com/jmmartinez/easy-just-in-time/blob/master/doc/slides/cppcon'18.pdf
Thanks for those!
On Friday, 19 October 2018 at 06:53:32 UTC, dangbinghoo wrote:
hi,
why the code bellow compiles?
---
import std.stdio;
class A {
int m;
}
void main() {
A a;
a.m = 1;
}
---
and running this code get:
`segmentation fault (core dumped) ./test`
I consider this couldn't be compiled
https://issues.dlang.org/show_bug.cgi?id=5577
--- Comment #2 from Jacob Carlborg ---
(In reply to Mathias LANG from comment #1)
> I'm going to close this.
That's fine, it don't even remember how/where I encountered this :)
--
On 19/10/2018 9:02 PM, Walter Bright wrote:
On 10/17/2018 4:29 AM, jmh530 wrote:
Isn't that also true for isolated data (data that only allows one alias)?
That's colloquially called "unique" data. And yes, it is also true for
that. That's why casting the return value of malloc() to 'shared'
On 10/17/2018 4:29 AM, jmh530 wrote:
Isn't that also true for isolated data (data that only allows one alias)?
That's colloquially called "unique" data. And yes, it is also true for that.
That's why casting the return value of malloc() to 'shared' is safe. It's just
that the language has no
hi,
why the code bellow compiles?
---
import std.stdio;
class A {
int m;
}
void main() {
A a;
a.m = 1;
}
---
and running this code get:
`segmentation fault (core dumped) ./test`
I consider this couldn't be compiled according to book Programming Language>.
The latest dmd
On 19/10/2018 7:09 PM, Norm wrote:
There's another way; Stanislav isn't one you need to convince so if that
particular discussion is unproductive and disruptive just ignore it. I.e
technical discussions should be robust but once they become personal
just ignore that input and move on. Isn't
On Friday, 19 October 2018 at 02:20:22 UTC, Manu wrote:
On Thu., 18 Oct. 2018, 7:10 pm Stanislav Blinov via
Digitalmars-d, < digitalmars-d@puremagic.com> wrote:
On Friday, 19 October 2018 at 01:53:00 UTC, Manu wrote:
> This is a red-herring.
> In short, he made up this issue, it doesn't
https://issues.dlang.org/show_bug.cgi?id=9088
Mathias LANG changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=4612
Mathias LANG changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
68 matches
Mail list logo