Doom3 (id tech 4) port/binding in D ?

bearophile bearophileHUGS at lycos.com
Thu Nov 24 15:18:57 PST 2011


Regan Heath:

> As is beating the Java performance for minecraft, but to a lesser degree.   
> Matching the C/C++ Doom3 would definitely be more impressive, especially  
> if we can then say we reduced the LOC too :p

It's better to discover the scaling problems of the D GC with an open source video game than with a commercial project. And currently Minecraft is hotter than Doom, so it probably gives better return of investment regarding number of persons that will be interested. So I agree that a Dinecraft is a bit better idea.

But today it's not hard to translate Java-OracleVM programs to D and find that once compiled with DMD they are are slower than before (to avoid this you need to care for performance). I suggest to perform a 1:1 port of the Java code, write tests, benchmark and profile the program, fork the code to keep a working and clean root version, and then slowly optimize the derived version keeping the tests "green".

Bye,
bearophile


More information about the Digitalmars-d mailing list