[webkit-dev] Exporting symbols (was Re: Common build system (was Re: WebKit Wishes))

Alexey Proskuryakov ap at webkit.org
Thu Jan 31 15:12:41 PST 2013

31.01.2013, в 14:57, Dirk Pranke <dpranke at chromium.org> написал(а):

>>>>> One thing to keep an eye on with WEBCORE_EXPORT is that it can increase
>>>>> the number of exports for each port, because it would export symbols that
>>>>> are only needed for other ports.
>>> I'm not sure I understand the concern here. Is the idea that some
>>> ports might build WebCore as a DLL (and need exports) and others
>>> wouldn't? Or the idea that the API that is needed to be exported might
>>> vary from port to port in such a way that too many symbols for WebCore
>>> might be exported on some ports?
>> The latter.
>> I suspect that it's somewhat less of an issue for JavaScriptCore, because its exports are mostly used from cross-platform code.
> I see. Some concrete examples would be helpful here (to me, at least).
> What components and ports are we talking about, and what sorts of
> symbols?

I don't have concrete examples, and I don't know how big an effect on performance increasing the number of exports would have. It's something to keep an eye on, not a reason to avoid trying.

- WBR, Alexey Proskuryakov

More information about the webkit-dev mailing list