zmiimz / FutureOfFortran

Personal notes about Fortran programming language
13 stars 1 forks source link

Red and Black tree in Fortran #1

Open ivan-pi opened 3 years ago

ivan-pi commented 3 years ago

Hello @zmiimz,

thank you for this nice post-up concerning the state of Fortran. I think many Fortran users can relate to the issues you raise. Perhaps, if I can find the time, I will write a "reaction" essay. For now I just wanted to bring your attention to the book Algorithms and Data Structures in F and Fortran by Robin A. Vowels: http://pages.swcp.com/~walt/fortran_store/Html/Info/books/adsff.html

This book contains a complete implementation of a Red-Black tree algorithm including insertion, rotation, tree rebalancing and traversal. The code is available from the website linked above (see CHAPT3/FIG3-14.F; the license however, seems to be quite restrictive). Unfortunately, the books seems to be out of print. I could not find a copy for sale on Amazon or other sites. It is possible to find a digital scanned version online (you can contact me at my email address if you want it).

zmiimz commented 3 years ago

Thanks for this book reference, but unfortunately it doesn't help me now (I am rather observer and don't use Fortran anymore) and doesn't change statements of my notes in general here.

Fortran is a dying language: tiobe-index That is a fact. The only hope that younger developers like you can shed more light on this dark and sad topic and change the situation.