https://pantsbuild.org/ logo
w

witty-crayon-22786

05/10/2023, 5:49 PM
e

enough-analyst-54434

05/10/2023, 5:51 PM
Why
--no-pantsd
? That's exactly the case PyPy should be bad at.
Pex CI could have told you in advance that cold PyPy is bad
w

witty-crayon-22786

05/10/2023, 5:52 PM
because
--no-pantsd
is the case that folks have the most performance issues with (either due to cold runs in CI, or due to
pantsd
restarts)
e

enough-analyst-54434

05/10/2023, 5:53 PM
Ok... well we wrote that off years ago. Pants simply doesn't work without pantsd almost by design.
w

witty-crayon-22786

05/10/2023, 5:53 PM
but if the JIT can’t get warmed up in 80s, it’s not going to be helpful here.
i expect that it would be worth it to begin reimplementing the innermost non-plugin/core objects and rules in Rust.
1
we’ve done it piecemeal, but not in a concerted way. and i think that doing it in a concerted way could make a significant difference.
e

enough-analyst-54434

05/10/2023, 5:56 PM
Presumably s/python/js/ would make a huge difference as well. Python is not awesome.
w

witty-crayon-22786

05/10/2023, 5:58 PM
yep
f

fast-nail-55400

05/10/2023, 6:16 PM
So can it be said?: "We cannot have our ~pie~PyPy, and eat it too"
😅 3
p

proud-dentist-22844

05/12/2023, 9:00 PM
s/python/js/
@enough-analyst-54434 I assume you mean s/python/rs/ … JavaScript would not be a good replacement for python 😛
e

enough-analyst-54434

05/12/2023, 9:01 PM
I definitely mean js (or ts). It performs well / has been optimized to death; so seems like the right scripting language replacement.
p

proud-dentist-22844

05/12/2023, 9:02 PM
I see. js/ts might be performant, but I would not be performant at writing it…
e

enough-analyst-54434

05/12/2023, 9:03 PM
And so say the ts people that we force Python on. You'll always make someone unhappy on language. I'm just at the perf.
👍 1