anki-code / xonsh-binary

Building the xonsh portable binary file.
BSD 2-Clause "Simplified" License
7 stars 0 forks source link

Alternative ways to make xonsh binary or similar #1

Open jnoortheen opened 2 years ago

jnoortheen commented 2 years ago

mypyc is used by mypy and black (latest version) for various optimisation. I wonder how does it compares to nuitka

anki-code commented 2 years ago

https://github.com/mypyc/mypyc/issues/546#issuecomment-480262747 :

Mypyc and Nuitka make quite different tradeoffs, and I doubt there is much either project can directly reuse from the other. Mypyc does not aim at full Python compatibility and almost entirely focuses on speeding up type-annotated code. Nuitka takes Python compatibility much more seriously but still doesn't have much support for type annotations, as far as I know. To join forces, some compromises would probably have to made. We are happy to discuss any concrete proposals.

jnoortheen commented 2 years ago

@anki-code I found PyOxidizer interesting. It can static link and compile modules to be loaded from memory.

anki-code commented 2 weeks ago

Someone tried to use PyOxidizer here https://github.com/indygreg/PyOxidizer/issues/245