System programming in D (Was: The God Language)

Iain Buclaw ibuclaw at ubuntu.com
Thu Jan 5 14:17:39 PST 2012


On 5 January 2012 22:11, Manu <turkeyman at gmail.com> wrote:
> So regarding my assumptions about translating the D front end expressions to
> GCC? Is that all simpler than I imagine?
> Do you think GDC generates optimal code comparable to C code?
>
> What about pure functions, can you make good on optimisations like caching
> results of pure functions, moving them outside loops, etc?
>
>

I think you are confusing the pure with memoization.  I could be wrong
however... :)

-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';


More information about the Digitalmars-d mailing list