You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King III (JIRA)" <ji...@apache.org> on 2019/02/15 12:01:00 UTC

[jira] [Created] (THRIFT-4803) Fix 64-bit nodejs math by switching from node-int64 to long or bignum

James E. King III created THRIFT-4803:
-----------------------------------------

             Summary: Fix 64-bit nodejs math by switching from node-int64 to long or bignum
                 Key: THRIFT-4803
                 URL: https://issues.apache.org/jira/browse/THRIFT-4803
             Project: Thrift
          Issue Type: Improvement
          Components: Node.js - Compiler, Node.js - Library
    Affects Versions: 0.12.0
            Reporter: James E. King III


The package node-int64 allows for storage of 64-bit integers but it does not allow for integer arithmetic.  There are solutions for this, for example the packages {{long}}, {{bignum}}, {{bigint}}.  We should switch to one of these, even though it is a breaking change, as it improves i64 behavior.  This would be a breaking change; folks can continue to use 0.12.0 if they don't want to change their code.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)