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

Make Publisher and SDK trimmer friendly / support Native AOT/WASM #2366

Open
quality-leftovers opened this issue Nov 21, 2024 · 2 comments
Open
Labels
feature request New feature or request
Milestone

Comments

@quality-leftovers
Copy link
Contributor

Is your feature request related to a problem? Please describe.
To interact with the publisher API we are using the publisher models and the Furly.Extensions library so we don't have to maintain the models ourselves (mostly because Furly supports Variant)

In the future we'd like to be able to trim our clients to reduce memory consumption and application sizes, this is mostly blocked by our use of Furly.Extensions and the Variant type not being trim friendly.

Describe the solution you'd like
Json serialization / deserialization of publisher models should be trimmable. This would allow both end users and possibly the opc-publisher itself to compile .NET application with (partial) trimming reducing memory footprint and therefore hardware requirements / cost.

Describe alternatives you've considered
n.a.

Additional context
n.a.

@marcschier marcschier added this to the Future milestone Nov 22, 2024
@marcschier marcschier added the feature request New feature or request label Nov 22, 2024
@marcschier marcschier changed the title Make Furly Extensions trimmer friendly Make Publisher and SDK trimmer friendly / support Native AOT/WASM Nov 22, 2024
@marcschier
Copy link
Collaborator

Changed the title to what I would like to do. Problem at this point is more timeline.

@quality-leftovers
Copy link
Contributor Author

Thanks for considering it.

New title is much better since Publisher has the whole OPCFouncation ComplexTypes dynamic type/assembly generation and will probably only be partially trimmable for a long time anyway.

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

No branches or pull requests

2 participants