JDK 10: Refactoring of LetExpr to allow more than one statement

B. Blaser bsrbnd at gmail.com
Wed May 10 20:14:36 UTC 2017


Hi,

I've suggested some time ago a refactoring of LetExpr to generate a
more optimized code in some cases, see [1].

The key idea is to allow LetExpr to have more than one statement in
addition to multiple variable declarations. This would lead to a more
optimal translation of comma-expressions, see [1].

This suggestion refers to let-expressions in Lisp which allow more
than one statement in addition to multiple variable declarations, see
[2].

Are you interested in such a feature? Should I create a JBS issue for
that to be integrated in JDK 10?

Regards,
Bernard

[1] http://mail.openjdk.java.net/pipermail/compiler-dev/2016-November/010531.html
[2) http://www.lispworks.com/documentation/HyperSpec/Body/s_let_l.htm


More information about the compiler-dev mailing list