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

Static msg types using msgspec #311

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Static msg types using msgspec #311

wants to merge 2 commits into from

Conversation

goodboy
Copy link
Owner

@goodboy goodboy commented Jul 7, 2022

WIP typed msg layer using msgspec.

Relates to:

Further motivation for the approach being taken is hashed out somewhat in jcrist/msgspec#140

still needs lootttsa work..

goodboy added a commit to pikers/piker that referenced this pull request Jul 7, 2022
Syncs with goodboy/tractor#311
which is nowhere near ready and this approach didn't end up being
as straight forward as hoped. We're going to need a top level
`Msg`-boxing type/protocol in `tractor` first...
@goodboy goodboy mentioned this pull request Jul 8, 2022
3 tasks
goodboy added a commit to pikers/piker that referenced this pull request Jul 8, 2022
Syncs with goodboy/tractor#311
which is nowhere near ready and this approach didn't end up being
as straight forward as hoped. We're going to need a top level
`Msg`-boxing type/protocol in `tractor` first...
@goodboy goodboy force-pushed the signint_saviour branch 4 times, most recently from 8cd8eb5 to 54af0d4 Compare July 15, 2022 19:24
@goodboy goodboy force-pushed the signint_saviour branch 5 times, most recently from d1ddfa4 to 2d387f2 Compare August 2, 2022 16:18
Base automatically changed from signint_saviour to master August 3, 2022 13:26
@goodboy
Copy link
Owner Author

goodboy commented Aug 23, 2022

Needs a rebase onto master.

The greasy details are strewn throughout a `msgspec` issue:
jcrist/msgspec#140

and specifically this code was mostly written as part of POC example in
this comment:
jcrist/msgspec#140 (comment)

This work obviously pertains to our desire and prep for typed messaging
and capabilities aware msg-oriented-protocols in #196, caps sec nods in

I added a "wants to have" method to `Context` showing how I think we
could offer a pretty neat msg-type-set-as-capability-for-protocol
system.
@goodboy goodboy added enhancement New feature or request discussion experiment Exploratory design and testing IPC and transport messaging messaging patterns and protocols labels May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion enhancement New feature or request experiment Exploratory design and testing IPC and transport messaging messaging patterns and protocols
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant