Two interoperable implementations rule

Mark S. Miller erights at google.com
Tue Jul 15 04:07:45 PDT 2008


On Mon, Jul 14, 2008 at 8:45 AM, Mike Shaver <mike.shaver at gmail.com> wrote:

> On Fri, Jul 11, 2008 at 7:10 PM, Maciej Stachowiak <mjs at apple.com> wrote:
> > [...] For example, would Rhino and SpiderMonkey count as
> > sufficiently independent implementations?
>
> Similarly, if we end up with, f.e., both WebKit and Spidermonkey using
> decNumber as our internal implementation of Decimal, does that count
> as two interoperable implementations?  It seems like we'd be at risk
> of mostly testing that code against itself, so I would hope that we
> look for such reuse cases when we're making sure that we actually have
> usefully-distinct implementations of features to validate the spec.
>

Adding decimal to Rhino would presumably build on the BigDecimal class
already present in Java. Is Java's BigDecimal class sufficiently conformant
to the relevant IEEE spec to support a conformant implementation of the
decimal proposed for EcmaScript? And is the implementation sufficiently
independent of the implementation the IBM guys might add to WebKit or
Spidermonkey to count as a cross check on the spec? IBM guys, would you be
interested in contributing such a decimal implementation to Rhino?

-- 
Cheers,
--MarkM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.mozilla.org/pipermail/es-discuss/attachments/20080715/cf063835/attachment-0002.html 


More information about the Es4-discuss mailing list