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

Consider alternate serialization method #3

Closed
TheHashTableSlasher opened this issue May 18, 2020 · 1 comment
Closed

Consider alternate serialization method #3

TheHashTableSlasher opened this issue May 18, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request matlab client Relates to the Matlab client code specifically

Comments

@TheHashTableSlasher
Copy link
Collaborator

Currently, data is marshalled via Matlab's undocumented getByteStreamFromArray and getArrayFromByteStream. Although this is the fastest method for pure Matlab clients, other types of clients (i.e. a Python binding) may exist in the future, (and relying on undocumented functions is as stable and future-proof as a box of moldy dynamite) so an open standard would be preferable. Ideally, the server would send a signal to continue using getByteStreamFromArray/getArrayFromByteStream until a non-Matlab client connects, at which point the alternate marshaller is used.

@TheHashTableSlasher TheHashTableSlasher added enhancement New feature or request server Relates to the server code matlab client Relates to the Matlab client code specifically and removed server Relates to the server code labels May 18, 2020
@TheHashTableSlasher TheHashTableSlasher self-assigned this May 21, 2020
@TheHashTableSlasher
Copy link
Collaborator Author

I can't find a suitable method that preserves matrix types, so I'm just going to make one really quickly. If something else pops up that appears suitable, we can use it later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request matlab client Relates to the Matlab client code specifically
Projects
None yet
Development

No branches or pull requests

1 participant