This is funny how language trends get interesting and sometimes a bit
emotional too. We all have an opinion on them, and here is mine :-)
The basic idea going around in this thread is a very conservative C is best
because 1) it's universally portable, and/or 2) it's very close to the
machine (ie
To make technical decisions using emotion rather than logic is not a
good approach. One should choose the best methodology for the
particular project, not be self indulgent and choose the one you like.
Recently we wrote an embedded application in C, permitting us to use the
available C
I can perfectly understand the decision made few years ago,and the result is
splendid, I use SQLite every days.
I am just wondering why not introducing C++? for better memory management
for example (RAII)
I am just wondering, don't reply aggressively please ...
Cheers,
Sylvain
On Wed, Jun 3,
On Wed, Jun 3, 2009 at 8:59 AM, Sylvain Pointeau
sylvain.point...@gmail.com wrote:
I can perfectly understand the decision made few years ago,and the result is
splendid, I use SQLite every days.
I am just wondering why not introducing C++? for better memory management
for example (RAII)
I
On Wed, Jun 3, 2009 at 5:02 AM, Hamish Allan ham...@gmail.com wrote:
On Wed, Jun 3, 2009 at 8:59 AM, Sylvain Pointeau
sylvain.point...@gmail.com wrote:
I can perfectly understand the decision made few years ago,and the result is
splendid, I use SQLite every days.
I am just wondering why not
yes true,
case closed then !
Many thanks for all of your answers.
Cheers,
Sylvain
On Wed, Jun 3, 2009 at 12:17 PM, P Kishor punk.k...@gmail.com wrote:
On Wed, Jun 3, 2009 at 5:02 AM, Hamish Allan ham...@gmail.com wrote:
On Wed, Jun 3, 2009 at 8:59 AM, Sylvain Pointeau
Hi all,
I'd like to comment this topic as well.
I think C is a very good choice for projects like sqlite. The point is
that C is in contrary to C++ very easily portable. If you have the bad
luck that you have to port a programm on a new plattform for which no
compiler suites exist than the
To: General Discussion of SQLite Database
Subject: Re: [sqlite] sqlite programmed in C++
Hi all,
I'd like to comment this topic as well.
I think C is a very good choice for projects like sqlite. The point is
that C is in contrary to C++ very easily portable. If you have the bad
luck that you
Indeed. Very good reply.
To Sylvain, once again: speculating on what went into the minds of the
developers, when they set out to develop SQLite, they chose the best,
most concise, most portable, most universally compilable, mother of
almost all languages. Once they developed something that was
if I had to do a library, I would probably choose C++,at least the subset C
with classes.
I will then export the main function as C
many libraries are done like that now.
for example http://www.ode.org/ is mostly written in C++ but has an
interface in C
I also use Qt because it has a clean API,
John Stanton wrote:
This is something of a digression but is pertinent. Colleagues who
worked with Bjarne Thorstrup (inventer of C++) tell me that Bjarne was
disillusioned with C++ and its wide deployment and would encourage
people not to use it unless there were clear advantages.
In our
Excellent. I posted a question of development of sqlite in C++ long
before. But this discussion benefited me and I think all those who
depends upon C++ may have got a good direction. I am using sqlite
with my own C++ wrapper since I am using VC++ to develop applications
for last 5 years.
Hi,
I also like C very much even if I prefer C++
Please note that I was asking to introduce C++ not to re-write (which would
be a total non-sense)
I just repeat that I use sqlite every days, and I find it awesome, I love
it.
C or C++? at the end : who cares?
I strongly believe that the persons
Hello,
I would like to know if someone already though about to introduce C++ in
SQLite?
I just think about a minimal subset of C++ that will not make any
performance penalty
(like C with classes)
is it a performance issue?
is it a deployment/compiler issue?
or any issue?
Please don't make any
I have used sqlite for an embedded application using c++. The sqlite
library is all in c and compiles on its own. I then created several classes
that use the sqlite api. The first is a DbHandler class. This opens the
database and provides the public accessors to the rest of application. I
2009/6/2 Sylvain Pointeau sylvain.point...@gmail.com:
Hello,
I would like to know if someone already though about to introduce C++ in
SQLite?
I just think about a minimal subset of C++ that will not make any
performance penalty
(like C with classes)
Prob good idea to look through these:
839 9656 | F +1 713 827 3807
logan.rat...@emerson.com-original Message-
From: sqlite-users-boun...@sqlite.org
[mailto:sqlite-users-boun...@sqlite.org] On Behalf Of Sylvain Pointeau
Sent: Tuesday, June 02, 2009 9:58 AM
To: sqlite-users@sqlite.org
Subject: [sqlite] sqlite programmed in C
I didn't mean to program with sqlite in C++ ...
I just meant to introduce C++ inside SQLite instead of C...
I would like to understand why SQLite is programmed only in C
Cheers,
Sylvain
On Tue, Jun 2, 2009 at 5:15 PM, logan.rat...@emerson.com wrote:
One of the best and worst things about
On Tue, Jun 2, 2009 at 10:33 AM, Sylvain Pointeau
sylvain.point...@gmail.com wrote:
I didn't mean to program with sqlite in C++ ...
I just meant to introduce C++ inside SQLite instead of C...
I would like to understand why SQLite is programmed only in C
Definitively only DRH can answer
of SQLite Database
Subject: Re: [sqlite] sqlite programmed in C++
On Tue, Jun 2, 2009 at 10:33 AM, Sylvain Pointeau
sylvain.point...@gmail.com wrote:
I didn't mean to program with sqlite in C++ ...
I just meant to introduce C++ inside SQLite instead of C...
I would like to understand why SQLite
just meant to introduce C++ inside SQLite instead of C...
I would like to understand why SQLite is programmed only in C
Cheers,
Sylvain
On Tue, Jun 2, 2009 at 5:15 PM, logan.rat...@emerson.com wrote:
One of the best and worst things about C++ is its ability to use C code
(almost
Why wuld you want to do such a thing?
Sylvain Pointeau wrote:
Hello,
I would like to know if someone already though about to introduce C++ in
SQLite?
I just think about a minimal subset of C++ that will not make any
performance penalty
(like C with classes)
is it a performance issue?
is
... because I experienced C++ to be easier with the classes and resource
management via the destructor.I was just wondering why C++ is not used?
was it for a performance issue?
or a compiler issue?
or anything else?
I just read the Linus Torvalds comment on the C++ for Git
What do you think?
On Tue, 2 Jun 2009 21:30:51 +0200, Sylvain Pointeau
sylvain.point...@gmail.com wrote:
... because I experienced C++ to be easier with the classes and resource
management via the destructor.I was just wondering why C++ is not used?
was it for a performance issue?
or a compiler issue?
What
I think you have to factor the age of SQLite into that explanation
as well. I think the first versions of SQLite were released about 10
years ago, at which point C++ compilers were even more non-standard
than they are today. Then, once it's functional and stable in C, why
rewrite it?
On Tue,
A good tool ltries to be better, not easier. Libraries compiled
from C are compatible with C++. In general optimization is better with
C compilers and the support libraries are more compact and effcient.
Producing Sqlite in well written and documented ANSI C was a very sound
decision.
If
26 matches
Mail list logo