On Wed, 21 Oct 2020 17:42:53 GMT, Paul Sandoz <psan...@openjdk.org> wrote:

> Some design considerations, to consider later maybe.
> 
> The IR representation could be simplified to use record classes (which should 
> be exiting preview in 16), implementing a Binding interface. The interpreter 
> and specializer (compiler) could be separate if need be, operating on a 
> sequence of instructions that just hold the data. Pattern matching could be 
> used on the binding instances. It may be simpler and more efficient if the 
> compiler generated explicit byte code rather than using MH combinators.

Good suggestions - I think this is good to consider post-integration.

-------------

PR: https://git.openjdk.java.net/jdk/pull/634

Reply via email to