Skip to content

Mason and dynamic loading: do we need a new kind of a Mason project? #28260

@e-kayrakli

Description

@e-kayrakli

In a world where we can dynamically load Chapel libraries into Chapel applications, what can Mason do to help navigate the landscape?

Say, I have an application. And some dynamic plugins that I may need at execution time dynamically. In that scenario, plugins can't exist on their own. Does Mason have a way to express that today?

  • Are plugins part of a Mason application? I hardly think that's a good idea, as that would make third-party plugins nearly impossible unless I am missing something.
  • We can make plugins libraries, but I feel like a plugin is more specific than a library, or maybe a specific kind of a library.
  • Do we need a new kind of mason project on top of application and library, like plugin. A mason project like that could specify the mason application it is written for. Internal implementation-wise, I don't think it will be much different than library, though. It will be only to prevent a plugin to be pulled in for an application that it is not designed for.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions