Skip to content

Create GC-10-05.md #893

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 20, 2021
Merged

Create GC-10-05.md #893

merged 3 commits into from
Oct 20, 2021

Conversation

tlively
Copy link
Member

@tlively tlively commented Oct 5, 2021

No description provided.


### Presentation: dart2wasm (Aske Simon Christenson, 20-30 minutes)

TODO: slides
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@askeksa-google, thanks for presenting! Could you upload or add a link to your slides?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


AR: like flattened closures, save 1 indirection and allocation per closure

ASC: you would put function ref in the same object as the context

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Post-meeting addendum: Multiple functions inside the same function can share a context. Mutations from one function are seen by the others. Therefore, there needs to be an indirection from the closure to the context (i.e. deep closures).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, so Dart has C#-like semantics for capturing mutable local variables. @lukewagner suggested this might be the issue. Thanks for the follow-up!

@tlively tlively merged commit 5b3bfb6 into main Oct 20, 2021
@tlively tlively deleted the tlively-patch-1 branch October 20, 2021 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants