New LANumerics package for numerical linear algebra in Swift

IIRC, compatible layout is not enough for assumeMemoryLayout, it’d also need to be related type, In Swift, this rule is much stricter, so things like UInt32 and Int32 are not related (yet), only layout compatible.

Paint me curious. It’s intriguing that this could happen. I’d probably dig deeper should I have time.

That’d be related to object lifetime, which I’m not too worried about. I believe someone w/ your caliber should be already familiar with the fact that pointers don’t contribute to lifetime management (and that you can only access live objects).