[pypy-svn] r5950 - pypy/trunk/doc

lac at codespeak.net lac at codespeak.net
Fri Aug 13 17:56:35 CEST 2004


Author: lac
Date: Fri Aug 13 17:56:35 2004
New Revision: 5950

Added:
   pypy/trunk/doc/cmodules.txt
Modified:
   pypy/trunk/doc/goals.txt
Log:
Add Anthony's helpful list of the Cmodules as its own doc, and refer to
it in goals.txt


Added: pypy/trunk/doc/cmodules.txt
==============================================================================
--- (empty file)
+++ pypy/trunk/doc/cmodules.txt	Fri Aug 13 17:56:35 2004
@@ -0,0 +1,116 @@
+Anthony Baxter made us this wonderful list of C modules that we will want
+to make Python versions of.  Thank you Anthony.
+
+Probably doable
+---------------
+
+These ones are probably achievable, although you might think
+otherwise.
+
+_bisectmodule - already exists
+_codecsmodule
+_csv - already exists?
+_heapqmodule - already exists
+_hotshot
+_localemodule
+_randommodule
+_sre - already exists?
+_weakref
+arraymodule
+audioop
+binascii
+cPickle - already exists
+cStringIO - already exists
+cgensupport
+cmathmodule
+collectionsmodule
+cryptmodule
+datetimemodule - already exists
+gcmodule
+imageop
+imgfile
+itertoolsmodule
+mathmodule
+md5module
+operator
+parsermodule
+rgbimgmodule
+sgimodule
+shamodule
+stropmodule
+structmodule
+symtablemodule
+syslogmodule
+timingmodule
+unicodedata
+yuvconvert
+zipimport
+
+Deprecated
+----------
+
+These modules are deprecated
+
+regexmodule
+regexpr
+rotormodule
+mpzmodule
+
+Links in an external library
+----------------------------
+
+These are all wrappers around external C libraries. Rewriting them
+from scratch is really not practical.
+
+_bsddb
+_curses_panel
+_cursesmodule
+_ssl
+_tkinter
+almodule
+bsddbmodule
+bz2module
+cdmodule
+clmodule
+dbmmodule
+flmodule
+fmmodule
+gdbmmodule
+glmodule
+nismodule
+puremodule
+pyexpat
+readline (replace with pyrepl?)
+svmodule
+termios
+tkappinit
+zlibmodule
+
+System specific
+---------------
+
+These are modules that are wrappers around system calls
+and the like. Rewriting them in pure Python will still
+need a way to invoke the underlying calls - and will probably
+be different for each platform (pypy, pycore, ironpython, &c).
+A lot of these are also a mass of #ifdefs for various broken
+operating systems.
+
+dlmodule
+errnomodule
+fcntlmodule
+fpectlmodule
+fpetestmodule
+grpmodule
+linuxaudiodev
+mmapmodule
+ossaudiodev
+posixmodule
+pwdmodule
+resource
+selectmodule
+signalmodule
+socketmodule
+sunaudiodev
+threadmodule
+timemodule

Modified: pypy/trunk/doc/goals.txt
==============================================================================
--- pypy/trunk/doc/goals.txt	(original)
+++ pypy/trunk/doc/goals.txt	Fri Aug 13 17:56:35 2004
@@ -246,7 +246,8 @@
 
 - Port the built-in Python library to PyPy (functions, types and 
   modules currently implemented in C) -- types needs refactoring,
-  the rest is mostly done.
+  the rest is mostly done.  Anthony Baxter has given us a very useful
+  list of the CModules_ we need to consider porting.
 
 - Decide on a case-by-case basis which features are to
   be implemented using RPython or just general Python. -- moving target.
@@ -324,7 +325,7 @@
 - Design and implement a back-end component for dynamically emitting
   machine code for multiple processor architectures.  Enable dynamic
   foreign function calls.
-
+n
 - Research optimisation heuristics for the Just-In-Time compiler.
 
 
@@ -373,3 +374,4 @@
   versions suitable for specialized environments such as small or very large 
   computing devices.
 
+ _CModules: /pypy/doc/cmodules.txt
\ No newline at end of file



More information about the Pypy-commit mailing list