Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Language Hype

Name: Anonymous 2010-12-15 17:51

It's an unknown fact that most GNU utils written in C never free up the memory they allocate, which usually results in memory leaks.

You may wonder, why? It's because C lacks RAII.

Same goes for D; although D does have RAII, its Garbage Collector creates memory leaks by allocating and never freeing ridicolously large memory chunks.

This code allocates 41,688 bytes, and never frees it:

import tango.io.Stdout;

void main(char[][] args)
{
    Stdout("Hello World!").newline();
}


Imagine the memory chunk allocated by the GC for a ``bigger'' application.

Yet D & C folks claim to be better than C++...

Name: LISPPER !Dee.heHMhc 2010-12-15 17:57

>>1
tango
Please, use D2.
You may wonder, why?
Because GNU utils is made of crap.
because C lacks RAII.
It's so hard to put an object_destroy(); at the end of the scope.
Yet D & C folks claim to be better than C++...
Because they are.


Also, LISP.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List