DominicHamon.com

Life is like a grapefruit

URL shortener in go

I recently combined all my various blogs into this one and then realised that, yet again, the length of my name is a pain. Especially when it comes to URLs. I also realised that I’d never tried to build a URL shortener, so I did. Full source available here. There are a few tutorials around […]

Posted on 2014/01/19 in coding, web | Tagged coding, github, go | Leave a comment

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

Porting Colossal Cave Adventure to Native Client

Native Client (NaCl) is a new technology built in to Chrome that allows native code (read C++) to be compiled into a form that is then executed within the browser. Several impressive ports have already been completed, including ScummVM, OGRE, and Unity 3D. A host of other open source libraries have also been ported and […]

Posted on 2011/09/20 in web | Tagged chrome, NaCl, Native Client | Leave a comment

Recent Posts

Archives

Search

Search

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