Skip to content

deprecate @inbounds and change it to @unsafe_inbounds #45342

Open
@Suavesito-Olimpiada

Description

@Suavesito-Olimpiada

Reading Discussion on "Why I no longer recommend Julia", I came to the notion that @inbounds have the ability to corrupt memory or access unassign memory. As with the rest of Base I think it should be changed to @unsafe_inbounds.

To avoid breakage, a deprecation warning would be thrown, suggesting changing it to the new name. I can make the PR, but wanted to hear, what do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    breakingThis change will break codespeculativeWhether the change will be implemented is speculative

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions