AdeptLanguage / Adept

The Adept Programming Language
GNU General Public License v3.0
122 stars 9 forks source link

Build speed with the `adept` command #296

Closed ghost closed 10 months ago

ghost commented 10 months ago

The adept command without arguments builds the whole project. I wonder if the build is parallel or if it compiles each source file sequentially. Or does it parse all the source files at once?

IsaacShelton commented 10 months ago

It lexes/parses each source file in the order they are first encountered during importing. The compilation then happens on the whole project as a single unit.

After that, is LLVM codegen and the linker (which together take around 95% of the build time)