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

Module rework #53

Merged
merged 6 commits into from
Jul 10, 2018
Merged

Module rework #53

merged 6 commits into from
Jul 10, 2018

Conversation

vifino
Copy link
Member

@vifino vifino commented Jul 10, 2018

This is a WIP PR implementing some of #51.

It introduces module loaders as modules, while keeping the main loader in the core, as it's silly otherwise. It's a "module", though. Will probably always occupy slot 0.

  • Replace module abstractions with better managing ones.
  • Introduce mod module type: Module loaders.
  • Introduce module loader registration and functions using it.
  • Refactor old module loader into mod module, always compiled in.

This now uses a seperate mod lib, now we probably have a better chance of trying to implement dynamic loading, unloading and reloading.
@vifino vifino added the enhancement Enhancement suggestions to the project. label Jul 10, 2018
@vifino vifino requested a review from 20kdc July 10, 2018 15:18
@vifino vifino self-assigned this Jul 10, 2018
@vifino
Copy link
Member Author

vifino commented Jul 10, 2018

Merging this as it's pretty important.

This fixes kslink/static compilation.

@vifino vifino merged commit d26eb2a into master Jul 10, 2018
@vifino vifino deleted the module-rework branch July 18, 2018 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement suggestions to the project.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants