[OT] Previously: DMD - Windows -> C# in gamedev

Walter Bright newshound2 at digitalmars.com
Sun Jan 8 11:46:54 PST 2012


On 1/8/2012 4:01 AM, Peter Alexander wrote:
> On 8/01/12 4:11 AM, Walter Bright wrote:
>> On 1/7/2012 4:12 PM, Peter Alexander wrote:
>>> The main advantage of Lua for game code (in my opinion) is runtime
>>> reloading,
>>> and the ability to avoid recompiles just to test some new game logic.
>>> That's not
>>> so easy with C++.
>>
>> D is far faster at compiling than C++.
>
> True, but:
>
> - It's not orders of magnitude faster. You still have to wait for a re-compile
> of large projects.
>
> - Linking takes just as much time as compiling.
>
> - Can't account for the time it takes to boot your application back up after
> compiling and get back into the state you were in when you wanted to make the
> change.

All true.

> - Also, DMD is slow at optimising.
> http://d.puremagic.com/issues/show_bug.cgi?id=7157

When you're in the edit-compile-debug loop, it's normal to turn off the optimizer.


More information about the Digitalmars-d mailing list