Re:Adding BigInts to V8
by monocasa on Wednesday May 02, 2018 @04:28PM
(#16980869)
To be fair, how it's used probably depends in part on how well optimized it is.
[ Parent
| on HN ]
Re:Adding BigInts to V8
by ItsMe000001 on Wednesday May 02, 2018 @05:53PM
(#16981481)
It's almost as if evolution of software is an iterative process where all parties move a bit at each step, not one from 0 to "fully planned ahead in advance (by expert committee)".
There's little reason to use a poor algorithm when good ones already exist. If the problem is already solved, you don't need any expert committee, just a few days of reading and writing.
Re:Adding BigInts to V8
by ItsMe000001 on Thursday May 03, 2018 @03:04AM
(#16983907)
So you already know how people are going to use BigInt, so you can tell them what optimizations are useful? Send them a message, JS runtime implementers are eager to hear from you! Keep in mind each optimization comes at a cost, so you don't want to willy-nilly implement any optimization that comes to mind (time and (code) space and (runtime memory) space complexity).