Graphics Library for D

Jacob Carlborg doob at me.com
Tue Jan 7 06:31:06 PST 2014


On 2014-01-07 09:18, "Ola Fosheim Grøstad" 
<ola.fosheim.grostad+dlang at gmail.com>" wrote:

> Yes, but you can call D as a library from an Objective-C runtime.
>
> 1. Objective-C main() calls D main().
> 2. D main creates OSApplication facade and calls run(someDfunc) on it.
> 3. Objective-C event loop call back to someDfunc

Yes, sure. In theory it sounds easy. Although I suspect access to more 
of the Objective-C API's are necessary. That would either require more 
Objective-C code or using D, which comes back to the original problem.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list