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
value representation for structs and tuples #3297
Labels
leads question
A question for the leads team
Comments
It's worth noting that this choice is influenced strongly by Carbon's goal of predictable performance. If we come up with criteria by which we switch between strategies, we will presumably want to provide some way of controlling the decision or at least clear rules by which it can be understood. |
zygoloid
added a commit
to zygoloid/carbon-lang
that referenced
this issue
May 1, 2024
Change the syntax for `package` declarations from: ```carbon [package Foo] [library "bar"] api; [package Foo] [library "bar"] impl; ``` to ```carbon [package Foo] [library "bar"]; impl [package Foo] [library "bar"]; ```
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary of issue:
From this review comment:
What should the value representation for a struct or tuple be? Some options:
Details:
All of the options have downsides -- see the review comment thread. Selecting between them based on criteria such as the size of the elements may be the best choice.
Any other information that you want to share?
No response
The text was updated successfully, but these errors were encountered: