Thread overview | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
July 11, 2015 Firs step of D/Objective-C merged | ||||
---|---|---|---|---|
| ||||
I just manged to get all tests passing on all platforms. Now the first step of D/Objective-C has been merged [1][2]. The only thing that's supported for now is calling Objective-C instance methods from D. I want to give special thanks to Michel Fortin who did the original implementation. I also want to thank Walter, Daniel and all others who reviewed the code. Thank you. [1] https://github.com/D-Programming-Language/dmd/commit/941808dc44a03396d41657cfa9ccc8bfe901f3a7 [2] https://github.com/D-Programming-Language/druntime/commit/b50096fdbe425e32b4edf1341369434a57a63b31 -- /Jacob Carlborg |
July 11, 2015 Re: Firs step of D/Objective-C merged | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | On Saturday, 11 July 2015 at 20:25:47 UTC, Jacob Carlborg wrote:
> The only thing that's supported for now is calling Objective-C instance methods from D
Is there any documentation available yet?
|
July 12, 2015 Re: Firs step of D/Objective-C merged | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | On 12/07/2015 8:25 a.m., Jacob Carlborg wrote:
> I just manged to get all tests passing on all platforms. Now the first
> step of D/Objective-C has been merged [1][2]. The only thing that's
> supported for now is calling Objective-C instance methods from D.
>
> I want to give special thanks to Michel Fortin who did the original
> implementation. I also want to thank Walter, Daniel and all others who
> reviewed the code.
>
> Thank you.
>
> [1]
> https://github.com/D-Programming-Language/dmd/commit/941808dc44a03396d41657cfa9ccc8bfe901f3a7
>
>
> [2]
> https://github.com/D-Programming-Language/druntime/commit/b50096fdbe425e32b4edf1341369434a57a63b31
>
>
Good job woot!
Now we just need a way to create instances ext. :)
|
July 12, 2015 Re: Firs step of D/Objective-C merged | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg Attachments: | congratulations! seems to be a necessity for apple platforms. |
July 12, 2015 Re: Firs step of D/Objective-C merged | ||||
---|---|---|---|---|
| ||||
Posted in reply to ketmar | On 12/07/2015 5:33 p.m., ketmar wrote: > congratulations! seems to be a necessity for apple platforms. Extremely :/ https://github.com/Devisualization/window/blob/master/cocoa_library/project/dwc-osx/window_events.m |
July 12, 2015 Re: Firs step of D/Objective-C merged | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | Very good news! |
July 12, 2015 Re: Firs step of D/Objective-C merged | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | Fantastic, this is really great news! Big thanks to you and Michel! |
July 12, 2015 Re: Firs step of D/Objective-C merged | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | On 11-Jul-2015 23:25, Jacob Carlborg wrote: > I just manged to get all tests passing on all platforms. Now the first > step of D/Objective-C has been merged [1][2]. The only thing that's > supported for now is calling Objective-C instance methods from D. > > I want to give special thanks to Michel Fortin who did the original > implementation. I also want to thank Walter, Daniel and all others who > reviewed the code. > > Thank you. > Awesome news. I admire your persistence :) -- Dmitry Olshansky |
July 12, 2015 Re: Firs step of D/Objective-C merged | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jack Stouffer | On 2015-07-11 23:18, Jack Stouffer wrote: > Is there any documentation available yet? No, no official documentation. You can have a look at the DIP [1], but that contains a lot more than what's currently implemented. I recommend having a look at the tests, this one [2] for example. [1] http://wiki.dlang.org/DIP43 [2] https://github.com/D-Programming-Language/dmd/blob/master/test/runnable/objc_call.d -- /Jacob Carlborg |
July 12, 2015 Re: Firs step of D/Objective-C merged | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rikki Cattermole | On 2015-07-12 05:46, Rikki Cattermole wrote: > Good job woot! > Now we just need a way to create instances ext. :) You can create instances with the help of the Objective-C runtime, have a look at one of the tests [1]. [1] https://github.com/D-Programming-Language/dmd/blob/master/test/runnable/objc_call.d -- /Jacob Carlborg |
Copyright © 1999-2021 by the D Language Foundation