Re: C++ port of Postgres

From: Gavin Flower <GavinFlower(at)archidevsys(dot)co(dot)nz>
To: dandl <david(at)andl(dot)org>, "'Adam Brusselback'" <adambrusselback(at)gmail(dot)com>, "'Joy Arulraj'" <jarulraj(at)cs(dot)cmu(dot)edu>
Cc: "'kang joni'" <kangjoni76(at)gmail(dot)com>, "'Dmitry Igrishin'" <dmitigr(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: C++ port of Postgres
Date: 2016-08-16 07:52:33
Message-ID: 00a52208-3199-5858-8846-2530b0bb34df@archidevsys.co.nz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On 16/08/16 18:24, dandl wrote:
>
> Just wondering what the end goal is for this project... Is it to just
> maintain an up to date Postgres fork that will compile with a C++
> compiler? Is it to get a conversation going for a direction for
> Postgres itself to move? The former I don't see gaining much traction
> or doing all that much for the state of the project. The latter
> possibly could if the community gets on board.
>
> I would certainly hope the latter. Having done some work on extension
> functions and an extension language for Postgres, the current
> situation can be quite limiting.
>
> ·Parts of my code could only be written in C++, so I finished up with
> a mixed build, which is not ideal.
>
> ·My other issue was dealing with the Datum macros. Type-safe inline
> C++ functions would help reduce dumb errors.
>
> Not compelling reasons perhaps, but just a vote for a move in that
> direction, some time.
>
> Regards
>
> David M Bennett FACS
>
> /
> ------------------------------------------------------------------------
> /
>
> /Andl - A New Database Language - andl.org/
>
I note that gcc itself is now written in C++, and so is squid (web
proxy)...

In both cases, part of the motivation to change from C was to appeal to
new developers - from what I remember of the discussions.

Cheers,
Gavin

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Simon Riggs 2016-08-16 07:55:00 Re: Critical failure of standby
Previous Message Achilleas Mantzios 2016-08-16 07:38:16 Re: Uber migrated from Postgres to MySQL

Browse pgsql-hackers by date

  From Date Subject
Next Message Artur Zakirov 2016-08-16 08:14:36 Re: Bug in to_timestamp().
Previous Message Craig Ringer 2016-08-16 07:41:39 Re: PSA: Systemd will kill PostgreSQL