[Issue 690] ABI not fully documented

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Mar 11 21:45:06 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=690





------- Comment #6 from jlquinn at optonline.net  2009-03-11 23:45 -------
I would argue that associative arrays need more definition than "pointer to
opaque type".  If a compiler compiles a source file with an assoc array, and
another compiler generates a reference to it, how will the 2nd compiler know
how to use it?

An API is needed to make this happen.  Because assoc arrays are part of the
core language, there needs to be a shareable interface, even though it can
allow for different definitions.  Only then can one compiler use the assoc
array generated by another compiler, if they don't share the same core runtime
library.


-- 



More information about the Digitalmars-d-bugs mailing list