<div class="gmail_quote">Hi,<br><br>2009/12/17 Olli Wang <span dir="ltr">&lt;<a href="mailto:olliwang@ollix.com">olliwang@ollix.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi, I was trying to develop a tiny application using RPython and I have a few of questions. Obviously, RPython has the advantage of translating the code to various backends so we can get much better performance than Python scripts running on top of any Python implementation, so I was wondering, is it possible to rewrite the full Python&#39;s standard library using RPython so people can treat RPython as a general purpose programming language? (is that a good idea?)<br clear="all">
</blockquote><div><br>I don&#39;t think so. RPython is a statically typed language, even if types are not explicit in the code, but determined by the translator. For example, os.open() accepts a string for its first argument, so it cannot accept unicode.<br>
A RPython library would be quite different from the CPython standard library.<br><br></div></div>-- <br>Amaury Forgeot d&#39;Arc<br>