Optimize my code =)

Nick Sabalausky SeeWebsiteToContactMe at semitwist.com
Mon Feb 17 14:48:27 PST 2014


On 2/16/2014 6:47 PM, Robin wrote:
>
> @Nick Sabalausky:
>
> Don't be shocked at the bad performance of a beginner D programmer. At
> least I am not shocked yet that my D implementation isn't performing as
> well as the highly optimized C++11 implementation or the JIT-optimized
> Java implementation. In general one can not compare the results of a
> native compilation optimization which shall run on different hardwares
> and a JIT optimization which is able to pull out every single
> optimization routine because it knows the system and all its components
> to compile at.
>

I think you've misunderstood me. I was only explaining D's class vs 
struct system, and why in D (as opposed to Java) structs are better than 
classes in this particular case.



More information about the Digitalmars-d-learn mailing list