On Sat, Sep 27, 2008 at 12:13 PM, Mark Mielke <[EMAIL PROTECTED]> wrote:
> If
> some parts of PostgreSQL are not performance bottlenecks, and they are
> extremely complicated to write in C, and very easy to write in something
> else common and simple (I've never used LUA myself?), I imagine it woul
Chris Browne wrote:
[EMAIL PROTECTED] ("Jonah H. Harris") writes:
Having done quite a bit of internals work with SAP DB (which is an
amalgamation of C, C++, and Pascal), I completely agree. The entire
system, if possible, should be in a single language.
Note that this actually *isn't*
Chris Browne wrote:
[EMAIL PROTECTED] ("Jonah H. Harris") writes:
On Fri, Sep 26, 2008 at 11:52 AM, Andrew Dunstan <[EMAIL PROTECTED]> wrote:
Speaking of language choice, no one said that _all_ the source code would
need to be rewritten. It would be nice, for example, if PostgreSQL re
[EMAIL PROTECTED] ("Jonah H. Harris") writes:
> On Fri, Sep 26, 2008 at 11:52 AM, Andrew Dunstan <[EMAIL PROTECTED]> wrote:
>>> Speaking of language choice, no one said that _all_ the source code would
>>> need to be rewritten. It would be nice, for example, if PostgreSQL rewrote
>>> the current GU
[EMAIL PROTECTED] (Andrew Dunstan) writes:
> A.M. wrote:
>> Speaking of language choice, no one said that _all_ the source code
>> would need to be rewritten. It would be nice, for example, if
>> PostgreSQL rewrote the current GUC system with a glue language like
>> Lua (which is also very C-like).
On Fri, Sep 26, 2008 at 11:52 AM, Andrew Dunstan <[EMAIL PROTECTED]> wrote:
>> Speaking of language choice, no one said that _all_ the source code would
>> need to be rewritten. It would be nice, for example, if PostgreSQL rewrote
>> the current GUC system with a glue language like Lua (which is al
A.M. wrote:
Speaking of language choice, no one said that _all_ the source code
would need to be rewritten. It would be nice, for example, if
PostgreSQL rewrote the current GUC system with a glue language like
Lua (which is also very C-like).
No it wouldn't. All it would mean is that
On Sep 25, 2008, at 5:50 PM, Chris Browne wrote:
[EMAIL PROTECTED] ("Gevik Babakhani") writes:
Advantage of C++ is that it reduce lot of OO code written in
C in PostgreSQL, but it is so big effort to do that without
small gain. It will increase number of bugs. Do not forget
also that C++ compi
[EMAIL PROTECTED] ("Gevik Babakhani") writes:
>> Advantage of C++ is that it reduce lot of OO code written in
>> C in PostgreSQL, but it is so big effort to do that without
>> small gain. It will increase number of bugs. Do not forget
>> also that C++ compiler is not so common (so good) on
>> d
Gevik Babakhani wrote:
Advantage of C++ is that it reduce lot of OO code written in
C in PostgreSQL, but it is so big effort to do that without
small gain. It will increase number of bugs. Do not forget
also that C++ compiler is not so common (so good) on
different platforms. If somebody inter
On 9/25/08, Tom Lane <[EMAIL PROTECTED]> wrote:
> Zdenek Kotala <[EMAIL PROTECTED]> writes:
> > Gevik Babakhani napsal(a):
>
> >> I have not investigated this yet. But I am very interested to know what the
> >> advantages would be to "upgrade" the code to C99 standards.
>
> > I think replace mac
Zdenek Kotala <[EMAIL PROTECTED]> writes:
> Gevik Babakhani napsal(a):
>> I have not investigated this yet. But I am very interested to know what the
>> advantages would be to "upgrade" the code to C99 standards.
> I think replace macros with inline functions. It brings to ability to
> monitor th
Gevik Babakhani napsal(a):
Better idea is to start to use C99 in PostgreSQL ;-).
I have not investigated this yet. But I am very interested to know what the
advantages would be to "upgrade" the code to C99 standards.
I think replace macros with inline functions. It brings to ability to
moni
> Advantage of C++ is that it reduce lot of OO code written in
> C in PostgreSQL, but it is so big effort to do that without
> small gain. It will increase number of bugs. Do not forget
> also that C++ compiler is not so common (so good) on
> different platforms. If somebody interesting in that
Gevik Babakhani napsal(a):
Dear PG hackers,
Has there been any idea to port PG to a more modern programming language
like C++? Of course there are some minor obstacles like a new OO design,
this being a gigantic task to perform and rewriting almost everything etc...
I am very interested to hear
Robert Haas wrote:
> > C isn't going anywhere anytime soon. Look at its history, it has survived
> > its 'replacements' over and over again. The most popular kernels, shells
> > and applications are all still written in C (new and old). Where are the
> > warning signs that it is dwindling?
>
>
Chris,
> This does not strike me as a particularly useful exercise. If I
> intended such a rewrite, I'd much rather consider using something
> *interestingly* different from C, like Erlang or Eiffel or Haskell.
And if you were going to do *that*, you'd also rewrite the database to
operate entir
Gevik Babakhani wrote:
Has there been any idea to port PG to a more modern programming language
like C++? Of course there are some minor obstacles like a new OO design,
this being a gigantic task to perform and rewriting almost everything etc...
I am very interested to hear your opinion.
Gevik,
[EMAIL PROTECTED] ("Gevik Babakhani") writes:
> It might look like an impossible goal to achieve.. But if there is
> any serious plan/idea/ammo for this, I believe it would be very
> beneficial to the continuity of PG.
Actually, I imagine that such a rewrite would run a very considerable
risk of i
On Sat, 2008-09-20 at 09:06 -0400, D'Arcy J.M. Cain wrote:
> On Sat, 20 Sep 2008 13:47:10 +0300
> Hannu Krosing <[EMAIL PROTECTED]> wrote:
> > On Fri, 2008-09-19 at 16:37 -0400, D'Arcy J.M. Cain wrote:
> > > I don't think that we should rush into any one language without
> > > checking the alternat
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
Who can resist the programming language game?
Le 19 sept. 08 à 22:37, D'Arcy J.M. Cain a écrit :
On Fri, 19 Sep 2008 20:57:36 +0100
"Dave Page" <[EMAIL PROTECTED]> wrote:
On Fri, Sep 19, 2008 at 8:54 PM, Gevik Babakhani <[EMAIL PROTECTED]>
wr
On Sat, 20 Sep 2008 13:47:10 +0300
Hannu Krosing <[EMAIL PROTECTED]> wrote:
> On Fri, 2008-09-19 at 16:37 -0400, D'Arcy J.M. Cain wrote:
> > I don't think that we should rush into any one language without
> > checking the alternatives. Personally I think we should port everything
> > to Intercal.
On Fri, 2008-09-19 at 16:37 -0400, D'Arcy J.M. Cain wrote:
> On Fri, 19 Sep 2008 20:57:36 +0100
> "Dave Page" <[EMAIL PROTECTED]> wrote:
> > On Fri, Sep 19, 2008 at 8:54 PM, Gevik Babakhani <[EMAIL PROTECTED]> wrote:
> > > Has there been any idea to port PG to a more modern programming language
> >
On Fri, 19 Sep 2008, "Gevik Babakhani" <[EMAIL PROTECTED]> writes:
> Has there been any idea to port PG to a more modern programming language
> like C++? Of course there are some minor obstacles like a new OO design,
> this being a gigantic task to perform and rewriting almost everything etc...
> I
> C isn't going anywhere anytime soon. Look at its history, it has survived
> its 'replacements' over and over again. The most popular kernels, shells
> and applications are all still written in C (new and old). Where are the
> warning signs that it is dwindling?
To add to this:
It's easy to u
I'm surprised no one pointed out that Postgres has *already* been ported
to a new language once. It was originally written in Lisp, and was
rewritten in C sometime in the Berkeley years. (Anyone know exactly
when or by whom? I don't.) You can still see the effects of that
origin in the system's
; 'Dave Page'; 'PGSQL
> Hackers'; [EMAIL PROTECTED];
> [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: [HACKERS] PostgreSQL future ideas
>
>
>
> Gevik Babakhani wrote:
> >> I think the better question about all of this is:
> >>
Gevik Babakhani wrote:
I think the better question about all of this is:
What is the problem we are trying to solve?
Providing solutions that are looking for problems doesn't help us.
Sincerely,
Perhaps the current codebase and design in C will serve us for years and
years to come. In
Joshua Drake wrote:
On Fri, 19 Sep 2008 23:01:15 +0200
"Gevik Babakhani" <[EMAIL PROTECTED]> wrote:
Unless I am very off. C++ is a natural choice when porting
(upgrading) ANSI C application.
As far as I know, most universities teach some sort of OO programming
language like JAVA or C# to help s
Gevik Babakhani wrote:
I think the better question about all of this is:
What is the problem we are trying to solve?
Providing solutions that are looking for problems doesn't help us.
Sincerely,
Perhaps the current codebase and design in C will serve us for years and
years to come. In fa
> I think the better question about all of this is:
> What is the problem we are trying to solve?
> Providing solutions that are looking for problems doesn't help us.
> Sincerely,
Perhaps the current codebase and design in C will serve us for years and
years to come. In fact there is no doubt abo
All,
> I don't see how you think it will help. Most universities (here in
> the US at least), are shying away from teaching C/C++. So, in the
> long run, I don't see how that would really help us get more developer
> involvement.
Last I checked, we *weren't* having any problem recruiting develo
On Fri, 19 Sep 2008 23:01:15 +0200
"Gevik Babakhani" <[EMAIL PROTECTED]> wrote:
> Unless I am very off. C++ is a natural choice when porting
> (upgrading) ANSI C application.
> As far as I know, most universities teach some sort of OO programming
> language like JAVA or C# to help students underst
On Fri, Sep 19, 2008 at 09:54:53PM +0200, Gevik Babakhani wrote:
> Dear PG hackers,
>
> Has there been any idea to port PG to a more modern programming
> language like C++? Of course there are some minor obstacles like a
> new OO design, this being a gigantic task to perform and rewriting
> almost
> Already done!
>
> http://www.postgresql.org/community/weeklynews/pwn20050401
>
Yes, yes COBOL :) PostCobolSQL
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Jonah H. Harris
> Sent: Friday, September 19, 2008 10:39 PM
> To: Gevik Babakhani
> Cc: Dave Page; PGSQL Hackers;
> [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: [HACKERS] PostgreSQL future ideas
On Fri, Sep 19, 2008 at 08:57:36PM +0100, Dave Page wrote:
> On Fri, Sep 19, 2008 at 8:54 PM, Gevik Babakhani <[EMAIL PROTECTED]> wrote:
> >
> > Dear PG hackers,
> >
> > Has there been any idea to port PG to a more modern programming language
> > like C++? Of course there are some minor obstacles l
On Fri, Sep 19, 2008 at 4:32 PM, Gevik Babakhani <[EMAIL PROTECTED]> wrote:
> It might look like an impossible goal to achieve.. But if there is any
> serious plan/idea/ammo for this, I believe it would be very beneficial to
> the continuity of PG.
I don't think so. Firebird rewrote their entire
On Fri, 19 Sep 2008 20:57:36 +0100
"Dave Page" <[EMAIL PROTECTED]> wrote:
> On Fri, Sep 19, 2008 at 8:54 PM, Gevik Babakhani <[EMAIL PROTECTED]> wrote:
> > Has there been any idea to port PG to a more modern programming language
> > like C++? Of course there are some minor obstacles like a new OO d
Dave Page
> Sent: Friday, September 19, 2008 9:58 PM
> To: Gevik Babakhani
> Cc: PGSQL Hackers
> Subject: Re: [HACKERS] PostgreSQL future ideas
>
> On Fri, Sep 19, 2008 at 8:54 PM, Gevik Babakhani
> <[EMAIL PROTECTED]> wrote:
> >
> > Dear PG hackers,
> >
&
On Fri, Sep 19, 2008 at 8:54 PM, Gevik Babakhani <[EMAIL PROTECTED]> wrote:
>
> Dear PG hackers,
>
> Has there been any idea to port PG to a more modern programming language
> like C++? Of course there are some minor obstacles like a new OO design,
> this being a gigantic task to perform and rewrit
Gevik Babakhani wrote:
Has there been any idea to port PG to a more modern programming language
like C++?
No.
(You can take your M16 and start shooting now)
My pleasure ;-).
--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com
--
Sent via pgsql-hackers mailing list (pgsql-
On Fri, 19 Sep 2008 21:54:53 +0200
"Gevik Babakhani" <[EMAIL PROTECTED]> wrote:
>
> Dear PG hackers,
>
> Has there been any idea to port PG to a more modern programming
> language like C++? Of course there are some minor obstacles like a
> new OO design, this being a gigantic task to perform and
Dear PG hackers,
Has there been any idea to port PG to a more modern programming language
like C++? Of course there are some minor obstacles like a new OO design,
this being a gigantic task to perform and rewriting almost everything etc...
I am very interested to hear your opinion.
(You can take
44 matches
Mail list logo