Hacker News new | past | comments | ask | show | jobs | submit login

>Swift `Mirror` doesn't require unsafe code and is not a hidden implementation detail.

Actually part of the code is C++, so that would be in the unsafe side.

Also they explicitly say that the internals of Mirror are all based on implementation details that might change.




But that's not visible to the clients of `Mirror` API. Inside Swift `Mirror` is just another high-level API.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: