June 20, 2017
On 2017-06-20 14:11, Guillaume Piolat wrote:

> About macOS 32-bit. Am I the only user?

Yes :)

> Things are OK now. The older LDCs will work targeting newer macOS 32-bit for a while I
> guess, so maybe 32-bit can be phased out (especially TLS which I don't
> use).

I would guess LDC supports it as long as LLVM does.

BTW, after the next version of macOS, High Sierra, Apple will drop the support for 32bit applications. You need to move to 64bit.

-- 
/Jacob Carlborg
June 20, 2017
On 6/20/2017 4:58 AM, Jacob Carlborg wrote:
> How is TLS handled? I know at least macOS 32bit requires the "___tls_get_addr" druntime function. Not sure if anyone cares about macOS 32bit.
> 
> Does the TLS implementation depend on druntime on any other platforms?


For a C implementation that doesn't support TLS, using it in D with -betterC won't work.
June 20, 2017
On 6/20/2017 12:06 PM, Jacob Carlborg wrote:
> BTW, after the next version of macOS, High Sierra, Apple will drop the support for 32bit applications. You need to move to 64bit.

I won't miss it.

I don't think it'll be long before 32 bits starts disappearing from Windows and Linux as well.

As a pragmatic matter, the D community doesn't have the resources to support systems that have been abandoned by their vendors. This is why D officially doesn't support Windows XP anymore.
June 20, 2017
On 6/20/2017 4:52 AM, Jacob Carlborg wrote:
> BTW, how are asserts handled? Isn't assert usually a macro in C?

https://github.com/dlang/dmd/pull/6901
June 20, 2017
On Tuesday, 20 June 2017 at 19:06:05 UTC, Jacob Carlborg wrote:
> On 2017-06-20 14:11, Guillaume Piolat wrote:
>
>> About macOS 32-bit. Am I the only user?
>
> Yes :)
>
>> Things are OK now. The older LDCs will work targeting newer macOS 32-bit for a while I
>> guess, so maybe 32-bit can be phased out (especially TLS which I don't
>> use).
>
> I would guess LDC supports it as long as LLVM does.
>
> BTW, after the next version of macOS, High Sierra, Apple will drop the support for 32bit applications. You need to move to 64bit.

Good move from Apple.
I distribute both bitness as Universal Binaries, most probably this will still work.
June 20, 2017
On Tuesday, 20 June 2017 at 20:48:29 UTC, Walter Bright wrote:
> On 6/20/2017 12:06 PM, Jacob Carlborg wrote:
>> BTW, after the next version of macOS, High Sierra, Apple will drop the support for 32bit applications. You need to move to 64bit.
>
> I won't miss it.
>
> I don't think it'll be long before 32 bits starts disappearing from Windows and Linux as well.

For ldc users on linux, 32-bit x86 compiler downloads are basically a rounding error:

http://www.somsubhra.com/github-release-stats/?username=ldc-developers&repository=ldc

ldc 1.1.0 was released with a native linux/ARM build also, the stats in that link show it was downloaded almost 30 times more than the linux/x86 build.
June 20, 2017
On Tuesday, 20 June 2017 at 20:50:14 UTC, Walter Bright wrote:
> https://github.com/dlang/dmd/pull/6901

We should generate the default string from the expression for D too. (at a minimum, I'd actually like to see every variable printed out too, but this is already written)
June 20, 2017
On Tuesday, 20 June 2017 at 17:30:43 UTC, Kagamin wrote:
> You can write a linker wrapper that will do the analysis you want, remove unneeded sections, stub symbols etc, see basic technique at https://theartofmachinery.com/2016/12/18/d_without_runtime.html

I keep meaning to write an update to that post because there have been a lot of improvements to the ecosystem since then.  (I've been kind of busy the past few months.)
June 20, 2017
On 6/20/2017 3:07 PM, Adam D. Ruppe wrote:
> On Tuesday, 20 June 2017 at 20:50:14 UTC, Walter Bright wrote:
>> https://github.com/dlang/dmd/pull/6901
> 
> We should generate the default string from the expression for D too. (at a minimum, I'd actually like to see every variable printed out too, but this is already written)

Those strings eat up space and are of pretty marginal utility. Don't want to make assert's so bloatsome that people are discouraged from using them.
June 21, 2017
Walter Bright wrote:

> On 6/20/2017 3:07 PM, Adam D. Ruppe wrote:
>> On Tuesday, 20 June 2017 at 20:50:14 UTC, Walter Bright wrote:
>>> https://github.com/dlang/dmd/pull/6901
>> We should generate the default string from the expression for D too. (at a minimum, I'd actually like to see every variable printed out too, but this is already written)
>
> Those strings eat up space and are of pretty marginal utility. Don't want to make assert's so bloatsome that people are discouraged from using them.

nope, they aren't. but they are immediately helpful. i integrated such patch to my dmd ages ago, and i'm not speaking out of nothing -- they *are* helful.

and i can't see how *adding* *useful* *info* to assertion will discourage people from using 'em.

"bloatsome"? i don't think so. those generated messages is small (usually 20-30 bytes), and nothing comparing to druntime/phobos size.