Simple hash table implementation

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

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 !

1 Like