couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoit Chesneau <>
Subject Re: [VOTE] Apache CouchDB 1.2.0 release, first round
Date Tue, 14 Feb 2012 12:14:33 GMT
On Tue, Feb 14, 2012 at 12:12 PM, Robert Newson <> wrote:
> The first time I encountered CouchDB's (or, strictly, SpiderMonkey's)
> rather deficient number handling was quite sobering. I hear Paul's
> concern that JSON doesn't define anything useful for numbers at all
> (I'd argue that its specification is actually worse than useless). For
> 1.2.0, I'd be +1 on removing the obvious regression that %g
> introduced.


> For 1.3.0, I'd love to see some formalization of how
> CouchDB handles numbers (with an explicit promise to remain compatible
> in future releases). I'd prefer a transparently lossless approach but
> the edge cases might be too much to handle. After all, erlang
> automatically handles big integers if you overflow but is also
> silently converts integers to decimals if you're not careful.
> Shorter Version: CouchDB should have first-class support for numerical
> data, over and above the JSON spec.


- benoƮt

View raw message