On Sunday, 21 December 2014 at 15:12:26 UTC, ZombineDev wrote:
One example of a somewhat large performance oriented C#
application is OpenRA[1].
(An open-source implementation of the Command & Conquer: Red
Alert engine using .NET/Mono and OpenGL. Runs on Windows, Linux
and Mac OS X)
It is interesting to see how far it can be translated from C#
to D and what the performance would be.
I'll give it a shot when I have the time, though you may also
find it useful as a way to benchmark your compiler ;)
[1]: https://github.com/OpenRA/OpenRA
Last time (long ago) I looked at OpenRA code it didn't look like
its source would (directly) translate well to high-performance
D/C++/whatever. You'd end up needing to turn some structs to
classes, limit GC usage (.NET has a much better GC, yet non-GC
code is simpler in D), etc.
(I'm planning to work on a project with similar goals to OpenRA,
although for academic reasons I'm still only working on its
entity system (https://github.com/kiith-sa/tharsis-core).