On Friday, 23 October 2015 at 16:27:11 UTC, Shriramana Sharma
wrote:
Shriramana Sharma wrote:
I'd just like to have a quick but reliable way to
store real and int data types into a binary data file and read
therefrom.
Is there such a solution?
Wow thank you people! Nice to know I can do
On Monday, 26 October 2015 at 21:25:58 UTC, Cleverson wrote:
Hello,
Is there any library or module for easily managing basic audio
functions, e.g., play/pause/stop a sound? I can't find it
amongst the standard library and the packages colection, or
maybe I don't know how to search properly,
Hello,
Is there any library or module for easily managing basic audio
functions, e.g., play/pause/stop a sound? I can't find it amongst
the standard library and the packages colection, or maybe I don't
know how to search properly, since I'm new to D and its ecosystem.
Thank you,
Cleverson
On Monday, 26 October 2015 at 18:46:45 UTC, Dandyvica wrote:
Hi all,
I'm trying to find out a solution to implement a generic tree
or array container whose nodes
can either be elements or a subtree (or sub-array).
Pretty much like you can do in Python:
l = [1, 2, [1, 2, 3], 4]
l is a list
On Monday, 26 October 2015 at 19:26:08 UTC, Meta wrote:
On Monday, 26 October 2015 at 18:46:45 UTC, Dandyvica wrote:
Hi all,
I'm trying to find out a solution to implement a generic tree
or array container whose nodes
can either be elements or a subtree (or sub-array).
Pretty much like you
Forgot to say, it may be for Windows only, in case a portable
version isn't available.
On Monday, 26 October 2015 at 20:53:18 UTC, Dandyvica wrote:
Thanks Meta, great idea.
But does I'd like to have something like dynamic arrays and be
able to do this:
class A(T) { T _v; this(T v) { _v = v; } }
auto myContainer = MyContainerArray!(A!int)();
myContainer ~= new A!int(1);
I just noticed these multiple terminologies:
* from the compiler --help, -H refers to a 'header' file
* the compiler online page refers to it as 'D interface' file
* The generated .di file first line comment says 'D import file'
I know they refer to the same thing but how is this kind of
On Monday, 26 October 2015 at 21:25:58 UTC, Cleverson wrote:
Hello,
Is there any library or module for easily managing basic audio
functions, e.g., play/pause/stop a sound? I can't find it
amongst the standard library and the packages colection, or
maybe I don't know how to search properly,
On Saturday, 24 October 2015 at 19:02:50 UTC, TheFlyingFiddle
wrote:
On Saturday, 24 October 2015 at 19:00:57 UTC, TheFlyingFiddle
wrote:
One thing about variant is that if the struct you are trying
to insert is larger then (void delegate()).sizeof it will
allocate the wrapped type on the gc
Hi all,
I'm trying to find out a solution to implement a generic tree or
array container whose nodes
can either be elements or a subtree (or sub-array).
Pretty much like you can do in Python:
l = [1, 2, [1, 2, 3], 4]
l is a list of (integers or list of integers).
Any idea on how to do
On Monday, 26 October 2015 at 03:53:21 UTC, Adam D. Ruppe wrote:
On Monday, 26 October 2015 at 03:44:31 UTC, WhatMeWorry wrote:
First, isn't Vector!(float,3) a template which creates a tuple
consisting of float, float, float; so aren't the argument
types identical?
I'm not familiar with the
The problem is that the compiler and linker are separate
programs; the compiler has to generate input for the linker in
the form of a file.
RDMD automatically cleans up all the .obj garbage, so one
solution is to run
rdmd --build-only asdf.d
Also, the -of flag is a little more
The subject line says it all. Every time I compile a D file to an executable
I get an unwanted .o file and have to manually clean up things. I'm using
DMD 2.0.68.2.
-of doesn't help, and my God, it doesn't even allow a space or equal sign
between itself and the desired name of the output file
On Sunday, 25 October 2015 at 08:56:52 UTC, Jonathan M Davis
wrote:
It is my understanding that the GC does not normally ever
return memory to the OS
It seems that it does now. In smallAlloc() and bigAlloc(), if
allocation fails it collects garbage and then:
if (lowMem) minimize();
On
Correction: you said
"the GC does not normally ever return memory"
and you're right, because applications do not "normally" consume
>95% of their address space.
On Monday, 26 October 2015 at 11:55:48 UTC, Shriramana Sharma
wrote:
The subject line says it all. Every time I compile a D file to
an executable I get an unwanted .o file and have to manually
clean up things. I'm using DMD 2.0.68.2.
Do you mean:
-odobjdir write object & library files
17 matches
Mail list logo