codee-com/open-catalog

[Fortran] submodules

Open

#36 建立於 2024年9月19日

在 GitHub 查看
 (1 留言) (1 反應) (0 負責人)Fortran (12 fork)auto 404
Fortrangood first issuenew check

倉庫指標

Star
 (105 star)
PR 合併指標
 (PR 指標待抓取)

描述

Let's say that I'm editing a module that is very deep in the code base. For example, I might want to experiment with different ways of factorizing a matrix, without changing the signature of the subroutine. Clicking build in Visual Studio will re-compile the module that I'm editing, and then every other that uses it. It's the so-called "compilation cascade", which is a major waste of time. To fix this behavior, the module should be converted to a sub-module, which is the Fortran equivalent of header files.

It would be nice if codee could split the module into sub-module and interface automatically. See also the example on fortran-lang.

貢獻者指南