# Simple hash table implementation

**URL:** <https://fortran-lang.discourse.group/t/simple-hash-table-implementation/844>\
**Category:** Help\
**Created:** [March 16, 2021, 9:13am UTC](https://fortran-lang.discourse.group/t/simple-hash-table-implementation/844 "2021-03-16T09:13:06Z")\
**Posts on this page:** 1\
**Showing post:** 30

<div class="post-metadata">

**Author:** ![Ashok](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@Ashok](https://fortran-lang.discourse.group/u/Ashok)\
**Post date:** [June 8, 2021, 6:53am UTC](https://fortran-lang.discourse.group/t/simple-hash-table-implementation/844/30 "2021-06-08T06:53:30Z")

</div>

Dear @certik ,  
There used to be person with profile name “difference scheme” who is a strong supporter of Fortran OO’s superiority. What happened to his profile and posts ? He posted a lot on  
[https://fortran-lang.discourse.group/t/oo-capabilities-of-fortran-2018-vs-c/1076?u=ashok](https://fortran-lang.discourse.group/t/oo-capabilities-of-fortran-2018-vs-c/1076)

Moreover I have one question - forgive me if it is wrong.  
Why are we trying to implement data structures like Hash tables, Trees … in Fortran? These are already implemented in C and can be easily implemented in C. Why to do them in Fortran, when Fortran is interoperable with C? Why not exploit that feature (interop with C) for data structures and algorithms in stdlib ? If python people thought they would code entire Numpy and Scipy in Python, now there would be none of them. So why not code the data structures in C and provide a Fortran interface.

I am sorry if my idea is a flawed one - but just expressing my thoughts. May be I am not getting interop with C around my head !

---

_[View the full topic](https://fortran-lang.discourse.group/t/simple-hash-table-implementation/844)._
