# Pitch: Implicit Pointer Conversion for C Interoperability

**URL:** <https://forums.swift.org/t/pitch-implicit-pointer-conversion-for-c-interoperability/51129>\
**Category:** Pitches\
**Created:** [August 11, 2021, 8:09pm UTC](https://forums.swift.org/t/pitch-implicit-pointer-conversion-for-c-interoperability/51129 "2021-08-11T20:09:35Z")\
**Posts on this page:** 1\
**Showing post:** 44

<div class="post-metadata">

**Author:** ![xedin](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/xedin/32/309_2.png) [@xedin](https://forums.swift.org/u/xedin)\
**Post date:** [August 17, 2021, 8:14pm UTC](https://forums.swift.org/t/pitch-implicit-pointer-conversion-for-c-interoperability/51129/44 "2021-08-17T20:14:00Z")

</div>

> [@Chris\_Lattner3](#):
>
> This is often suggested, but I'm not aware of a case where this worked out in practice - we usually end up with both the old thing and the new thing (e.g. `lazy` and property wrappers both).

From what @hborla told me, the reason why `lazy` is not _yet_ generalized is due to a couple of short-comings of property wrappers which are being addressed:

- It's not as efficient because the property wrapper has to store the initialization closure in each instance. There is a pitch to make this more efficient ([Add shared storage to property wrappers](https://forums.swift.org/t/add-shared-storage-to-property-wrappers/49898)).
- Allowing lazy as a property wrapper to access the enclosing `self`. This requires syntax changes which haven't been completely flushed out.

> [@Chris\_Lattner3](#):
>
> The reason they don't work out is that the new general features isn't as powerful as the special case things, don't behave exactly the same way (and we can't take a source break), or because no one goes back and cleans things up. Are you aware of any examples where this has worked out?

If we are talking about implementation, and not the language then - yes. There are multiple ongoing efforts in the type-checker to do just that: generalize all of the performance hacks, closure, result builder handling etc.

---

_[View the full topic](https://forums.swift.org/t/pitch-implicit-pointer-conversion-for-c-interoperability/51129)._
