This is a mirror of official site: http://jasper-net.blogspot.com/

N-Body Modeling with NBody.net

| Sunday, March 28, 2010
As part of keeping up to speed with some of the deliverables the patterns & practices teams are shipping, notably Enterprise Library, Unity and Prism as well as some of the latest development practices, like domain driven design. So in some ways the whole project is a test bed and showcase for lots of ideas and new ways of writing code.

In the end it’s turned out I’ve taken on a bunch of other challenges, like the Task Parallel Library and mixed language development with C#, F#, C++/CLI, C++, OpenMP and Nvidia’s CUDA platform to improve performance and DirectX 9 to get a better, faster visualization. While this is still very much a work in progress it’s now a fully working implementation.
Mixed language architecture

The underlying architecture hasn’t changed. It’s still a WPF application written using Prism 1.0 based modular approach and relies on Enterprise Library 4.1 for cross cutting concerns like logging, validation and configuration. The WPF UI and the domain model are built up using Unity’s dependency injection container which means a user can configure different initial setup criteria and integration engines on the fly.

The key is picking the appropriate parts of the application and the appropriate language to implement them in. The two big reasons are performance and access to APIs not exposed easily through managed code.

Read more: NBody.net

Posted via email from jasper22's posterous

0 comments: