Exporting template function instances to C
data pulverizer via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Mar 25 06:25:49 PDT 2017
On Saturday, 25 March 2017 at 06:17:15 UTC, Nicholas Wilson wrote:
> On Saturday, 25 March 2017 at 02:21:33 UTC, data pulverizer
> wrote:
>> Thanks a lot ... I was half joking playing with the name
>> "mangling" but I appreciate your explanations and suggestions.
>
> This is the internet, I can't tell if you're a newb or
> sarcastic, and given this is a learn forum I'm going to make a
> conservative estimate of the former ;) (possibly 'cause I was
> half asleep when answering)
>
> I would however be interested to know if the
> extern(C++)/__attribute__((overloadable))/Instansiate combo
> actually worked.
I usually try to be as clear as possible, I just couldn't help
slipping in a joke with a name like "mangling" I could not
resits. I am definitely a noob to compilers, my day job is a data
scientist/statistician, however I really like the D programming
language and I am increasing my knowledge by blogging, writing D
interfaces for C libraries and I am building a low performance
BLAS alternative to GLAS
(https://github.com/dataPulverizer/dblas) - its funny because its
true! The article I am working on is connecting D to other
languages. The draft for my article interfacing D to C and
Fortran is here
(https://github.com/dataPulverizer/interface-d-c-fortran). I
can't decide if name mangling deserves its own topic. Feel free
to put in a suggestion/pull request to either.
More information about the Digitalmars-d-learn
mailing list