Skip to content

Split current "unsafe" chapter, cover more topics #112

@japaric

Description

@japaric

The current chapter needs to be split:

  • intro: What does the unsafe block means? (can't be proved safe by the compiler), should be used sparingly, first suspect in case of a segfault, should be treated as a red flag by the code reviewer
  • Dereferencing raw pointers
  • std::mem::transmute raw pointers -> references
  • asm!

We probably want to add:

  • static mut

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions