[Issue 14419] [CTFE] Need infinite loop detection?

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Apr 6 10:37:09 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14419

--- Comment #10 from Jens Bauer <jens-bugzilla at gpio.dk> ---
(In reply to Martin Nowak from comment #9)
> If you really think we should fix this, then a time limit for CTFE execution
> might be feasible.

I think it would be a good thing to at least implement a 'general-case' fix.

1: on dlang.org, there's an on-line compiler. It wouldn't take much effort to
bring it to the knees.
2: When the users of D grow, the number of bug-reports will grow very quickly.
Believe me; I worked on a Web-browser for the Mac platform, which had 200000
downloads the first week. At the time, we were 2 developers on the Mac
platform. -Needless to say (but I'll do it anyway): Those people did not know
much about bug-reporting. 200000 people - many of them 'novice' againt 2
developers = a whole load of bug reports that could never be marked 'fixed' -
many because we could never keep up. (This particular web-browser actually
*had* a loop detection on the Javascript, and it was impossible for me to trick
it).

Fortunately, the D compiler team have better conditions. The users are
developers, so most of them know what it's all about - but there are still
people writing code, who should not wear the title "developer"; simply because
their only agenda is "to make damage".

--


More information about the Digitalmars-d-bugs mailing list