On Tue, Aug 05, 2008 at 08:18:41PM -0700, Monty Taylor wrote:
> Just to be devil's advocate... the whole server codebase (drizzled/*
> subtract sql_state.c and stacktrace.c) is .cc files... (won't claim it's
> solid C++, but still...) is there really a benefit to pure-C plugins?

it gives me a happy?

and I always find C++ compilers to be bloated and slow :)

> I would really rather have the struct of function pointers than the
> thing above... Why? Because I would eventually love to be able to do
> plugins in not C or C++ (python, etc) and mapping unions of structs to
> any language that isn't C is a real pain (mgmapi has one of those
> constructs, and it gives me hives)

ahh yes... mmmm... mgmapi events.

with the above though, we could easily map into inherited classes...

but good point on mapping, we should certainly keep that as consideration.

> (Just as long as we aren't casting function pointers to (char *) and
> then sticking them in a struct with a Type enum, I'm great, really)

-E2MUCHFAIL

-- 
Stewart Smith

_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to