On 1/10/2016 9:12 AM, Jacob Carlborg wrote:
I've implemented native TLS in DMD on OS X for 64bit. Now the question is, does
it need to work for 32bit as well?

The easiest would be to drop the 32bit support all together. Other options would
be to continue to use emulate TLS on 32bit or implement native TLS for 32bit as
well. I would prefer to not have to do this for 32bit as well.

As far as I know we haven't released a 32bit binary of DMD for a very long time.
It would be very rare to find a Mac that cannot run 64bit binaries.

Native TLS on OS X would mean that the runtime requirements for the binaries
produced by DMD on OS X would be OS X 10.7 (Lion) or later. Hopefully that
should not be a problem since it's several years (and versions) old.



From reading the responses here, I believe the best solution is to continue to support OSX 32 bit, but as legacy support. This means folding in changes to the 64 bit support, but not adding features if they are not a natural consequence of the 64 bit support.

I.e. leave the TLS support for 32 bits as is.

If somebody wants to take on the task of native 32 bit TLS, I welcome that, but it's not something we need to do.

There's no need for a 32 bit binary of dmd, as 32 bit only OSX machines are long gone.

Reply via email to