DominicHamon.com

Life is like a grapefruit

Typed data for performance boost

After reading John McCutchan’s recent post on numeric computation in Dart, and a conversation with Srdjan Mitrovic from the Dart VM team, I made some changes to the Dart port of Box2D in the hope of improving performance. The specific commits that make up this change are here and here, and this change has been released […]

Posted on 2013/06/05 in performance, web | Tagged box2d, dart, dart vm, dartbox2d, performance | Leave a comment

Getting started with DartBox2d part 2

This is an update to this post as dartbox2d has undergone some drastic changes since that was written over a year ago. Getting the code The first of the main differences is that dartbox2d is now a package hosted on pub. Getting the code is a matter of having a pubspec.yaml file in the root […]

Posted on 2013/03/06 in web | Tagged box2d, dart, dartbox2d, physics | 4 Comments

Benchmarking DartBox2d

Joel Webber wrote this excellent blog post in which he tests native versions of Box2D against Javascript implementations. Perhaps unsurprisingly, he discovered that native code is around 20 times faster than JavaScript. Having just released DartBox2d, I was curious to see how Dart stacks up against these results. It should be noted that the Dart version […]

Posted on 2012/01/27 in web | Tagged box2d-web, dart, dart vm, dartbox2d | Leave a comment

Getting started with DartBox2d

This post is deprecated. Please see this post for the latest version. The latest Dart library to be released is one that might see a fair bit of use, if the Java and JavaScript versions are anything to go by. DartBox2d is the latest port of the immensely popular 2d physics engine seen in games across […]

Posted on 2012/01/11 in web | Tagged box2d, dart, dartbox2d, physics | Leave a comment

Recent Posts

Archives

Search

Search

Copyright © Dominic Hamon 2021. WordPress theme by Ryan Hellyer.