/talks-nodejs-interactive-2016

Talk for Node.js Interactive North America 2016.

Primary LanguageHTMLMIT LicenseMIT

Math in V8 is Broken and How We Can Fix It

Talk for Node.js Interactive North America 2016.

Abstract

The built-in JavaScript Math library is used in virtually every Node.js application, from generating random ids to calculating exponential back-off times to computing basic performance metrics. When using the Math library, most developers simply assume that the underlying implementations are accurate, performant, and correctly implemented. In this presentation, I discuss why this assumption is often false and show the various ways in which the standard library is broken. The presentation includes the algorithms used, their performance and accuracy, and how they have downstream effects on users of these libraries. The presentation concludes by highlighting how community solutions are stepping up to fix these problems and identify opportunities for additional improvements.

Installation

$ git clone https://github.com/kgryte/talks-nodejs-interactive-2016

and

$ npm install

Usage

From the top-level directory,

$ python -m SimpleHTTPServer 9000

and, in your browser, navigate to

http://127.0.0.1:9000/

License

MIT license.

Copyright

Copyright © 2016. Athan Reines.