Skip to main content

New site for Dart news and articles

For the latest Dart news, visit our new blog at  https://medium.com/dartlang .

Faster is Better: New Article on Numeric Computation in Dart

"Performance matters to everyone", says Dart engineer John McCutchan. His new article, "Numeric Computation", tells you how to get "50-100% speed improvements" with just a few simple rules.

John covers integers, doubles, boxing, typed lists, and more. He also covers various considerations for Dart code that is compiled to JavaScript.

Boxing requires a memory allocation and a store. Unboxing requires a load.
If you write code that works with numbers, and that's pretty much everyone, you should read this article. Please join us for discussion in our Dartisans community. Thanks for trying Dart!