logoalt Hacker News

repelsteeltjetoday at 11:43 AM1 replyview on HN

Interesting. I'm know nothing about Apple, but maybe you can explain how idiomatic Swift handles Blobs and how that interfaces with C or C++ around void ptrs, std::spans etc.?


Replies

pjmlptoday at 11:53 AM

Those are unsafe buffers, and have specific primitives to handle them, Swift also has span, and interoperability with Objective-C and C++ code.