wxWidgets good news
bls
bizprac at orange.fr
Fri Jan 20 06:15:34 PST 2012
On 01/20/2012 04:51 AM, Trass3r wrote:
>> Generating C functional wrappers is already pretty cool, but the
>> fantastic news is SWIG output! As you may have noticed, SWIG has D
>> support. Means : No need to manually re-create C++ classes in D.
>
> Does SWIG D support static linking by now?
From the docs
20.10 Work in progress and planned features
There are a couple of features which are not implemented yet, but would
be very useful and might be added in the near future:
Static linking: Currently, the C wrapper code is compiled into a dynamic
library, out of which the symbol addresses are looked up at runtime by
the D part. If statically linking the different languages into one
binary was supported, a tool-chain capable of performing IPO at link
time could inline the wrapping code, effectively reducing the overhead
for simple calls to zero.
Maybe someone should send David some cookies :)
More information about the Digitalmars-d
mailing list