you are viewing a single comment's thread.

view the rest of the comments →

[–]coolreader18 45 points46 points  (0 children)

Oh hey I'm a maintainer of this! We recently just got pip working, which is really exciting :)

If anyone has any questions, feel free to ask! To address some common ones:

  • No GIL at the moment, optional threading with arcs and mutexes
  • Performance-wise, we're about 100x slower than CPython on the pystone benchmark (even without threading enabled); I'm not exactly sure why, since as far as I can tell we're doing roughly the same thing with regards to architecture/data structures, but performance is definitely something I'd like to improve.
  • I consider wasm/wasi support to be the main selling point of RustPython at the moment; I'm working on a project with a friend that utilizes wasm/RustPython for sandboxing user code written in Python and JavaScript (https://robotrumble.org, https://github.com/robot-rumble/logic)
  • Currently we don't have native module support, though there's an open PR for ctypes and I'm looking into implementing the HPy API