Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #15116

Re: Forking simplejson

From Terry Reedy <tjreedy@udel.edu>
Subject Re: Forking simplejson
Date 2011-10-28 16:52 -0400
References <CAL7_Mo8cLHxh9bt1NvmJFDzLMz9K3gm9k53JRzRSKQPB1485BA@mail.gmail.com> <CAMZYqRQc5ywN0V-X+vLAuJs5O9vjL1=FOrzWaLdjMY+vJAsuug@mail.gmail.com> <CAL7_Mo9VC1Sf-gM=efbV+wxTGV4_RXvqP1-BTAv438X41yPVuQ@mail.gmail.com> <CAOFbRmKiOV+noWrLVXzjSYGLCXBas4fvbaHQgaVYKc9-jsChjQ@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.2294.1319835184.27778.python-list@python.org> (permalink)

Show all headers | View raw


On 10/28/2011 1:20 PM, Nathan Rice wrote:
> Just a random note, I actually set about the task of re-implementing a
> json encoder which can be subclassed, is highly extensible, and uses
> (mostly) sane coding techniques (those of you who've looked at
> simplejson's code will know why this is a good thing).  So far
> preliminary tests show the json only subclass of the main encoder
> basically tied in performance with the python implementation of
> simplejson.  The C version of simplejson does turn in a performance
> about 12x faster, but that's apples to oranges.  The design of the
> encoder would also make a XML serializer pretty straight forward to
> implement as well (not that I care about XML, *blech*).
>
> I'm torn between just moving on to some of my other coding tasks and
> putting some time into this to make it pass the simplejson/std lib
> json tests.  I really do think the standard lib json encoder is bad

Python is the result of people who thought *something* was 'bad'

> and I would like to see an alternative in there

and volunteered the effort to make something better.

 > but I'm hesitant to get involved.

As someone who is involved and tries to encourage others, I am curious why.

-- 
Terry Jan Reedy

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Forking simplejson Terry Reedy <tjreedy@udel.edu> - 2011-10-28 16:52 -0400

csiph-web