www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Objective C and C++ Compatibility?

reply Jack Stouffer <jack jackstouffer.com> writes:
Around the release of 2.068 I saw a couple of threads about 
Objective C compatibility in D, but it wasn't merged into stable 
for 2.068. Is this going to be merged into 2.069? Any 
improvements from the very basic support that was shown? Is there 
any documentation?

Also, before DDMD, people were talking how D needed better C++ 
compatibility for it to work, but I can't find much documentation 
on any improvements either, as the documentation for C++ 
interface on the website hasn't been changed since March. Is this 
better compatibility going to be in 2.069?
Oct 05 2015
next sibling parent bitwise <bitwise.pvt gmail.com> writes:
On Monday, 5 October 2015 at 14:16:22 UTC, Jack Stouffer wrote:
 Also, before DDMD, people were talking how D needed better C++ 
 compatibility for it to work, but I can't find much 
 documentation on any improvements either, as the documentation 
 for C++ interface on the website hasn't been changed since 
 March. Is this better compatibility going to be in 2.069?
+1 docs please :) Bit
Oct 05 2015
prev sibling next sibling parent Jacob Carlborg <doob me.com> writes:
On 2015-10-05 16:16, Jack Stouffer wrote:
 Around the release of 2.068 I saw a couple of threads about Objective C
 compatibility in D, but it wasn't merged into stable for 2.068. Is this
 going to be merged into 2.069?
I think it's already merged into stable
 Any improvements from the very basic support that was shown?
Unfortunately no.
 Is there any documentation?
There's an open pull request for that [1]. You can either read that or the tests in the compiler [2]. [1] https://github.com/D-Programming-Language/dlang.org/pull/1039 [2] https://github.com/D-Programming-Language/dmd/blob/master/test/runnable/objc_call.d -- /Jacob Carlborg
Oct 05 2015
prev sibling parent Laeeth Isharc <spamnolaeeth nospamlaeeth.com> writes:
On Monday, 5 October 2015 at 14:16:22 UTC, Jack Stouffer wrote:
 Around the release of 2.068 I saw a couple of threads about 
 Objective C compatibility in D, but it wasn't merged into 
 stable for 2.068. Is this going to be merged into 2.069? Any 
 improvements from the very basic support that was shown? Is 
 there any documentation?

 Also, before DDMD, people were talking how D needed better C++ 
 compatibility for it to work, but I can't find much 
 documentation on any improvements either, as the documentation 
 for C++ interface on the website hasn't been changed since 
 March. Is this better compatibility going to be in 2.069?
See some comments by author of magicport here and there. For C++ much more already works than dlang.org suggests. Thaut's comments here are useful: http://forum.dlang.org/post/wpoanejoaffamisgwste forum.dlang.org It's worth just writing simple a C++ program and trying so that you get a feel for it before trying to hook up an entire library.
Oct 06 2015