logoalt Hacker News

brooke2klast Tuesday at 1:24 AM0 repliesview on HN

You can indeed write custom allocators, and you can read to or write from special addresses. The former will usually, and the latter will always, require some use of `unsafe` in order to declare to the compiler: "I have verified that the rules of ownership and borrowing are respected in this block of code".