Skip to content

Conversation

winding-lines
Copy link
Collaborator

Mojo has started enforcing its memory model. Use this as an opportunity to cleanup the design of the various types and their relationships.

There is still a gap in the mojo compiler when it comes to representing the origin of references pointing inside self.https://forum.modular.com/t/how-to-mark-a-trait-as-applying-to-not-register-passable/2265/7?u=mseritan

For now I am using a workaround in the Array trait. We can revisit when the mojo compiler changes in its support.

@winding-lines winding-lines force-pushed the mojo-25.6.0.dev2025091105 branch from e15336a to 7ad1751 Compare September 14, 2025 15:32
Mojo has started enforcing its memory model. Use this as an opportunity
to cleanup the design of the various types and their relationships.
@winding-lines winding-lines force-pushed the mojo-25.6.0.dev2025091105 branch from 7ad1751 to 74afe5e Compare September 14, 2025 15:37
@winding-lines winding-lines merged commit 1d9fdcb into kszucs:main Sep 14, 2025
1 check passed
@winding-lines winding-lines deleted the mojo-25.6.0.dev2025091105 branch September 14, 2025 15:38
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.

1 participant