Why Ruby?

Andrej Mitrovic andrej.mitrovich at gmail.com
Sat Dec 11 11:43:48 PST 2010


On 12/11/10, David Nadlinger <see at klickverbot.at> wrote:
> On 12/11/10 8:06 PM, Andrej Mitrovic wrote:
>> Maybe if we have any luck with SWIG we'll be able to make some
>> primitive wrappers for common C++ libraries. I'm just trying SWIG out
>> these days, but some people have reported success in wrapping some
>> libraries.
>
> While I certainly appreciate the advertisement, the OMF/COFF issue
> described in this thread is not fundamentally solved by SWIG. In fact,
> this is precisely the reason why SWIG by default generates code to
> dynamically bind the symbols from the wrapper DLL at run-time – contrary
> to static linking, you don't need object file compatibility then (the
> same approach is also used by other projects like Derelict and QtD).
>
> David
>

Yeah, I know that. :) But using C++ DLL's in a D project isn't a walk
in the park, which is where SWIG can come in handy.


More information about the Digitalmars-d mailing list