|
|
Subscribe / Log in / New account

Szorc: Mercurial's Journey to and Reflections on Python 3

Szorc: Mercurial's Journey to and Reflections on Python 3

Posted Jan 13, 2020 23:15 UTC (Mon) by ehiggs (subscriber, #90713)
In reply to: Szorc: Mercurial's Journey to and Reflections on Python 3 by roc
Parent article: Szorc: Mercurial's Journey to and Reflections on Python 3

Having used Python from a shared network mount (NFS, GPFS, Panasas, Lustre) and waited for it to stat 10 thousand files over the network just to start up (thanks, pkg_resources), I also wonder why a VCS would be implemented in Python.

(In fairness, Python isn't the only culprit, Cargo also stores it's index as directories and files and would probably be much snappier it it used sqlite).


to post comments

Szorc: Mercurial's Journey to and Reflections on Python 3

Posted Jan 14, 2020 1:25 UTC (Tue) by KaiRo (subscriber, #1987) [Link] (1 responses)

side talk: AFAIK, cargo is only needed for compiling, not for running the application, right? Slightly different than the Python story...
(Disclaimer: I never wrote Rust code but use Python 3 in a few projects.)

Szorc: Mercurial's Journey to and Reflections on Python 3

Posted Jan 14, 2020 4:49 UTC (Tue) by roc (subscriber, #30627) [Link]

That's right.

Szorc: Mercurial's Journey to and Reflections on Python 3

Posted Jan 14, 2020 16:43 UTC (Tue) by mgedmin (subscriber, #34497) [Link]

pkg_resources is infamous for this (there's an open bug, but no clear path to resolution). Luckily, not every Python script uses it.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds