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

Borrow No Checking #15

Closed
wants to merge 3 commits into from
Closed

Borrow No Checking #15

wants to merge 3 commits into from

Conversation

AjaniBilby
Copy link
Member

Implement lending in mutable and immutable variants.
This should support lending an integer as well as structures.
At this point we're not implementing a whole borrow checker, as type narrowing is a higher priority first, and borrowing can be added onto that feature.

Also loops should be implemented first since that will also rework the initalization tracking.

@AjaniBilby
Copy link
Member Author

Depends on #13 being merged first

@AjaniBilby AjaniBilby mentioned this pull request Apr 10, 2024
@AjaniBilby AjaniBilby added this to the 1BRC Complete milestone Apr 18, 2024
@AjaniBilby
Copy link
Member Author

This feature is being post-phoned.
Borrow checking will be added in the bootstrapped compiler, until then we will focus on supporting native gc types to allow us to get to that point faster

@AjaniBilby AjaniBilby closed this Oct 12, 2024
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