D learning curve

Sascha Katzner sorry.no at spam.invalid
Sun Jun 15 02:38:47 PDT 2008


Robert Fraser wrote:
> The GC/runtime/IO is faster & less buggy than Phobos's in general, so 
> for production code (or code you want to be blazing fast), Tango is th 
> better choice.

If you want "blazing fast" code, it is mostly the better choice to use 
customized code. Libraries tend to be over protective (for a good 
reason) and therefore sometimes wasting a lot of time with unnecessary 
stuff like error checking for errors that could never occur in a 
specific situation. Tasks like memory management and IO are very good 
examples for this.

When I'm using a library I don't expect to get the fastest code, but 
_reliable_ code that I don't have to write on my own. Your observation 
that Phobos seems to have more bugs _could_be_ a direct consequence of 
that it is used by more people... SCNR ;)

LLAP,
Sascha



More information about the Digitalmars-d mailing list