Skip to content

Conversation

@Ice3man543
Copy link

Issue #, if available:
Closes #50

Description of changes:
Added Open and LoadWithCompiled to Host interface methods.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

service.GoName,
))

// Open and LoadWithCompiled Functions
Copy link
Contributor

Choose a reason for hiding this comment

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

@Ice3man543 , it's seem to applicable approach, but for common functionality Load can be combination of the Open and LoadWithCompile

Also cache option recommenced by @codefromthecrypt can be validated to choose this approach or compilation cache.

Copy link
Author

Choose a reason for hiding this comment

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

I've tried the cache approach and it's working fine. Closing!

Copy link
Contributor

Choose a reason for hiding this comment

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

I recently came to more or less same issue, could you please share some links or docs on what is "cache approach" in context of go-plugin that you refer to?

@Ice3man543 Ice3man543 closed this May 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow using CompiledModule from previous call instead of loading from disk

3 participants