Objective-D released!

Luna luna at foxgirls.gay
Fri Nov 29 13:44:12 UTC 2024


Objective-D is a new package, now available on dub which 
implements bindings to the Objective-C runtime as well as the 
Foundation core library. The goal is to provide a shared base 
that Objective-C bindings can utilize instead of packages 
repeatedly re-implementing NSObject, NSString, and the like. 
Additionally the clang block implementation by Jacob Carlborg, 
and my own implementation of auto release pools is provided. 
Which should allow for safer interop with Objective-C!

https://code.dlang.org/packages/objective-d

Additionally, I've been working on a pull-request to add 
Objective-C support to the LDC compiler, including support for 
binding Swift stub classes via a `@swift` UDA.

https://github.com/ldc-developers/ldc/pull/4777

This should over-all increase the usability of DLang on 
Apple-made systems.


More information about the Digitalmars-d-announce mailing list