GnuPlot coredump Howto :-)

Mondtam, hogy a gnuplot nem birja a rekurziot:
gnuplot> rep(x) = rep(x)
gnuplot> plot rep(x)
Szegmens hiba

:-)

Hozzászólások

Lua megfagy "function (x) return f(x); end(1)"-el (nő a stack, mint a gomba)

C: Szegmens hiba "int main(int argc) { return main(argc); }"

Python: "RuntimeError: maximum recursion depth exceeded"
def rep(x):
return rep(x)

rep(1)

Perl: Nem áll le.
sub x {
return x(@_);
}

x(1);

"No boom today. Boom tomorrow. There's always a boom tomorrow. What? Look, somebody's got to have some damn perspective around here. Boom, sooner or later. BOOM!" -- Lt. Cmd. Ivanova