On Wed, Apr 17, 2024 at 10:41:22AM -0700, Brian C. Lane wrote:
On Sat, Apr 13, 2024 at 11:16:37AM +0000, Zbigniew Jędrzejewski-Szmek wrote:
If we don't want to pull in an additional language framework, the options are either a compiled language or a scripting language that is already installed anyway, i.e. bash or awk. Considering that we want to do multiprocessing and/or multithreading to make things quick, a compiled language seems better. And among the compiled languages, I think Rust should be the default choice nowadays.
But this does seem to be using python? The readme says it uses marshalparser and the pyc handler imports it:
https://github.com/keszybz/add-determinism/blob/ffdc8364839b42e22e846dce4106...
so you still need python, right?
Yes, kind of. Python and the marshalparser module are used for .pyc files. The marshalparser module is already there, and I didn't see a good reason to reimplement that code. But if there are no .pyc files, that code is not used.
Zbyszek