# HDF5.jl: How to write type stable code

**URL:** <https://discourse.julialang.org/t/hdf5-jl-how-to-write-type-stable-code/6549>\
**Category:** General Usage\
**Created:** [October 19, 2017, 7:31am UTC](https://discourse.julialang.org/t/hdf5-jl-how-to-write-type-stable-code/6549 "2017-10-19T07:31:57Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![tobias.knopp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tobias.knopp/32/7551_2.png) [@tobias.knopp](https://discourse.julialang.org/u/tobias.knopp)\
**Post date:** [October 19, 2017, 9:53am UTC](https://discourse.julialang.org/t/hdf5-jl-how-to-write-type-stable-code/6549/9 "2017-10-19T09:53:10Z")

</div>

Yes sorry. That is the question I asked in [Does compile time depend on type stability - #3 by tobias.knopp](https://discourse.julialang.org/t/does-compile-time-depend-on-type-stability/6548/3)

My global issue is that the UI application I am working on is not usable if it requires 2 minutes to start up and pressing a button the first time requires 20 seconds. Since pressing a button involves reading e.g. HDF5 file I was wondering if it would be a good idea to “clean up” the type unstable low level code in order to make my application start faster.

---

_[View the full topic](https://discourse.julialang.org/t/hdf5-jl-how-to-write-type-stable-code/6549)._
