[Oberon] Life without local procedures
dsar at eml.cc
Fri Feb 23 13:57:52 CET 2018
On Fri, Feb 23, 2018, at 8:21 AM, Andreas Pirklbauer wrote:
> > I can live without intermediate variables, especially
> > if they simplify and improve compiler code generation.
> Only intermediate *variables* complicates code generation and
> slows down runtime performance (both when calling an intermediate,
> procedure and when subsequently accessing intermediate variables).
> Intermediate *constants* and *types* come for free, both in the
> compiler and at runtime, as their values are known at compile time.
Andreas, I'm already aware of this :-)
I also wrote that in one of my previous post:
> By the way, I very welcomed the idea of removing access of intermediate
> variables in procedures as this simplify prolog and saves resources, but
> for other objects as types, constants and procedures this is a bad idea since
> the cost (in runtime) is null.
More information about the Oberon