Hacker News new | past | comments | ask | show | jobs | submit login

    Fortrash
Why the hate? One could misuse any tool, but that doesn't make the tool bad at what it does.



I don't disagree. Fortran is brilliant at what it does.... but I find many of its object oriented features to be very obtuse compared to C and C++. The way it uses pointers drives me insane. Building certain datastructures in fortran just takes too much time.

I kind of wish I could find a good way to make Fortran and C play nicely together. (There are some compiler dependent peculiarities that I have encountered that make it difficult.)

Fortran's intrisics and file handling capabilities make it indispensable in the work I do.... So it is really a love hate relationship.


> I kind of wish I could find a good way to make Fortran and C play nicely together.

Fortran can call C and vice-versa, at least since Fortran 2003 there is a standard way to call C.


Oh yeah? I have looked and looked for it but been unable to find any reference to how to do so. Would you mind linking a resource to me?

edit: Nevermind I found a few. When I looked for this a few years ago I just kept hitting dead ends.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: