On 6/18/13 10:46 AM, Timothee Cour wrote:


On Tue, Jun 18, 2013 at 10:29 AM, Brad Roberts <[email protected] 
<mailto:[email protected]>>
wrote:

    Any block of code going into phobos (or druntime, but it ought to be 
extremely rare that we're
    adding any significant chunks of code there) really should be portable to 
all supported
    platforms (the union of dmd, gdc, and ldc).


There are corner cases.

D shared libraries worked only on windows for a while, then were added to linux 
(then osx?)
D runtime loaded libraries will work on linux only first, IIRC.
gdb demangles D symbols on linux but not osx (although not part of phobos) 
because an extra
underscore is added in mangling.

sometimes, it's not worth waiting until all OS support a feature to introduce 
it.

And both of those examples are going to be cross platform. It's only a matter of when. I talking about intent. You're correct though that timing does matter.

Reply via email to