# Restructuring Performant Code (C, Pascal) with Type Unions and Pointers

**URL:** <https://discourse.julialang.org/t/restructuring-performant-code-c-pascal-with-type-unions-and-pointers/58374>\
**Category:** Performance\
**Created:** [April 1, 2021, 4:09pm UTC](https://discourse.julialang.org/t/restructuring-performant-code-c-pascal-with-type-unions-and-pointers/58374 "2021-04-01T16:09:14Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![tawheeler](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tawheeler/32/17657_2.png) [@tawheeler](https://discourse.julialang.org/u/tawheeler)\
**Post date:** [April 1, 2021, 6:02pm UTC](https://discourse.julialang.org/t/restructuring-performant-code-c-pascal-with-type-unions-and-pointers/58374/7 "2021-04-01T18:02:27Z")

</div>

Looks like reinterpret is okay, and the general consensus is that C-style unions are not a thing Julia really does (which is okay). ([post here](https://discourse.julialang.org/t/port-c-union-to-julia/950/2))

---

_[View the full topic](https://discourse.julialang.org/t/restructuring-performant-code-c-pascal-with-type-unions-and-pointers/58374)._
