Re: Support for Rust - Mailing list pgsql-hackers

From John Naylor
Subject Re: Support for Rust
Date
Msg-id CAFBsxsECHm33Gu7L8+9v-EBxOLc6dozq=Ve-sgPkwM7BSO43Eg@mail.gmail.com
Whole thread Raw
In response to Re: Support for Rust  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers

On Mon, Sep 12, 2022 at 10:29 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> Lev Kokotov <lev@hyperparam.ai> writes:
> > I took a small part of Postgres to get started, so just as a PoC; it
> > compiles and runs though. Larger parts will take more work (deleting code,
> > not just swapping object files), and more fancy things like PG_TRY() and
> > friends will have to be rewritten, so not a short and easy migration.
>
> Yeah, that's what I thought.  "Allow some parts to be written in
> language X" soon turns into "Rewrite the entire system in language X,
> including fundamental rethinking of memory management, error handling,
> and some other things".  That's pretty much a non-starter.

Added "Rewrite the code in a different language" to "Features We Do Not Want" section of Wiki, referencing the two threads that came up:

https://wiki.postgresql.org/wiki/Todo#Features_We_Do_Not_Want

--
John Naylor
EDB: http://www.enterprisedb.com

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Tree-walker callbacks vs -Wdeprecated-non-prototype
Next
From: "Drouvot, Bertrand"
Date:
Subject: Re: Query Jumbling for CALL and SET utility statements