On 5/24/06, John Stanton <[EMAIL PROTECTED]> wrote:
> IIRC, That has been suggested in the past, the consensus was to not
> include extra functions, in keeping with the 'lite' in the project
> name.
A very sound decision.  Bloat is the enemy of all good software.

A conditional compile point however would not bloat the product and
would make it easy for users to keep user functions and up-to-date
Sqlite releases.

Conditional compiles won't help your user functions code migrate
to new versions unless you're very careful not to build in dependencies.
You must stick to the functions the API provides to ensure it will
work. I haven't found conditional compiles to be very helpful in that
regard.

Why add indirection when it is not necessary and is outside the concept
of the product?  Sqlite is not a program like a WWW browser, it is a
library of functions.  What is wrong with adding to the library?

Nothing at all. I threw it out as an option to consider. If you don't
want to consider it that's up to you.
The drawbacks:
* You have to understand how Sqlite works internally to do it.
* some overhead when functions are used
The benefits:
* Plugins enfore encapsulation so they're easier to write
* porting code to changing versions of the engine requires no effort
* The "minimalist" users and the "everything and the kitchen sink"
 users can both have what they want.

Overlays were a nightmare, and have very thankfully been banished by
virtual memory systems.  Why do you hold onto the concept?  It is more
effective to have direct addressing and let the VM manager do what it
does best.

They worked fine for me. You must have gotten a poor implementation.

Good luck on your project John.

Reply via email to