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

source generator for unity like memorypack? #30

Open
HiWill opened this issue Oct 8, 2023 · 1 comment
Open

source generator for unity like memorypack? #30

HiWill opened this issue Oct 8, 2023 · 1 comment
Labels
question Further information is requested

Comments

@HiWill
Copy link

HiWill commented Oct 8, 2023

hi,first I need to say arch is very very performance and convenient to use!
memorypack from cysharp support source generator for unity,so may arch also support it. and it is also good for sterilization!

@genaray genaray added the question Further information is requested label Oct 8, 2023
@genaray
Copy link
Owner

genaray commented Oct 8, 2023

Thanks!

Well i have choosen Messagepack over Memorypack because Memorypack requires a lot for sourcegen.
All arch internal structs and classes would have to be annotated with the attributes and thus memorypack would have to reside directly in arch instead of it being an extension. This would only unnecessarily bloat arch itself and defeat the core aspect of arch. Arch itself is supposed to be bare-minimum.

Messagepack is only a little slower than memorypack, so I would find it unnecessary to upgrade to it. If you still want to have memorypack, you can easily fork arch and add that yourself ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants