Re: How to compile a file with rpython
M A <[email protected]> Mon, 22 Nov 2021 12:06:30 -0500
| Newsgroups | gmane.comp.python.pypy |
|---|---|
| Message-ID | <[email protected]> |
> On Nov 22, 2021, at 1:08 AM, Dan Stromberg <[email protected]> wrote: > > > On Sun, Nov 21, 2021 at 11:17 AM M A <[email protected]> wrote: > How do I make a program using rpython? > > Say I have this file: > > def main(): > for i in range(100): > print("hello world"), > > if __name__ == "__main__": > main() > > How would I turn it into an executable file using rpython? > > Why do you desire an executable? > > Last I heard, a program would perform well on Pypy's JIT, and that using rpython was almost always unnecessary. > > If you need an executable, you could also try Cython or Nuitka. Well I'm working on code for PyPy. If I could unit test my code my development speed would increase a lot. It takes a long time for PyPy to build on my computer.