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.

贡献者指南