[pypy-commit] pypy default: Add Yet Another piece of text about why we downplay RPython.
arigo
noreply at buildbot.pypy.org
Sat Jul 6 22:11:48 CEST 2013
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r65242:2ec1dce03744
Date: 2013-07-06 22:11 +0200
http://bitbucket.org/pypy/pypy/changeset/2ec1dce03744/
Log: Add Yet Another piece of text about why we downplay RPython.
diff --git a/pypy/doc/faq.rst b/pypy/doc/faq.rst
--- a/pypy/doc/faq.rst
+++ b/pypy/doc/faq.rst
@@ -332,11 +332,29 @@
your code in RPython, it might not give you any speed improvements even
if you manage to.
+ *The above paragraphs are not the whole truth. It* is *true that there
+ are cases where writing a program as RPython gives you substantially
+ better speed than running it on top of PyPy. However, the attitude of
+ the core group of people behind PyPy is to answer: "then report it as a
+ performance bug against PyPy!".*
+
+ *Here is a more diluted way to put it. The "No, don't!" above is a
+ general warning we give to new people. They are likely to need a lot
+ of help from* some *source, because RPython is not so simple nor
+ extensively documented; but at the same time, we, the pypy core group
+ of people, are not willing to invest time in supporting 3rd-party
+ projects that do very different things than interpreters for dynamic
+ languages --- just because we have other interests and there are only
+ so many hours a day. So as a summary I believe it is only fair to
+ attempt to point newcomers at existing alternatives, which are more
+ mainstream and where they will get help from many people.*
+
Yes, it is possible with enough effort to compile small self-contained
pieces of RPython code doing a few performance-sensitive things. But
this case is not interesting for us. If you needed to rewrite the code
-in RPython, you could as well have rewritten it in C for example. The
-latter is a much more supported, much more documented language `:-)`
+in RPython, you could as well have rewritten it in C or C++ or Java for
+example. These are much more supported, much more documented languages
+`:-)`
---------------------------------------------------
Which backends are there for the RPython toolchain?
More information about the pypy-commit
mailing list