Conspiracy Theory #1

dsimcha dsimcha at yahoo.com
Thu Nov 19 21:44:58 PST 2009


== Quote from Travis Boucher (boucher.travis at gmail.com)'s article
> Sean Kelly wrote:
>  Its harder
> to create a memory leak in D then it is to prevent one in C.

void doStuff() {
    uint[] foo = new uint[100_000_000];
}

void main() {
    while(true) {
        doStuff();
    }
}




More information about the Digitalmars-d mailing list