# std.debug: delete MemoryAccessor · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/d00cc100867bbb7a5e4305a5597cb45982c4593f)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: d00cc100867bbb7a5e4305a5597cb45982c4593f

Requested commit: d00cc100867bbb7a5e4305a5597cb45982c4593f

Commit: d00cc100867bbb7a5e4305a5597cb45982c4593f

Tree: 6c04d8c2d13a72d3a2117d6723494311d53018ed

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.debug: delete MemoryAccessor

This API is based around the unsound idea that a process can perform
checked virtual memory loads to prevent crashing. This depends on
OS-specific APIs that may be unavailable, disabled, or impossible due to
virtualization.

It also makes collecting stack traces ridiculously slow, which is a
problem for users of DebugAllocator - in other words, everybody, all the
time. It also makes strace go from being superbly clean to being awful.

```

## Parents

- [77c09d16f9d992b19bc7cb2d2497f8009e0250ba](https://git.cafe/gitcafe/zig/commit/77c09d16f9d992b19bc7cb2d2497f8009e0250ba?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/d00cc100867bbb7a5e4305a5597cb45982c4593f?format=markdown)
