AdeptLanguage / Adept

The Adept Programming Language
GNU General Public License v3.0
120 stars 8 forks source link

Build speed with the `adept` command #296

Closed ghost closed 6 months ago

ghost commented 6 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 6 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)