News for hackers. Stuff that matters.
Re:Mercurial’s journey to and reflections on Python 3 by cesarb on Monday January 13, 2020 @05:38PM (#22039532)
> That means the transition would look like, stop all Mercurial dev in its tracks

Not necessarily. One of the cool things of Rust is that it can easily expose and use a C-compatible API; one of the cool things of Python is that objects can somewhat easily be implemented or accessed through a C-compatible API. This allows for gradual replacement: the code can be piece by piece rewritten in C (actually, Rust pretending to be C), while still looking like Python objects to the rest of the code.

And from what I have heard, mixing Python and Rust in Mercurial is actually being done: https://www.mercurial-scm.org/wiki/OxidationPlan

There are no comments on this comment yet.