The hosting APIs provide a way to get a delegate for runtime functionality. There is a delegate for loading an assembly in an isolated context and getting a function pointer(hdt_load_assembly_and_get_function_pointer) and one for just getting a function pointer (hdt_get_function_pointer), but there is no way to simply load an assembly.
get_function_pointer takes in a void* load_context (which currently must be null, indicating the default ALC). We should add an equivalent for just loading an assembly (for example, load_assembly) with a void* load_context.
The most immediate concern is getting into the default ALC, so we could start with limiting the implementation to that case (like we currently do in get_function_pointer).
Related: