Jump to page: 1 2
Thread overview
D/Objective-C in LDC?
Jun 21, 2015
Jacob Carlborg
Jun 21, 2015
David Nadlinger
Jun 21, 2015
David Nadlinger
Jun 22, 2015
Jacob Carlborg
Jun 22, 2015
Dan Olson
Jun 22, 2015
Jacob Carlborg
Jun 22, 2015
Dan Olson
Jun 22, 2015
Jacob Carlborg
Jul 09, 2015
Dan Olson
Jul 09, 2015
Jacob Carlborg
Jul 09, 2015
Rikki Cattermole
Jul 09, 2015
Paolo Invernizzi
Jul 09, 2015
Dan Olson
Jul 09, 2015
Jacob Carlborg
June 21, 2015
Is there an interest in adding support for Objective-C [1][2] in LDC without the support being implemented in DMD? The reason why I'm asking is because the pull request [2] I've created for DMD is pretty much stalled because of Walter. I have no idea when or if Walter will accept the pull request and after three major refactorings it feels quite hopeless. I would really like to get this feature in to D.

[1] http://wiki.dlang.org/DIP43
[2] https://github.com/D-Programming-Language/dmd/pull/4321

-- 
/Jacob Carlborg
June 21, 2015
On 06/21/2015 09:19 PM, Jacob Carlborg via digitalmars-d-ldc wrote:
> Is there an interest in adding support for Objective-C [1][2] in LDC
> without the support being implemented in DMD?

Unfortunately, the prospects are not looking too good here either. We are currently trying to get the point where we just use the upstream frontend verbatim, which is especially important given that DDMD is at the doorsteps.

 - David
June 21, 2015
On Sunday, 21 June 2015 at 20:36:06 UTC, David Nadlinger wrote:
> Unfortunately, the prospects are not looking too good here either. We are currently trying to get the point where we just use the upstream frontend verbatim, which is especially important given that DDMD is at the doorsteps.

I should add that this is my personal opinion about what makes most sense for LDC right now, and not some kind of official project position.

 - David
June 22, 2015
Jacob Carlborg <doob@me.com> writes:

> Is there an interest in adding support for Objective-C [1][2] in LDC without the support being implemented in DMD? The reason why I'm asking is because the pull request [2] I've created for DMD is pretty much stalled because of Walter. I have no idea when or if Walter will accept the pull request and after three major refactorings it feels quite hopeless. I would really like to get this feature in to D.
>
> [1] http://wiki.dlang.org/DIP43
> [2] https://github.com/D-Programming-Language/dmd/pull/4321

Jacob, how about merging it with LDC for iOS? As you know, Objective-C is very much needed on that platform.

https://github.com/smolt/ldc-iphone-dev https://github.com/smolt/ldc

Your OS X experience would add much.
-- 
Dan
June 22, 2015
On 21/06/15 22:35, David Nadlinger via digitalmars-d-ldc wrote:

> Unfortunately, the prospects are not looking too good here either. We
> are currently trying to get the point where we just use the upstream
> frontend verbatim, which is especially important given that DDMD is at
> the doorsteps.

I understand, that makes sense.

-- 
/Jacob Carlborg
June 22, 2015
On 22/06/15 09:56, Dan Olson wrote:

> Jacob, how about merging it with LDC for iOS? As you know, Objective-C
> is very much needed on that platform.

Ideally I would like to get this in to DMD, because then it "automatically" gets added to LDC and GDC. The next best thing would be to add it to LDC. But adding it to a fork of LDC would be like adding it to a fork of a fork. It's just so much overhead in keeping the code up to date with upstream in a fork.

Also, the code I have is only for x86-64. I'm not sure how much different the ARM 32 and 64bit code would be.

-- 
/Jacob Carlborg
June 22, 2015
Jacob Carlborg <doob@me.com> writes:

> On 22/06/15 09:56, Dan Olson wrote:
>
>> Jacob, how about merging it with LDC for iOS? As you know, Objective-C is very much needed on that platform.
>
> Ideally I would like to get this in to DMD, because then it "automatically" gets added to LDC and GDC. The next best thing would be to add it to LDC. But adding it to a fork of LDC would be like adding it to a fork of a fork. It's just so much overhead in keeping the code up to date with upstream in a fork.

Sure, I understand.  Is branch d-objc2 the most up-to-date?  Is it based on 2.066 or 2.067?
June 22, 2015
On 22/06/15 15:03, Dan Olson wrote:

> Sure, I understand.  Is branch d-objc2 the most up-to-date?  Is it based
> on 2.066 or 2.067?

I think [1] is the branch most up to date that is complete. [2] would be the branch that is most up to date but only contains support for instance methods. This is also the branch that the open pull request is made from [3].

[1] https://github.com/jacob-carlborg/dmd/commits/d-objc
[2] https://github.com/jacob-carlborg/dmd/commits/dobjc_instance_methods
[3] https://github.com/D-Programming-Language/dmd/pull/4321

-- 
/Jacob Carlborg
July 09, 2015
Jacob Carlborg <doob@me.com> writes:

> On 22/06/15 15:03, Dan Olson wrote:
>
>> Sure, I understand.  Is branch d-objc2 the most up-to-date?  Is it based on 2.066 or 2.067?
>
> I think [1] is the branch most up to date that is complete. [2] would be the branch that is most up to date but only contains support for instance methods. This is also the branch that the open pull request is made from [3].
>
> [1] https://github.com/jacob-carlborg/dmd/commits/d-objc
> [2] https://github.com/jacob-carlborg/dmd/commits/dobjc_instance_methods
> [3] https://github.com/D-Programming-Language/dmd/pull/4321

My iOS TODO list is burning down to the point where I could merge ObjC with iOS in the not to distant future, if that is ok.
July 09, 2015
On 2015-07-09 10:04, Dan Olson wrote:

> My iOS TODO list is burning down to the point where I could merge ObjC
> with iOS in the not to distant future, if that is ok.

Walter enabled auto merge of the pull request [1] just a couple of hours ago. For some reason the Phobos unit tests are failing and  I think something need to be update for the magicport target. I'll work on that tonight.

[1] https://github.com/D-Programming-Language/dmd/pull/4321

-- 
/Jacob Carlborg
« First   ‹ Prev
1 2