top | item 15846983

(no title)

durin42 | 8 years ago

There's pretty broad consensus that we'd like to do Rust and not C for future extension work, but the current plan is that a pure-Python hg will also be something we support. The "rust binary that embeds Python" approach looks like a straightforward win on Windows, where we have a native .exe that embeds Python anyway. I'm not sure if that'll make sense on non-Windows, but we'll see.

I've done some poking around with milksnake, which seems extremely promising for writing native speedups.

discuss

order

steveklabnik|8 years ago

Neat, thanks!

As always, happy to answer questions and work through questions and problems. Don't hesitate to get in touch!

tonfa|8 years ago

Do you know what is the current status for Hg on PyPy? (I guess that besides portability that was also a motivation for keeping the pure python bits around.

durin42|8 years ago

Last I knew it worked fine, but hg doesn't tend to run long enough for the JIT to warm up enough and be an unambiguous win. Fijal complemented us on how good our C was.

I think it does work if you do chg with a commandserver in pypy.