Memory-safe C code
Memory-safe C code
Posted Nov 17, 2025 12:11 UTC (Mon) by farnz (subscriber, #17727)In reply to: Memory-safe C code by pizza
Parent article: Rust in Android: move fast and fix things (Google Security Blog)
I think FORTRAN (and Fortran) are a good example of where things can go, yes.
Some people still use Fortran in niches where it's extremely productive, but then link it against other languages (I use, for example, a program that has a mix of Qt/C++ and Fortran, where the Fortran is doing some highly optimized number crunching, and the C++ is doing the UI and system interface).
Similarly, there's plenty of legacy FORTRAN out there that isn't going to get rewritten, because it does its job well, and it's been in use for long enough that all user-visible bugs have been fixed by now. Rewriting this would just risk introducing user-visible bugs for no benefit.
But outside those two categories (niche it excels in, legacy code), it's not really being used much. You'd not normally see a new project started in FORTRAN (or even Fortran 90 or later), and if parts of the code are problematic, they'll probably be replaced with code in a new language (Julia, Python with numpy, or others) instead of putting a lot of time and effort into fixing the FORTRAN codebase, but why expend effort for no gain?
The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:
Note: you can avoid this step in the future by logging into your LWN account.
