[Issue 15468] [Interfacing to Objective-C] is compromise
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Tue Dec 22 06:35:33 PST 2015
    
    
  
https://issues.dlang.org/show_bug.cgi?id=15468
Richard Cattermole <alphaglosined at gmail.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |alphaglosined at gmail.com
         Resolution|---                         |INVALID
--- Comment #1 from Richard Cattermole <alphaglosined at gmail.com> ---
There is quite a big difference between PHP, Javascript and Objective-C.
PHP is implemented in C/C++ so we can already interface to it.
Javascript engines are written in C/C++ commonly so again we can interface with
it.
Objective-C can only be wrapped via C. Not preferable.
Objective-C is comparable with C++ not with either of these two.
It is used with system libraries on OSX, PHP and Javascript cannot be used this
way.
It is impossible to create a window on OSX without Objective-C in some form.
--
    
    
More information about the Digitalmars-d-bugs
mailing list