[Cython] GSoC Proposal - Reimplement C modules in CPython's standard library in Cython.
Arthur de Souza Ribeiro
arthurdesribeiro at gmail.com
Fri Apr 8 19:31:12 CEST 2011
2011/4/8 Robert Bradshaw <robertwb at math.washington.edu>
> Looking better. I would add some details about how you plan to
> compare/profile your new implementations, and also at least add a note
> that compatibility will be ensured with the Python regression tests.
>
I'm going to update this on the wiki page, it's just because the application
period in google-melange ends today and it's not recommended to put details
os how you plan to make the project in there. About the comparison, I wonder
talk to the community a little more about it, because I see in cython's web
page and in the tutorials numbers telling how much more efficient cython is
against python, so I planned to use the same strategy that is used to show
the numbers that are there. And about the tests, I'm studying how can I
check compatibility and do these tasks to put that on wiki too.
>
> It may make sense to let the exact list of modules be somewhat
> flexible, for example, based on feedback from the Python and Cython
> community on what would be the most worthwhile to Cythonize. Maybe the
> final milestone would be "re-implement several additional modules as
> chosen by the Python community to provide maximum value" or something
> like that.
>
You mean just to tell how many modules I'm going to re-implement, but not
telling what modules are these? Re-implementing by community demand?
Thank you very much again.
Best Regards.
[]s
Arthur
>
> - Robert
>
> On Thu, Apr 7, 2011 at 11:38 PM, Arthur de Souza Ribeiro
> <arthurdesribeiro at gmail.com> wrote:
> > I've made some changes to my proposal, as you said, I changed the number
> of
> > modules I'm going to reimplement, I jumped from three to twelve modules,
> > what modules are these and when I want to implement is described at:
> >
> http://www.google-melange.com/gsoc/proposal/review/google/gsoc2011/arthur_sr/1#
> > and
> > http://wiki.cython.org/arthursribeiro
> > If you could take another look I would appreciate a lot.
> > Best Regards.
> > []s
> > Arthur
> >
> > 2011/4/7 Arthur de Souza Ribeiro <arthurdesribeiro at gmail.com>
> >>
> >>
> >> 2011/4/7 Robert Bradshaw <robertwb at math.washington.edu>
> >>>
> >>> On Thu, Apr 7, 2011 at 2:31 PM, Arthur de Souza Ribeiro
> >>> <arthurdesribeiro at gmail.com> wrote:
> >>> > I've submitted to google the link
> >>> >
> >>> > is:
> http://www.google-melange.com/gsoc/proposal/review/google/gsoc2011/arthur_sr/1#
> >>> > It would be really important if you could give me a feedback to my
> >>> > proposal...
> >>> > Thank you
> >>> > Best Regards
> >>> > Arthur
> >>>
> >>> Some quick points:
> >>>
> >>> - Python ships with extensive regression tests--use (and possibly
> >>> augment) those to test your work rather than writing your own.
> >>
> >> Thank you for that information Robert, I didn't realize this.
> >>
> >>>
> >>> - Three modules for a whole summer seems a bit weak, especially for
> >>> someone who already knows Cython. Target at least one module/week
> >>> seems like a good pace; some will be quickies, others might take 40+
> >>> hours. And I guarantee you'll get better and faster with practice.
> >>
> >> I'm going to refactor this Robert, as soon as I remake my project's
> >> roadmap I'll send to you again.
> >>
> >>>
> >>> - Now that generators are supported, it could also be interesting to
> >>> look at compiling all the non-C modules and fixing exposed bugs if
> >>> any, but that might be out of scope.
> >>
> >> I will try to take a look at this after implementing some cython code to
> a
> >> the module you suggested.
> >>
> >>>
> >>> What I'd like to see is an implementation of a single simple but not
> >>> entirely trivial (e.g. not math) module, passing regression tests with
> >>> comprable if not better speed than the current C version (though I
> >>> think it'd probably make sense to start out with the Python version
> >>> and optimize that). E.g. http://docs.python.org/library/json.html
> >>> looks like a good candidate. That should only take 8 hours or so,
> >>> maybe two days at most, given your background. I'm not expecting
> >>> anything before the application deadline, but if you could whip
> >>> something like this out in the next week to point to that would help
> >>> your application out immensely. In fact, one of the Python
> >>> foundation's requirements is that students submit a patch before being
> >>> accepted, and this would knock out that requirement and give you a
> >>> chance to prove yourself. Create an account on https://github.com and
> >>> commit your code into a new repository there.
> >>>
> >>
> >> I will start the implementation of json module right now. I created my
> >> github account and as soon as I have code implemented I will send
> repository
> >> link.
> >> Thanks for all the points you listed, I will work on all of them and
> send
> >> an e-mail.
> >> Best Regards.
> >> []s
> >> Arthur
> >>
> >>> Hope that helps.
> >>>
> >>> - Robert
> >>>
> >>>
> >>> > 2011/4/7 Arthur de Souza Ribeiro <arthurdesribeiro at gmail.com>
> >>> >>
> >>> >> I've wrote a proposal to the project: Reimplement C modules in
> >>> >> CPython's
> >>> >> standard library in Cython.
> >>> >> I'd be glad if you could take a look a it and give me your feedback.
> >>> >> the link for the proposal is: http://wiki.cython.org/arthursribeiro
> >>> >> Thank you.
> >>> >> Best Regards
> >>> >> Arthur
> >>> >
> >>> > _______________________________________________
> >>> > cython-devel mailing list
> >>> > cython-devel at python.org
> >>> > http://mail.python.org/mailman/listinfo/cython-devel
> >>> >
> >>> >
> >>
> >
> >
> > _______________________________________________
> > cython-devel mailing list
> > cython-devel at python.org
> > http://mail.python.org/mailman/listinfo/cython-devel
> >
> >
> _______________________________________________
> cython-devel mailing list
> cython-devel at python.org
> http://mail.python.org/mailman/listinfo/cython-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cython-devel/attachments/20110408/b6da7a26/attachment.html>
More information about the cython-devel
mailing list