Quick questions about parallelism and some amber features
Steve Barham
steve at ethx.net
Fri Apr 21 21:17:40 UTC 2023
Hi David,
It feels to me that Boolean short circuiting in conditionals and statement
ordering in switches would both preclude parallel evaluation of conditions,
absent some infective constery to wave away side effects.
In any event - do you envisage any benefit from parallel evaluation? On
such scales would runtime cost not be dominated by dispatch and
synchronisation?
Steve
On Fri, 21 Apr 2023 at 04:31, David Alayachew <davidalayachew at gmail.com>
wrote:
> Hello Amber Dev Team,
>
> Quick questions about some amber features and parallelism.
>
> 1. For switch expressions, do they ever use parallelism to evaluate the
> branches? As in, check multiple branches simultaneously?
> 2. What about record deconstruction patterns? I know the class ones that
> we are going to write can be up to us. But do record patterns ever do that?
>
> Thank you for your time!
> David Alayachew
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/amber-dev/attachments/20230421/321f1b2d/attachment-0001.htm>
More information about the amber-dev
mailing list