[pcre-dev] C vs C++ Bindings?

Página Principal
Apagar esta mensagem
Autor: Kenneth Shaw
Data:  
Para: pcre-dev
Assunto: [pcre-dev] C vs C++ Bindings?
Hi,

I'm about to release a NodeJS module that supplies PCRE. NodeJS is
basically a v8 (C++) derived application. We have a full
implementation using PCRE as of today, and we are using the "straight"
C bindings. My question is, is there any kind of overhead hit to using
C++? I was not fully aware of the C++ bindings until recently. Since
v8/Node is C++, it makes somewhat more sense to use C++, however I do
not want to change the code if there is any kind of performance hit,
as I know there sometimes is with these things.

As such, has anyone done any kind of performance study / comparison
between the C and C++ bindings? Any input would be greatly
appreciated, thanks!

-Ken