geometric memory growth
Bob.Smart@REDACTED
Bob.Smart@REDACTED
Sun Nov 27 21:03:17 CET 2005
>...
> Side effects are obviously a concern (including exceptions).
>
> Consider also the case where f(B) loops infinitely.
I would think that the advent of JITs made us all aware that compilation
is not such a special time. Compilation is just optimization you can do
before you get any input. My amateur impression is that it is
particularly important for functional languages to do optimizations of
sections of code after there has been some input.
I certainly think that functions should be applied to known input at
compile time. Abort the attempt if you get to a side effect. Also (with
a warning) if it takes too long.
Bob
More information about the erlang-questions
mailing list