Hello, world. Brand new poster here though I posted similar
messages in other language forums. I hope this is the right place
to ask because my question is half about existing stuff and half
about prospective work.
I am considering starting with D amid a C++ code base. New D code
would need t
Thank you all for responding. I have run the following
experiment. Trying to call a method of std::allocator I am
sure I am doing something wrong. Please do tell and apologies for
my noobiness.
// test.d
extern(C++, std)
{
struct allocator(T)
{
alias size_type = size_t;
On Sunday, 24 August 2014 at 04:59:04 UTC, Walter Bright wrote:
On 8/23/2014 9:31 PM, Scott Wilson wrote:
Could you tell me how I could get this to work?
The function is mangled as:
C++:_ZNSaIiE10deallocateEPvm
D: _ZN3std9allocatorIiE10deallocateEPvm
Looks like D gets it wrong.
Th
wrote:
On Sun, 24 Aug 2014 04:31:55 +
Scott Wilson via Digitalmars-d
wrote:
there is NO support for instantiating C++ templates in D code.
and you
can't write C++ template specialization code in D.
SWIG has D support. But it seems old and out of fashion.
Community here does not buzz about it much either. Whats the word
on the street about the quality of SWIG-D stuff?
Scott
PS thankyou Walter for replying
Hey I want to benchmark speed of D and other languages. I think
I'll use rosetta code. It has functional equivalent code in
several langs.
What is a large program on rosetta? I will copy that program many
times and modify each with sed so the names are abit different.
Then write a makefile and bu
I found https://github.com/acmeism/RosettaCodeData. Is it fresh?
To estimate build times I'll concatenate all files into one.
About 6K LOC. Then I'll duplicate that file. Sound good?
Scott
On Thursday, 28 August 2014 at 19:51:22 UTC, bearophile wrote:
Scott Wilson:
What is a large program o
Im running some tests with D. Was wondering whats the dependency
story. Cant find any info online, searched for dlang dependency
management and dlang dependency. Found bunch o dub stuff but not
the nitty gritty.
Unit of compilation is one D file but I saw if I pass several D
files to the compiler
On Thursday, 18 September 2014 at 17:04:43 UTC, ketmar via
Digitalmars-d wrote:
On Thu, 18 Sep 2014 16:48:21 +
Scott Wilson via Digitalmars-d
wrote:
Plus if I change a non template function in one module then
theres no way to tell make no rebuild of modules importing it.
The dmd -deps
On Friday, 19 September 2014 at 05:27:33 UTC, Vladimir Panteleev
wrote:
On Friday, 19 September 2014 at 05:19:07 UTC, Walter Bright
wrote:
On 9/18/2014 9:56 AM, Vladimir Panteleev wrote:
On Thursday, 18 September 2014 at 16:48:22 UTC, Scott Wilson
wrote:
Unit of compilation is one D file but I
On Friday, 19 September 2014 at 02:05:43 UTC, ketmar via
Digitalmars-d wrote:
On Fri, 19 Sep 2014 01:42:58 +
Scott Wilson via Digitalmars-d
wrote:
Do .di files contain only templates (no comments and plain
functions? How well do they work? thanx
as for 'how .di files work'
On Friday, 19 September 2014 at 05:17:45 UTC, Walter Bright wrote:
On 9/18/2014 9:48 AM, Scott Wilson wrote:
Im running some tests with D. Was wondering whats the
dependency
story. Cant find any info online, searched for dlang dependency
management and dlang dependency. Found bunch o dub stuff
Me again. Looking at support for standard gnu tooling in D. For
debugging theres http://wiki.dlang.org/Debugging according to
that gdb support is good. Any comments on the quality & stability
&c.
We also use perf, gprof, gcov. Is there support in D for those.
Or support for D in those. :-) After
13 matches
Mail list logo