Discussion
: Compiler
- behavioural changes testing/dogfooding
#16521
Pinned
vzarytovskii
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
I don't know how pressing the need is, but if there is room for infrastructure around it, should this be handled by language pragma (and having support for those to be unset)? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After chatting a bit with @dsyme, team, and observing community suggestions, I propose we start introducing behavioural/codegen changes for testing by external community/customers via compiler flags (and requiring
langversion:preview
), for example:--optimize:devirtualize_equality
), which will be devirtualizing certain calls (in case of equality, or comparison), resulting in better non-boxing codegen for value types.The reason for having those - we want to be able to let users test certain changes, and provide feedback, but not tie them to language version (or make it default for the time being) without risk of breaking existing customers.
Beta Was this translation helpful? Give feedback.
All reactions