Track type memory safety #7
Labels
No labels
Bug
Design
Feature
Improvement
Investigate
Suggestion
Triage
Bug
Design
Feature
Improvement
Investigate
Suggestion
Triage
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Suzu/suzu-next#7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Memory safety refers to whether all memory states are valid or not.
Almost all primitives types are safe, while variable containers are usually not.
Memory-safe types may allow users to read and write memory directly.
Safe Groups
A safe type can have any binary state without introducing memory risks.
Conditional Groups
A conditional type depends on the safety of the inner type.
Unsafe Groups
An unsafe type may include pointers or contextual information that can result in invalid operations given arbitrary values.