Boost logo

Boost :

Subject: Re: [boost] [rdb] Uploaded 0.0.07
From: OvermindDL1 (overminddl1_at_[hidden])
Date: 2009-09-24 18:54:12


On Thu, Sep 24, 2009 at 4:44 PM, Jean-Louis Leroy <jl_at_[hidden]> wrote:
>
>> Ah, useful.  :)
>>
>> For note, Python is strongly-typed, have to be correct about what you
>> send to the DB with regards to types, if you send an int to a string
>> column, or a string to an int, or whatever, it will throw an
>> exception.
>
> I know that it's typed - it's *dynamically* typed. C++ is *statically*
> typed. "Type-safety" is a term that has a well-defined meaning in C++
> parlance : it means that type checking happens at compile-time. And btw I am
> *not* a static analysis bigot, as my other language of expertise is Perl and
> my favorite is Lisp.

Lisp is just wonderful. :)

Actually, that link you did is exactly what the base of SQLAlchemy is
(and mostly what I use, I rarely use the ORM parts). That is the part
that is optimizes expressions specifically for the back-end. When you
create the database it returns a refinement of that database, anything
you create from it will be optimized specifically for that DB. it is
a lot more work, but it allows it to be the most efficient SQL library
for Python, and allows new SQL dialects to be added with no front-end
change.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk