@SlowPath renaming discussion
manuel.rigger at chello.at
Fri Sep 26 21:11:34 UTC 2014
having a method annotated as a "boundary" leaves open where the exact
boundary for the PE is. Some user might think that the PE might still
evaluate the method but does not continue from there.
I think the name should include "Partial Evaluation". I guess that a
user will already have some idea about partial evaluation if he/she uses
the annotation. To try to come up with a simpler name will probably make
the naming more fuzzy. Instead of talking about the abstract concept
"Partial Evaluation" we would have to put somehow inside what Truffle
_does not do_ but Graal still _could do_, i.e., inlining.
I thus have these additional suggestions:
@CutoffPartialEvaluator (or simply @CutPartialEvaluation as in the
Prolog Cut operator)
Am 26.09.2014 16:49, schrieb Chris Seaton:
> What about something less Truffle specific? What about @StopInlining, @NotInlined or @DontInline?
> On 26 Sep 2014, at 15:28, Michael Haupt <michael.haupt at oracle.com> wrote:
>> Hi Christian,
>> Am 26.09.2014 um 16:11 schrieb Christian Humer <christian.humer at gmail.com>:
>> I would suggest these names:
>> @PartialEvaluationBoundary (or @PEBoundary)
>> Please add more suggestions and vote for whatever you think is best.
>> I'll try to first give my rationale for how I try to come up with a name. It should express the intent of the annotation with regard to the method it is attached to, at a level that is understandable by a Truffle user.
>> Applying this, and note that this is purely my personal view, @Boundary is a bit too fuzzy; @TruffleBoundary is more apt, but regarding a method as a boundary is a bit odd; and @PEBoundary is rather technical (not focused on the user).
>> Alternative suggestions (more may be coming): @TruffleInterpreted, @TruffleInterpretOnly. (Prepending "Truffle" should indicate that the method is not exempt from compilation.)
>> If the technical stance of @PartialEvaluationBoundary is agreeable but the name is too long, how about @NoPE? ;-)
>> Dr. Michael Haupt | Principal Member of Technical Staff
>> Phone: +49 331 200 7277 | Fax: +49 331 200 7561
>> Oracle Labs
>> Oracle Deutschland B.V. & Co. KG, Schiffbauergasse 14 | 14467 Potsdam, Germany
>> Oracle is committed to developing practices and products that help protect the environment
> E-Mail ist virenfrei.
> Von AVG uberpruft - www.avg.de
> Version: 2014.0.4765 / Virendatenbank: 4025/8276 - Ausgabedatum: 26.09.2014
More information about the graal-dev