Code layout for range-intensive D code

Denis Shelomovskij verylonglogin.reg at gmail.com
Sat Jun 9 09:16:36 PDT 2012


09.06.2012 14:43, bearophile пишет:
> The introduction of UFCS in D offers new ways to format D code,
> especially when your code uses many high order functions.

I have to mention that one shouldn't write range-intensive D code for 
now. It's too risky to use high level functions in D because it can 
result in any kind of memory corruption because of at least "Issue 7965 
- Invalid outer function scope pointer in some cases":
http://d.puremagic.com/issues/show_bug.cgi?id=7965

Not sure about other such issues but at least that one makes high level 
functions almost unusable because of a danger.

-- 
Денис В. Шеломовский
Denis V. Shelomovskij




More information about the Digitalmars-d mailing list