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 compile
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
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 ar
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.
Thanks,
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
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
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
, June 03, 2009 6:25 AM
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 h
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 cho
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 wrote:
> On Wed, Jun 3, 2009 at 5:02 AM, Hamish Allan wrote:
> > On Wed, Jun 3, 2009 at 8:59 AM, Sylvain Pointeau
> > wrote:
> >
> >> I can perfectly understand the dec
On Wed, Jun 3, 2009 at 5:02 AM, Hamish Allan wrote:
> On Wed, Jun 3, 2009 at 8:59 AM, Sylvain Pointeau
> 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 mem
On Wed, Jun 3, 2009 at 8:59 AM, Sylvain Pointeau
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 am just wondering, d
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, 20
A good tool ltries to be "bette"r, 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.
I
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,
On Tue, 2 Jun 2009 21:30:51 +0200, Sylvain Pointeau
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 Virgilio said:
: Because th
... 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?
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 issu
;
> > Logan Ratner | Software Engineer | Gas Chromatographs
> > Emerson Process Management | 5650 Brittmoore | Houston | TX | 77041 |
> > USA
> > T +1 713 839 9656 | F +1 713 827 3807
> >
> >
> > logan.rat...@emerson.com-original Message-
> >
SQLite Database
Subject: Re: [sqlite] sqlite programmed in C++
On Tue, Jun 2, 2009 at 10:33 AM, Sylvain Pointeau
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 progra
77041 |
>> USA
>> T +1 713 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
anagement | 5650 Brittmoore | Houston | TX | 77041 |
> USA
> T +1 713 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
&
|
USA
T +1 713 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
2009/6/2 Sylvain Pointeau :
> 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:
http://www.sqlite.org/cv
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
then
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 agg
26 matches
Mail list logo