August 19, 2014
Am 19.08.2014 03:25, schrieb Nick Sabalausky:
> On 8/17/2014 5:57 AM, Jacob Carlborg wrote:
>> I though that this might be important enough to share on the announce
>> list:
>>
>> A pull request [1] by Rainer Schuetze which adds COFF support for Win32
>> has recently been merged by Walter. It seems to be enabled using the
>> -m32mscoff flag.
>>
>> [1] https://github.com/D-Programming-Language/dmd/pull/3843
>>
>
> Heh, couldn't have come at a better time. I *just* hit this little
> nugget of fun:
>
> Error 45: Too Much DEBUG Data for Old CodeView format
>

I've been hitting that regularly in recent times, which is why I'm using this fix:
https://github.com/DigitalMars/optlink/pull/15

It basically just disables the error message, so it would be good if Walter would comment on it. At least the error message seems to imply that the limit only exists for the older CodeView formats.
August 19, 2014
On 17/08/14 11:57, Jacob Carlborg wrote:
> I though that this might be important enough to share on the announce list:
>
> A pull request [1] by Rainer Schuetze which adds COFF support for Win32
> has recently been merged by Walter. It seems to be enabled using the
> -m32mscoff flag.

The runtime part has been merged now as well: https://github.com/D-Programming-Language/druntime/pull/928

-- 
/Jacob Carlborg
August 29, 2014
On Tuesday, 19 August 2014 at 07:17:46 UTC, Jacob Carlborg wrote:
> On 17/08/14 11:57, Jacob Carlborg wrote:
>> I though that this might be important enough to share on the announce list:
>>
>> A pull request [1] by Rainer Schuetze which adds COFF support for Win32
>> has recently been merged by Walter. It seems to be enabled using the
>> -m32mscoff flag.
>
> The runtime part has been merged now as well: https://github.com/D-Programming-Language/druntime/pull/928

Pardon my ignorance but does that mean that static library written in D could be used (linked) by 32bit program compiled with Visual Studio?
August 29, 2014
On 29/08/14 13:00, Szymon Gatner wrote:

> Pardon my ignorance but does that mean that static library written in D
> could be used (linked) by 32bit program compiled with Visual Studio?

Yes, as far as I understand it.

-- 
/Jacob Carlborg
August 29, 2014
On Friday, 29 August 2014 at 12:50:28 UTC, Jacob Carlborg wrote:
> On 29/08/14 13:00, Szymon Gatner wrote:
>
>> Pardon my ignorance but does that mean that static library written in D
>> could be used (linked) by 32bit program compiled with Visual Studio?
>
> Yes, as far as I understand it.

If that is indeed the case then this is huge for me. I am doing 32bit Win apps and their iOS versions. The moment I will be able to use D libraries on both platforms I will totaly do it. In fact I want to be one of the very first to release paid iOS app with D code in it ;)



August 29, 2014
On 2014-08-29 16:06, Szymon Gatner wrote:

> If that is indeed the case then this is huge for me. I am doing 32bit
> Win apps and their iOS versions. The moment I will be able to use D
> libraries on both platforms I will totaly do it. In fact I want to be
> one of the very first to release paid iOS app with D code in it ;)

It's your luck day (almost). I'm working on making D ABI compatible with Objective-C [1]. It's mostly done, I'm working on merging latest changes.

[1] http://wiki.dlang.org/DIP43

-- 
/Jacob Carlborg
August 29, 2014
On 8/29/14, Jacob Carlborg via Digitalmars-d-announce <digitalmars-d-announce@puremagic.com> wrote:
> On 2014-08-29 16:06, Szymon Gatner wrote:
>
>> If that is indeed the case then this is huge for me. I am doing 32bit Win apps and their iOS versions. The moment I will be able to use D libraries on both platforms I will totaly do it. In fact I want to be one of the very first to release paid iOS app with D code in it ;)
>
> It's your luck day (almost). I'm working on making D ABI compatible with Objective-C [1]. It's mostly done, I'm working on merging latest changes.
>
> [1] http://wiki.dlang.org/DIP43
>

There are so many amazing new features coming along for D lately. :) Keep it up!
> --
> /Jacob Carlborg
>
August 29, 2014
On Friday, 29 August 2014 at 15:46:33 UTC, Jacob Carlborg wrote:
> On 2014-08-29 16:06, Szymon Gatner wrote:
>
>> If that is indeed the case then this is huge for me. I am doing 32bit
>> Win apps and their iOS versions. The moment I will be able to use D
>> libraries on both platforms I will totaly do it. In fact I want to be
>> one of the very first to release paid iOS app with D code in it ;)
>
> It's your luck day (almost). I'm working on making D ABI compatible with Objective-C [1]. It's mostly done, I'm working on merging latest changes.
>
> [1] http://wiki.dlang.org/DIP43

Wow, that is great news! Thanks for this awesome work. How does that relate to C++ on iOS? My apps are 99,8% C++ with some minimal Obj-C when necessary.



August 29, 2014
On Friday, 29 August 2014 at 15:46:33 UTC, Jacob Carlborg wrote:
> On 2014-08-29 16:06, Szymon Gatner wrote:
>
>> If that is indeed the case then this is huge for me. I am doing 32bit
>> Win apps and their iOS versions. The moment I will be able to use D
>> libraries on both platforms I will totaly do it. In fact I want to be
>> one of the very first to release paid iOS app with D code in it ;)
>
> It's your luck day (almost). I'm working on making D ABI compatible with Objective-C [1]. It's mostly done, I'm working on merging latest changes.
>
> [1] http://wiki.dlang.org/DIP43

I knew about this, but thought it had been abandoned. Great to see that it's alive, this is an important development!
August 29, 2014
On 2014-08-29 19:16, Szymon Gatner wrote:

> Wow, that is great news! Thanks for this awesome work. How does that
> relate to C++ on iOS? My apps are 99,8% C++ with some minimal Obj-C when
> necessary.

It's unrelated to C++.  D is currently ABI compatible with C++ and if that works on OS X (I assume it does) it should work on iOS too.

-- 
/Jacob Carlborg