# HashLink native extension tutorial

**URL:** https://community.haxe.org/t/hashlink-native-extension-tutorial/2446
**Category:** Haxe
**Tags:** haxe-hl
**Created:** [May 17, 2020, 2:18am UTC](https://community.haxe.org/t/hashlink-native-extension-tutorial/2446 "2020-05-17T02:18:11Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![haddock7](https://community.haxe.org/user_avatar/community.haxe.org/haddock7/32/1201_2.png) [@haddock7](https://community.haxe.org/u/haddock7)
#### Post date: [May 17, 2020, 2:18am UTC](https://community.haxe.org/t/hashlink-native-extension-tutorial/2446/1 "2020-05-17T02:18:11Z")

</div>

I have created a C/C++ HashLink extension for my current project, and I have written a tutorial on this topic, to share what I have learned so far.

It’s here: [HashLink native extension tutorial · HaxeFoundation/hashlink Wiki · GitHub](https://github.com/HaxeFoundation/hashlink/wiki/HashLink-native-extension-tutorial)

---

<div class="post-metadata">

### Author: ![alexjgriffith](https://avatars.discourse-cdn.com/v2/letter/a/87869e/32.png) [@alexjgriffith](https://community.haxe.org/u/alexjgriffith)
#### Post date: [May 19, 2020, 3:53am UTC](https://community.haxe.org/t/hashlink-native-extension-tutorial/2446/2 "2020-05-19T03:53:23Z")

</div>

Thanks for putting this together!! I am just starting to get to grips with haxe and heaps and could not find any examples of integrating an external c library into hashlink (apart from the undocumented engine source for mbedtls et al.)
