Skip to content
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

Request: mutable collection types #72

Open
robin-aws opened this issue Jan 26, 2023 · 1 comment
Open

Request: mutable collection types #72

robin-aws opened this issue Jan 26, 2023 · 1 comment
Assignees

Comments

@robin-aws
Copy link
Member

Very common ask from projects that want efficient executable code as well.

It would be very expensive to have enough static analysis/verification to detect when it is safe to rewrite myMap := myMap[k := v] as an update to a mutable value, so in the short term the better option is to offer Dafny bindings for target language implementations of mutable values with the appropriate specifications. These SHOULD be the concurrency-safe versions by default to ensure the specifications actually hold, but we could offer alternative faster versions that are only safe for sequential code.

@stefan-aws stefan-aws self-assigned this Feb 2, 2023
@alex-chew
Copy link
Contributor

Related: #87

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

No branches or pull requests

3 participants