Comment by remexre
1 month ago
> get into "unsafe" states on purpose
see, this seems like something that's nice to actually put into the types; a Ptr<Foo> is a real pointer that all the normal optimizations can be done to, but cannot be null or otherwise invalid, and UnsafePtr makes the compiler keep its distance and allows whatever tricks you want.
No comments yet
Contribute on Hacker News ↗