Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modular compilation in JuvixTree #3324

Open
wants to merge 24 commits into
base: main
Choose a base branch
from
Open

Modular compilation in JuvixTree #3324

wants to merge 24 commits into from

Conversation

lukaszcz
Copy link
Collaborator

@lukaszcz lukaszcz commented Feb 10, 2025

  • Adds the Pipeline.Modular module which implements modularization in the backend pipeline (currently only Core.Stripped and Tree). The backend modularization framework is separate from the existing modularization framework up to Core. The intermediate representation of each module is saved on disk, but currently the process is not parallelized (it's probably not worth it -- the processing after Core is relatively cheap).
  • The function runIOEitherModular in Pipeline.Modular.Run can be used to run the pipeline from source using both modularization frameworks (up to Core and backend).
  • Currently, the backend modularization framework is used only for dev compile tree and the compilation pipeline tests (source to native/WASM).

@lukaszcz lukaszcz added enhancement New feature or request refactor core Related to JuvixCore labels Feb 10, 2025
@lukaszcz lukaszcz added this to the 0.6.10 milestone Feb 10, 2025
@lukaszcz lukaszcz self-assigned this Feb 10, 2025
@lukaszcz lukaszcz changed the title Modular compilation for Core.Stripped Modular compilation in JuvixTree Feb 10, 2025
@lukaszcz lukaszcz force-pushed the modular-stripped branch 6 times, most recently from 1b38d92 to 603a4b5 Compare February 17, 2025 16:45
@lukaszcz lukaszcz force-pushed the modular-stripped branch 3 times, most recently from 0b4886a to ca7a667 Compare February 21, 2025 15:08
@lukaszcz lukaszcz marked this pull request as ready for review February 24, 2025 10:10
@lukaszcz lukaszcz requested review from janmasrovira and paulcadman and removed request for janmasrovira February 24, 2025 10:10
Copy link
Collaborator

@janmasrovira janmasrovira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

review in progress

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Related to JuvixCore enhancement New feature or request refactor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants