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

Create platform specific DLLs internally #2

Closed
badcel opened this issue Oct 5, 2022 · 0 comments · Fixed by #95
Closed

Create platform specific DLLs internally #2

badcel opened this issue Oct 5, 2022 · 0 comments · Fixed by #95
Labels
enhancement New feature or request

Comments

@badcel
Copy link
Owner

badcel commented Oct 5, 2022

Currently during runtime the operating system is checked for several string operations to decide how to decode a pointer of w_char_t data as the size of w_char_t is different between Linux / Mac and Windows.

It is possible to include runtime assemblies in nuget which are separted by runtime and only used during runtime. If the build process would generate a private DLL containing the code for a specific platform to read w_char_t data the operating system check would not need to happen during runtime but while loading the nuget the correct assembly with the correct code would be loaded and no check would need to happen.

See:

@badcel badcel added the enhancement New feature or request label Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant