💾 Archived View for gemini.bortzmeyer.org › fosdem › event-11633.gmi captured on 2021-12-17 at 13:26:06. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
Raphaël Gomès
Type devroom
Using Rust in Mercurial
Starts on day 1 (2021-02-06) at 13:30 (Brussels time, UTC+1) in room Mozilla (duration 00:45)
Matrix room #mozilla:fosdem.org
Mercurial is a Distributed Version Control System mainly written in Python.
While it is often the VCS of choice for monorepos for its great scalability,
certain parts remain slower than they should be.
Over the past two years, an effort to rewrite parts of the Mercurial core in
Rust has seen multiple significant wins in performance, even compared to C
implementations.
We will go over the different obstacles that Raphaël and his colleagues at
Octobus faced during the rewrite of the ubiquitous
Themes covered include:
- Rust and Python interoperability - Fast (and slow) Rust datastructures - Fast directory traversal - Version control internals - Append-only binary formats - Mtime caching - Safe mmap usage in a concurrent context - Multithreading - Unix vs MacOS vs Windows issues