Re: RustgreSQL

From: "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Cc: joel(at)trustly(dot)com
Subject: Re: RustgreSQL
Date: 2017-01-08 14:08:04
Message-ID: 7b48680277ff6771e5e7d5aeea2ddcd8@biglumber.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Joel Jacobson asked:

> Is anyone working on porting PostgreSQL to Rust?

No; extremely unlikely.

> My motivation is primarily I don't want to learn all the
> over-complicated details of C

Well that's going to be a show-stopper right there. For a proper
port, a deep understanding of the current source code is necessary.
You'd need a team expert in both C and Rust to pull it off.

> Porting PostgreSQL to Rust would be a multi-year project,
> and it could only be done if the process could be fully automated,
> by supporting all the coding patterns used by the project,
> otherwise a Rust-port would quickly fall behind the master branch.
> But if all git commits could be automatically converted to Rust,

Developing such a system is bordering on AI and likely more complex
than Postgres itself. :)

> Is this completely unrealistic or is it carved in stone PostgreSQL will
> always be a C project forever and ever?

It's unrealistic, but there is nothing to say Postgres will stay in C
forever. Right now, however, there is no compelling reason to move
away from it, and the porting effort to any language would be immense.
C++ would be the least painful option, probably.

- --
Greg Sabino Mullane greg(at)turnstep(dot)com
End Point Corporation http://www.endpoint.com/
PGP Key: 0x14964AC8 201701080905
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iEYEAREDAAYFAlhyR44ACgkQvJuQZxSWSsimzgCg97QZZ47BfNtema5aoN2QIpY9
wTUAn3B042YDH82GPLDwXmDSgJMzsoGD
=PH10
-----END PGP SIGNATURE-----

In response to

  • RustgreSQL at 2017-01-08 09:09:15 from Joel Jacobson

Browse pgsql-hackers by date

  From Date Subject
Next Message Craig Ringer 2017-01-08 14:19:30 Re: RustgreSQL
Previous Message Fabien COELHO 2017-01-08 10:12:28 Re: RustgreSQL