On 12/23/16 8:39 PM, Suliman wrote:
On Saturday, 24 December 2016 at 01:15:43 UTC, jkpl wrote:
On Friday, 23 December 2016 at 06:18:02 UTC, Suliman wrote:
I would like to visualize how GC works and display free/not free
memory segments.
How I can understand which of them are used and which not?
On Saturday, 31 December 2016 at 06:33:10 UTC, Ignacious wrote:
On Saturday, 31 December 2016 at 05:52:00 UTC, Ignacious wrote:
On Thursday, 29 December 2016 at 10:14:53 UTC, Joakim wrote:
[...]
Is there any way to get a package that works for windows?
While the steps don't seem too difficul
On Saturday, 31 December 2016 at 05:52:00 UTC, Ignacious wrote:
On Thursday, 29 December 2016 at 10:14:53 UTC, Joakim wrote:
[...]
Is there any way to get a package that works for windows? While
the steps don't seem too difficult to do, things never go well
for me(something always breaks...
On Thursday, 29 December 2016 at 10:14:53 UTC, Joakim wrote:
On Wednesday, 28 December 2016 at 23:33:57 UTC, Ignacious wrote:
What is the current status for building android apps in D? I
would like to create simple graphic based apps but don't wanna
get bogged down in trying to get car moving w
On Saturday, 31 December 2016 at 02:36:01 UTC, rikki cattermole
wrote:
No, my understand is thus:
next = current.next;
theAllocator.dispose(current);
When current is deallocated, current is pointing to free'd
memory.
After that point it should be segfaulting when you try to
access it *I thi
On 31/12/2016 3:32 PM, David Zhang wrote:
On Saturday, 31 December 2016 at 02:03:07 UTC, rikki cattermole wrote:
As it should, current is never reassigned.
You only need one var, next. Of course I didn't read the entire thread
chain so, I'm probably missing something.
import std.experimental.al
On Saturday, 31 December 2016 at 02:03:07 UTC, rikki cattermole
wrote:
As it should, current is never reassigned.
You only need one var, next. Of course I didn't read the entire
thread chain so, I'm probably missing something.
import std.experimental.allocator;
void main() {
struct S
On 31/12/2016 2:52 PM, David Zhang wrote:
Extracting everything into a main() also causes the application to hang.
ie:
struct S
{
S* next;
}
S* _foo;
foreach (e; 0 .. 10)
_foo = theAllocator.make!S(_foo);
S* next, current;
next = current = _foo;
while (next)
{
next = current.next;
Extracting everything into a main() also causes the application
to hang.
ie:
struct S
{
S* next;
}
S* _foo;
foreach (e; 0 .. 10)
_foo = theAllocator.make!S(_foo);
S* next, current;
next = current = _foo;
while (next)
{
next = current.next;
theAllocator.dispose(current);
}
On Friday, 30 December 2016 at 22:42:07 UTC, Steven Schveighoffer
wrote:
What is actually happening is that the D main function returns.
Then the D runtime tears down everything, including joining all
threads, running all module static dtors, terminating the GC,
etc.
Then it returns to the OS
On Friday, 16 December 2016 at 08:03:22 UTC, Ali Çehreli wrote:
shared static this() {
matrix =
(cast(immutable(int[width])*)buffer.ptr)[0..height];
// Make sure we did not copy into matrix
assert(cast(void*)matrix.ptr == cast(void*)buffer.ptr);
}
Thanks Ali, this is neat!!
On Friday, 30 December 2016 at 05:24:56 UTC, Jeremy DeHaan wrote:
On Friday, 30 December 2016 at 04:56:59 UTC, Jerry wrote:
On Friday, 30 December 2016 at 03:51:13 UTC, Jeremy DeHaan
wrote:
How does one correctly add a linker path that has spaces?
The quotes get consumed by the command line.
On Friday, 30 December 2016 at 05:24:56 UTC, Jeremy DeHaan wrote:
On Friday, 30 December 2016 at 04:56:59 UTC, Jerry wrote:
On Friday, 30 December 2016 at 03:51:13 UTC, Jeremy DeHaan
wrote:
How does one correctly add a linker path that has spaces?
The quotes get consumed by the command line.
On 12/30/16 4:31 PM, David Zhang wrote:
@Steven, the process hangs after the "All unit tests have been
successfully", after which the process is supposed to exit immediately.
What is actually happening is that the D main function returns. Then the
D runtime tears down everything, including joi
On 30.12.2016 19:24, Jeremy DeHaan wrote:
On Friday, 30 December 2016 at 04:56:59 UTC, Jerry wrote:
On Friday, 30 December 2016 at 03:51:13 UTC, Jeremy DeHaan wrote:
How does one correctly add a linker path that has spaces?
The quotes get consumed by the command line. The way DMD spawns the
On Friday, 30 December 2016 at 20:59:30 UTC, Seb wrote:
On Friday, 30 December 2016 at 18:03:44 UTC, David Zhang wrote:
On Friday, 30 December 2016 at 14:12:35 UTC, Steven
Schveighoffer wrote:
[snip]
It depends on what is actually hanging the process. If it's
something in your code base only,
On Friday, 30 December 2016 at 18:03:44 UTC, David Zhang wrote:
On Friday, 30 December 2016 at 14:12:35 UTC, Steven
Schveighoffer wrote:
[snip]
It depends on what is actually hanging the process. If it's
something in your code base only, then nobody else would be
seeing it.
-Steve
So, wha
On 12/30/16 1:03 PM, David Zhang wrote:
On Friday, 30 December 2016 at 14:12:35 UTC, Steven Schveighoffer wrote:
[snip]
It depends on what is actually hanging the process. If it's something
in your code base only, then nobody else would be seeing it.
So, what should I do with it? I'd submit a
On Friday, 30 December 2016 at 04:56:59 UTC, Jerry wrote:
On Friday, 30 December 2016 at 03:51:13 UTC, Jeremy DeHaan
wrote:
How does one correctly add a linker path that has spaces?
The quotes get consumed by the command line. The way DMD spawns
the linker by creating a new string with all th
On Friday, 30 December 2016 at 14:12:35 UTC, Steven Schveighoffer
wrote:
[snip]
It depends on what is actually hanging the process. If it's
something in your code base only, then nobody else would be
seeing it.
-Steve
So, what should I do with it? I'd submit a bug report, but I
don't know
On Thursday, 29 December 2016 at 21:29:47 UTC, Stefan Koch wrote:
ldc accepts invalid code there.
But it might be that dmd 2.071.2 did that as well.
If so It will be fixed as soon as ldc updates the front-end
version.
Nope, tried with dmd v2.071.2 and it gives same error as v2.072.1.
I think I
On 12/29/16 8:33 PM, David Zhang wrote:
On Friday, 30 December 2016 at 01:25:50 UTC, Steven Schveighoffer wrote:
Looks like that comes from here:
https://github.com/dlang/dub/blob/master/source/dub/dub.d#L577
I have serious doubts that this is the correct way to run tests, as
share ctors are s
On Friday, 30 December 2016 at 05:24:56 UTC, Jeremy DeHaan wrote:
On Friday, 30 December 2016 at 04:56:59 UTC, Jerry wrote:
On Friday, 30 December 2016 at 03:51:13 UTC, Jeremy DeHaan
wrote:
How does one correctly add a linker path that has spaces?
The quotes get consumed by the command line.
23 matches
Mail list logo